Commit Graph

283 Commits

Author SHA1 Message Date
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
Haoqun Jiang
d60657af6d v3.2.0 2018-11-28 02:50:01 +08:00
Haoqun Jiang
6ef72cd852 chore: pre release sync 2018-11-28 02:49:46 +08:00
Haoqun Jiang
f6ea6f928c chore: update deps 2018-11-28 02:18:37 +08:00
Haoqun Jiang
cd7a5d0b52 Publish
- @vue/cli-plugin-e2e-cypress@3.1.2
 - @vue/cli-plugin-eslint@3.1.5
 - @vue/cli-plugin-pwa@3.1.2
 - @vue/cli-service-global@3.1.3
 - @vue/cli-service@3.1.4
 - @vue/cli-ui-addon-webpack@3.1.2
 - @vue/cli-ui-addon-widgets@3.1.2
 - @vue/cli-ui@3.1.2
 - @vue/cli@3.1.2
 - @vue/eslint-config-prettier@4.0.1
 - vue-cli-version-marker@3.1.1
2018-11-12 16:20:18 +08:00
Haoqun Jiang
077343ba6a fix: specify eslintPath for eslint-loader
fixes #2924
2018-11-12 15:21:42 +08:00
Haoqun Jiang
662b1d38b9 test: fix eslint test in CI environment 2018-11-06 19:49:52 +08:00
Haoqun Jiang
b5e4cc213f Publish
- @vue/cli-init@3.1.1
 - @vue/cli-plugin-e2e-cypress@3.1.1
 - @vue/cli-plugin-e2e-nightwatch@3.1.1
 - @vue/cli-plugin-eslint@3.1.4
 - @vue/cli-plugin-pwa@3.1.1
 - @vue/cli-plugin-typescript@3.1.1
 - @vue/cli-plugin-unit-jest@3.1.1
 - @vue/cli-plugin-unit-mocha@3.1.1
 - @vue/cli-service-global@3.1.2
 - @vue/cli-service@3.1.2
 - @vue/cli-shared-utils@3.1.1
 - @vue/cli-test-utils@3.1.1
 - @vue/cli-ui-addon-webpack@3.1.1
 - @vue/cli-ui-addon-widgets@3.1.1
 - @vue/cli-ui@3.1.1
 - @vue/cli-upgrade@3.1.1
 - @vue/cli@3.1.1
 - @vue/eslint-config-typescript@3.1.1
2018-11-02 22:53:49 +08:00
Haoqun Jiang
becde3056b fix: should fallback to local eslint, fixes instant prototyping
closes #2866
2018-11-02 22:48:11 +08:00
Haoqun Jiang
b1bba2fbae test: fix eslint tests 2018-11-01 14:16:19 +08:00
Haoqun Jiang
b7f4589ea7 v3.1.3 2018-10-31 19:52:17 +08:00
Haoqun Jiang
0149444e45 fix: add cwd path prefix to globby patterns 2018-10-31 19:50:24 +08:00
Haoqun Jiang
f9b332881c v3.1.2 2018-10-31 19:25:07 +08:00
Haoqun Jiang
ccc146b0fa fix: check if glob patterns matches any files before linting
closes #2854
closes #2860
2018-10-31 19:22:53 +08:00
Haoqun Jiang
3829ebeea9 v3.1.1 2018-10-31 11:57:39 +08:00
Haoqun Jiang
353edaa302 fix: also add babel-eslint to the generated package.json
In case babel-eslint is not hoisted.

This may happen in yarn, due to the following bugs:

- https://github.com/yarnpkg/yarn/issues/5807
- https://github.com/yarnpkg/yarn/issues/5823
2018-10-31 11:56:59 +08:00
Haoqun Jiang
782afeff73 v3.1.0 2018-10-31 02:11:23 +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
7ccf7b37fa feat: update to ESLint v5
closes #2322
closes #2704
2018-10-30 20:58:37 +08:00
Michał Sajnóg
c50051262f fix(cli-plugin-eslint): Resolve proper ESLint package (#2560) 2018-10-29 19:15:46 +08:00
Haoqun Jiang
8a54ef60dc chore: upgrade deps (#2642)
closes #2376


* chore: update deps

* fix: remove extraneous require

* fix: force @babel/core resolution to be ^7.0.0

Previously it was interfered by vue-apollo & vuepress 0.14

* fix: sync deps

* chore: update yarn.lock
2018-10-20 21:29:17 +08:00
Haoqun Jiang
b623b78b8e ci: bump test timeouts 2018-10-11 00:45:18 +08:00