Commit Graph

40 Commits

Author SHA1 Message Date
Haoqun Jiang 85c9cbfeda fix: fix eslint not found error in vue serve command (#4728) 2019-10-21 17:19:56 +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 992fe0790d fix: use module directory instead of entry file for eslintPath (#4233)
fixes #4231
2019-07-04 08:58:34 +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
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 2b6dba3110 feat: add --no-fix-warnings option (#3307) 2019-01-22 00:29:57 +08:00
Haoqun Jiang 077343ba6a fix: specify eslintPath for eslint-loader
fixes #2924
2018-11-12 15:21:42 +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 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 47a28e0e24 fix: plugin sub node_module directory should have higher priority in resolveLoader.modules
in case of interference of unwanted top level dependency hoisting
2018-09-29 01:44:37 +08:00
Haoqun Jiang fed948a738 fix: also look up loaders in local node_modules in case deps are not hoisted
closes #2599
2018-09-27 21:02:45 +08:00
Evan You d96a794003 fix(eslint): always emit error when lintOnSave === error + improve docs
ref #2162
2018-08-11 15:38:43 -04:00
Evan You 9846cd520c fix: fix caching dependency (close #1384) 2018-05-29 09:29:18 -04:00
Evan You ff8acd1b55 refactor: caching identifier generation 2018-05-28 14:47:01 -04:00
Evan You ff0f97b50b feat(eslint): enable caching 2018-05-18 23:46:10 -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
JK ab877a23cd feat(eslint): add --max-warnings and --max-errors for cli-plugin-eslint (#1289)
close #1268
2018-05-18 18:05:55 -04:00
Evan You f5c0f58673 feat: upgrade to vue-loader 15
BREAKING CHANGE: the "vueLoader" option has been removed. To modify vue-loader
options, use chainWebpack then `config.module.rule(vue).use(vue-loader).tap()`.
vue-loader has been upgraded to v15 and expects different options from v14.
2018-05-04 18:58:11 -04:00
Evan You da4d0b2e2a feat: relex transpile includes + new transpileDependencies option
BREAKING CHANGE: To include a dependency for Babel transpilation, tapping
babel-loader and adding .include() will no longer work. Use the new
transpileDependencies option instead.
2018-05-03 18:18:27 -04:00
Evan You 3d294588a7 fix: include test -> tests for eslint-loader 2018-04-26 22:53:45 -04:00
Evan You 00ec67bc35 chore: remove unnecessary log 2018-02-28 17:22:48 -05:00
Evan You 6e4870c6a1 chore: bump deps & fix tests 2018-02-28 17:08:12 -05:00
Evan You 9f5d0b9628 fix: fix eslint-loader for TypeScript 2018-02-16 11:02:15 +01:00
Evan You 9040df84cb feat: lintOnSave no longer causes compilation to fail
close #817
2018-02-12 16:24:28 -05:00
Evan You dd04add39e feat: support using ESLint to lint TypeScript 2018-02-07 15:46:59 -05:00
Evan You 70939ef2ad chore: fix lint command description 2018-02-02 01:38:42 -05:00
Evan You 367b78b08c fix: more global resolve fixes + better error message for missing loaders 2018-01-25 22:35:18 -05:00
Evan You 8f0b52faa8 fix: resolve for global service 2018-01-25 19:28:02 -05:00
Evan You 52b587e8f6 feat: make tslint work for vue files 2018-01-11 18:07:50 -05:00
Evan You 4c42b333b9 do not fix on save 2018-01-07 18:39:01 -05:00
Evan You 7338c6f6c7 auto init git repo 2018-01-01 11:12:54 -05:00
Evan You 3d52588168 lint after create 2018-01-01 01:23:00 -05:00
Evan You 5bd5301cbe lint prompts 2018-01-01 00:52:22 -05:00
Evan You 6259b4fb56 lint on save 2018-01-01 00:07:48 -05:00
Evan You 389b8e6221 tweak lint output 2017-12-31 20:18:58 -05:00
Evan You 2817b7e03a fix parserOptions 2017-12-31 19:59:15 -05:00
Evan You 8f84396337 wip: lint 2017-12-31 19:54:50 -05:00
Evan You 557a25a3d7 wip: lint 2017-12-31 16:18:41 -05:00
Evan You 79cfab8edb refactor: adjust generation strategy 2017-12-28 22:10:32 -05:00