Haoqun Jiang
fc3e0a30b5
chore: plugins should list @vue/cli-service in peerDependencies ( #4365 )
2019-07-29 10:45:12 +08:00
Haoqun Jiang
575349982b
v4.0.0-beta.1
2019-07-25 10:40:03 +08:00
Haoqun Jiang
f69a80664f
test: add test for #4347
2019-07-25 09:59:18 +08:00
李瑞丰
80c20db703
fix(eslint-generator): add ts file check to lint-staged ( #4347 )
...
fix #3947
2019-07-25 09:54:47 +08:00
Haoqun Jiang
00996ba7cf
v4.0.0-beta.0
2019-07-22 22:23:01 +08:00
Haoqun Jiang
6207dd97c3
feat(eslint-generator): upgrade @vue/eslint-config-prettier to v5.0.0 ( #4329 )
...
This only affects newly generated projects so it's not considered a
breaking change.
Fixes #4310
2019-07-22 20:45:52 +08:00
Pavan Kumar Sunkara
544faee81e
feat: more flexible hook system for generators ( #2337 )
2019-07-21 19:59:18 +08:00
Haoqun Jiang
615ae0f5b7
v4.0.0-alpha.5
2019-07-14 23:12:42 +08:00
Haoqun Jiang
bd82649a64
v4.0.0-alpha.4
2019-07-06 19:51:01 +08:00
Haoqun Jiang
0ba505ca02
fix: fix eslint path resolution in vue serve ( #4246 )
...
fixes #4237
2019-07-06 17:10:02 +08:00
Haoqun Jiang
8b8bb99316
feat: allow omitting scope prefix for official plugins on vue add ( #4219 )
2019-07-06 17:09:38 +08:00
Min ho Kim
c0aa2bb310
Fix typos ( #4241 )
2019-07-06 07:09:29 +03:00
Haoqun Jiang
300d2aa2d4
v4.0.0-alpha.3
2019-07-04 09:08:42 +08:00
Haoqun Jiang
992fe0790d
fix: use module directory instead of entry file for eslintPath ( #4233 )
...
fixes #4231
2019-07-04 08:58:34 +08:00
Haoqun Jiang
0c2ebc4ae2
v4.0.0-alpha.2
2019-07-03 15:42:06 +08:00
Haoqun Jiang
271bf395df
chore: move yorkie from cli-service to plugin-eslint & plugin-typescript ( #4153 )
...
It is because yorkie is not used anywhere in @vue/cli-service, but only
included for the `lintOn: 'commit'` feature of eslint & typescript
plugin.
Also, a lot of global installation issues are caused by the yorkie
postinstall script. Moving it out of the dependency chain of `@vue/cli`
mitigates such issues.
2019-06-18 23:28:26 +08:00
Haoqun Jiang
8fa6fa694a
v4.0.0-alpha.1
2019-05-25 17:48:40 +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
Haoqun Jiang
63f501a2ca
v4.0.0-alpha.0
2019-05-01 00:19:37 +08:00
Haoqun Jiang
b70e0f6970
feat!: require ESLint as a peer dependency ( #3852 )
...
BREAKING CHANGE:
Users will have to explicitly list their required ESLint version in the
project's package.json.
The major concern behind this change is that ESLint release schedule is
never aligned with Vue CLI's.
See https://eslint.org/blog/2019/04/eslint-v6.0.0-alpha.0-released
So even if we upgraded our built-in ESLint version to v5, we'll see a
new major release of ESLint in the coming months. Meanwhile we can't
easily upgrade the built-in ESLint version again without bumping our
major version number. This could become a maintenance nightmare.
2019-04-30 10:18:03 +08:00
Haoqun Jiang
6cf29060b3
feat: use ESLint v5 by default everywhere ( #3775 )
...
BREAKING CHANGE: may cause old projects' linting fail
(those scaffolded with Vue CLI 3.0.x).
2019-04-30 10:17:15 +08:00
Haoqun Jiang
0dbfa5a0bf
v3.7.0
2019-04-28 14:21:35 +08:00
Haoqun Jiang
99a06d1758
v3.6.0
2019-04-13 23:56:37 +08:00
Haoqun Jiang
cc66247950
chore: update deps
2019-04-11 14:49:12 +08:00
Thorsten Lünborg
a6d31662cf
feat: add 3rd option to lintOnSave to support 'default' behaviour ( fix #3552 ) ( #3572 )
2019-04-01 19:40:18 +08:00
Haoqun Jiang
0b363bec49
v3.5.1
2019-03-12 16:03:53 +08:00
Haoqun Jiang
65eec48581
v3.5.0
2019-03-08 14:40:48 +08:00
Fengyuan Chen
f2a6db2337
refactor(cli-plugin-eslint): merge lint-staged config ( #3487 )
2019-02-28 14:40:06 +08:00
Haoqun Jiang
5306c3787d
chore: update deps
2019-02-25 01:05:44 +08:00
Haoqun Jiang
0c3f6183a8
v3.4.1
2019-02-20 14:48:28 +08:00
Haoqun Jiang
fccb1143e5
chore: update deps
2019-02-18 15:20:13 +08:00
Haoqun Jiang
114313cc2f
fix(cli-plugin-eslint): make eslint deps optional ( #3068 )
...
1. In @vue/cli-plugin-eslint 3.1.0+, eslint will be explicitly added to
the project's package.json, so it is **optional**.
2. `optionalDependencies` will still be installed by npm by default,
just no longer cause installation to fail when error happens.
3. ESLint v4 did cause weird errors sometimes, like `npm WARN
ajv-keywords@2.1.1 requires a peer of ajv@^5.0.0 but none is installed.`
Though this warning never caused any errors on my machine, I think it's
good to make the plugin fail-safe.
2019-02-18 00:02:32 +08:00
Haoqun Jiang
f819f5154f
fix: respect command line --ignore-pattern option
2019-02-17 19:09:50 +08:00
Damian Stasik
87f9a29823
chore: add repository.directory field to each package.json to specify where each package lives in a monorepo ( #3397 )
2019-02-07 17:35:23 +08:00
Haoqun Jiang
22232df781
v3.4.0
2019-02-01 02:43:05 +08:00
Haoqun Jiang
49a2c72e0b
chore: @vue/eslint-config-typescript@4.0.0
2019-02-01 02:31:11 +08:00
Haoqun Jiang
6e5e1170bf
fix: add webpack to plugins' dependencies, fix yarn peer dep warnings
2019-02-01 02:25:57 +08:00
Haoqun Jiang
9a9a70714f
chore: update deps
2019-02-01 01:21:47 +08:00
Armano
189ea54402
feat: update eslint-config-typescript to use @typescript-eslint ( #3359 )
2019-01-30 13:51:37 +08:00
Haoqun Jiang
2b6dba3110
feat: add --no-fix-warnings option ( #3307 )
2019-01-22 00:29:57 +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
5937a67a48
v3.3.0
2019-01-08 12:02:58 +08:00
Haoqun Jiang
b30e2b779e
v3.2.2
2018-12-30 21:05:48 +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
e3ca74e1d2
chore: update dependencies
2018-12-14 19:28:41 +08:00
Haoqun Jiang
7bb36ed972
chore: use stable release of eslint-plugin-vue v5
2018-12-13 18:11:03 +08:00
Haoqun Jiang
79eb41fa9f
v3.2.1
2018-11-28 03:02:25 +08:00
Haoqun Jiang
f2bddd6556
fix: fix config versions
2018-11-28 02:59:39 +08:00