Commit Graph

24 Commits

Author SHA1 Message Date
Haoqun Jiang 8670997258 chore: bump js-yaml version 2021-02-23 15:58:10 +08:00
Haoqun Jiang 4378c8df26 style: replace eslint-plugin-vue-libs with standard config (#6148) 2021-01-06 14:29:12 +08:00
Binwei Fang 9136696197 feat(eslint): support eslint7 and @babel/eslint-parser (#6059)
closes #5734 
closes #5981
2020-11-20 09:10:49 +08:00
Necmettin Karakaya 5baec1fdc5 chore: fix common misspelling errors (#5694)
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
2020-08-10 01:17:01 +08:00
Haoqun Jiang 02a0e8a187 feat: vue upgrade monorepo support, --from option, and a new vue migrate --from command (#5091)
* refactor(migrator): rename `installed` to `baseVersion`

* feat: `vue upgrade --from` option and a new `vue migrate` command

* fix: fix support for `vuePlugins.resolveFrom` option

* chore: add a fixme comment

* fix: use loadModule instead of manually calculating the package.json path

This also fixes support for monorepo.
(TODO: tests)

* fix: treat `resolveFrom` as `context`, fixing edge cases

* fix: use read-pkg instead of loadModule, avoid messing up require cache

* fix: getInstalledVersion still requires `loadModule` to support monorepo
2020-01-28 16:32:35 +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 7fc0f842e8 feat!: confirm for uncommitted changes before add/invoke/upgrade (#4275) 2019-07-12 20:04:08 +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
Armano 189ea54402 feat: update eslint-config-typescript to use @typescript-eslint (#3359) 2019-01-30 13:51:37 +08:00
Evan You 6b77af600f ci: fix invoke spec 2018-07-28 17:03:02 -04:00
Evan You ba4d0f285b refactor(generator): ensure proper deep merge of array values in api.extendPackage
Also fixes #970 by injecting eslint config when invoking ts plugin in an existing project
with eslint plugin installed.
2018-07-18 16:44:03 -04:00
Evan You 07ac887486 fix: stringifyJS should be used in all call sites 2018-05-18 18:49:58 -04:00
Evan You 3139228008 chore: fix duplicate test project 2018-05-03 19:00:03 -04:00
Evan You 5c5e0b8f7c test: fix invoke.spec.js on windows 2018-04-27 17:02:00 -04:00
Evan You 9cfafea328 refactor(cli): default to .js for eslintrc and postcssrc
close #994
2018-04-27 12:45:45 -04:00
Barthélémy Ledoux c648301743 fix: vue invoke should delete renamed/removed files (#1049) 2018-04-25 17:42:26 -04:00
Evan You a4f9e5d908 ci: bump invoke test timeout 2018-03-05 12:34:04 -05:00
Evan You f4c520b834 test: fix invoke test case 2018-02-12 17:02:17 -05:00
Evan You 0468022fdb test: fix eslint related tests 2018-02-09 11:43:43 -05:00
Evan You 46166fb640 fix: handle vue invoke config merging for existing files
close #788
2018-02-06 16:02:09 -05:00
Evan You c1142e21b0 feat: support prompts when invoking plugins
also add invoke prompts for eslint & typescript plugins
2018-02-02 16:34:51 -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 65cc27db42 feat: tweak invoke command 2018-01-14 23:53:24 -05:00
Evan You 563636c33f test: test for vue invoke 2018-01-14 23:27:18 -05:00