Haoqun Jiang
36c6c2e8e5
fix: fix severity config in ui ( #5242 )
...
* fix: fix severity config in ui
closes #5175
* test: update test
2020-03-19 16:44:16 +08:00
Haoqun Jiang
1b64ff8464
fix: fix eslint errors for typescript + e2e-nightwatch setup
2020-02-05 17:51:50 +08:00
Haoqun Jiang
45013906de
test: uncomment the airbnb eslint migrator test
2020-02-04 20:04:20 +08:00
Haoqun Jiang
103d0f125f
test: skip the eslint migrator test that constantly times out for now
2020-01-27 21:23:44 +08:00
Haoqun Jiang
be06858bc6
test: remove .only
2020-01-27 20:03:02 +08:00
Haoqun Jiang
a468abfa6c
feat: implement a migrator to upgrade to eslint 6 ( #5085 )
...
* refactor: extract deps & config logic to separate files
* feat: implement a migrator to upgrade to eslint 6
* fix: add required deps for eslint v4
* test: move migrator tests to each standalone plugins
* refactor: use spread operator instead of Object.assign
2020-01-27 14:00:16 +08:00
Haoqun Jiang
0f377bd31d
feat: upgrade to eslint 6 ( #4933 )
...
* feat: scaffold projects with eslint 6
* style: eslint fix
* refactor: do not use hard-coded ecmaVersion, use babel-eslint for now
* fix: upgrade to @vue/eslint-config-standard
* style: continue fix lint errors
* chore: upgrade to eslint-plugin-vue@^6.1.2
* refactor: use `ecmaVersion: 2020` for dynamic import syntax support
* test: fix baseESLintConfig
* chore: also update yarn.lock to fix CI caches
* chore: update lockfile again, fix babel regressions
* test: nightwatch tests should fail if lint errors occur
* chore: update the lockfile (again), fixing a bug in airbnb config
2020-01-14 10:13:54 +08:00
Haoqun Jiang
945a01e41f
test: bump jest timeout, since @vue/eslint-config-* are now externalized
2019-08-03 15:00:37 +08:00
Haoqun Jiang
f69a80664f
test: add test for #4347
2019-07-25 09:59:18 +08:00
Haoqun Jiang
15b5c8d4d7
chore!: change default value of lintOnSave option ( #3975 )
...
BREAKING CHANGE:
See https://github.com/vuejs/vue-cli/pull/3572
2019-05-14 11:20:20 +08:00
Fengyuan Chen
f2a6db2337
refactor(cli-plugin-eslint): merge lint-staged config ( #3487 )
2019-02-28 14:40:06 +08:00
Armano
189ea54402
feat: update eslint-config-typescript to use @typescript-eslint ( #3359 )
2019-01-30 13:51:37 +08:00
Haoqun Jiang
febd386488
fix: only add custom ignorePattern when no .eslintignore exists ( #3325 )
...
closes #3243
2019-01-21 20:50:24 +08:00
Haoqun Jiang
90c27cf4f9
test: increase timeout, as appveyor is being very slow recently
2019-01-16 02:20:09 +08:00
Haoqun Jiang
90d387f650
fix: fix eslint cwd confusion during onCreateComplete hook execution ( #3212 )
...
* fix: fix eslint cwd confusion during onCreateComplete hook execution
fixes #2554
fixes #3142
* fix: do not mock process.cwd during invoking
2018-12-30 17:45:07 +08:00
Haoqun Jiang
d6f6098ef7
fix: when lint default paths, don't try to lint non-existent or ignored paths
...
fixes #3167
2018-12-27 01:21:33 +08:00
Haoqun Jiang
662b1d38b9
test: fix eslint test in CI environment
2018-11-06 19:49:52 +08:00
Haoqun Jiang
b1bba2fbae
test: fix eslint tests
2018-11-01 14:16:19 +08:00
Haoqun Jiang
6e5cf0ec7c
feat: generate .editorconfig file for each specific eslint config
...
closes #905
2018-10-30 21:11:25 +08:00
Haoqun Jiang
b623b78b8e
ci: bump test timeouts
2018-10-11 00:45:18 +08:00
Chris Fritz
1e10161e5d
fix(cli-plugin-eslint): remove base rules from ui ( #2029 )
2018-08-01 16:20:12 +02:00
Michał Sajnóg
7953d8300f
feat: rework eslint configuration tab to display all rules ( #2008 )
...
* feat(cli-plugin-eslint): Add configuration tab
* chore(vue-cli-plugin-eslint): Add missing translations, extract UI descriptors
* fix(vue-cli-plugin-eslint): Import rules from CWD
* feat(vue-cli-plugin-eslint): Add uncategorized category, add tests
* test(vue-cli-plugin-eslint): Add missing tests
* fix(vue-cli-plugin-eslint): Escape html from rules' descriptions
* chore(vue-cli): Add --ci flag in tests
* chore(vue-cli-plugin-eslint): Remove snapshot
2018-08-01 11:40:29 +02:00
Evan You
ba43900657
refactor: add invoking flag for generators, fix eslint + ts
...
close #1972
2018-07-28 15:53:24 -04:00
Evan You
83f5f4fced
fix(eslint): ensure all config values are contained in config file
...
close #1006 , close #1313
2018-05-18 18:11:30 -04:00
Evan You
6b865dbc85
refactor: require Node 8
...
BREAKING CHANGE: @vue/cli-service and all plugins now require Node version 8+.
2018-04-30 18:35:36 -04:00
Evan You
c2aac9e4eb
refactor: merge skipGit and initialCommit options
2018-04-27 13:08:21 -04:00
Derek Henscheid
83171e4029
fix(eslint): fix --no-fix flag when linting with typescript plugin ( #1115 )
2018-04-26 15:20:07 -04:00
Evan You
3070364b60
test: bump write wait on CI
2018-02-28 18:17:12 -05:00
Evan You
6e4870c6a1
chore: bump deps & fix tests
2018-02-28 17:08:12 -05:00
Evan You
9040df84cb
feat: lintOnSave no longer causes compilation to fail
...
close #817
2018-02-12 16:24:28 -05:00
Evan You
0468022fdb
test: fix eslint related tests
2018-02-09 11:43:43 -05:00
Evan You
dd04add39e
feat: support using ESLint to lint TypeScript
2018-02-07 15:46:59 -05:00
Evan You
120d5c5256
fix: move linkBin into @vue/cli since it requires node 8
2018-01-29 22:05:31 -05:00
Evan You
c2583e4658
feat: move babel-preset and eslint-plugin as deps of plugins
2018-01-26 16:21:40 -05:00
Evan You
100c5c66e7
feat: complete prettier integration
2018-01-16 14:24:48 -05:00
Evan You
712fd580c8
await linkBin in eslint test
2018-01-11 10:07:44 -05:00
Evan You
db9be90e4a
fix executable linking on windows for real
2018-01-11 10:05:37 -05:00
Evan You
cc35923452
Revert "move all deps to dependencies instead of devDependencies"
...
This reverts commit be4bf6fd7d .
2018-01-10 14:50:39 -05:00
Evan You
be4bf6fd7d
move all deps to dependencies instead of devDependencies
2018-01-10 11:18:30 -05:00
Evan You
071beecf66
fix test symlink on windows
2018-01-10 10:58:30 -05:00
Evan You
2d0a226e96
fix eslint save on commit test
2018-01-08 23:47:29 -05:00
Evan You
4c42b333b9
do not fix on save
2018-01-07 18:39:01 -05:00
Evan You
4645ca70fc
test lint on save
2018-01-07 11:37:43 -05:00
Evan You
91b262245e
make tests work on appveyor
2018-01-07 10:02:50 -05:00
Evan You
7db29118ef
test lint on commit
2018-01-06 22:33:38 -05:00
Evan You
692f1bf13f
extract serveWithPuppeteer helper
2018-01-06 21:54:05 -05:00
Evan You
ba9c4ed080
switch to yorkie for git hook management
2018-01-06 01:10:20 -05:00
Evan You
4fb8484ce5
toContain -> toMatch
2018-01-05 18:05:41 -05:00
Evan You
4e6024b2d6
use execa for cross-platform-ness
2018-01-05 17:38:40 -05:00
Evan You
93178554e0
increase eslint test timeout
2018-01-05 13:51:56 -05:00