Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: upgrade to eslint 6 #4933

Merged
merged 13 commits into from Jan 14, 2020
Merged

feat: upgrade to eslint 6 #4933

merged 13 commits into from Jan 14, 2020

Conversation

sodatea
Copy link
Member

@sodatea sodatea commented Dec 5, 2019

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Docs
  • Underlying tools
  • Other, please describe:

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

Other information:

@sodatea sodatea changed the title feat: scaffold projects with eslint 6 feat: upgrade to eslint 6 Dec 5, 2019
if (config !== 'prettier') {
// for any config other than `prettier`,
// typescript ruleset should be appended to the end of the `extends` array
eslintConfig.extends.push('@vue/typescript/recommended')
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure whether we should use @vue/typescript/recommended or @vue/typescript here.

@pksunkara
Copy link
Contributor

I gave it a basic look. Looks good.

@sodatea
Copy link
Member Author

sodatea commented Jan 13, 2020

😅Finally, all the tests are passed!
I think this PR is good to go now… I'd like to write migration instructions in a separate PR, as this one is already somehow messy…

@sodatea sodatea merged commit 0f377bd into vuejs:dev Jan 14, 2020
@sodatea sodatea deleted the eslint-6 branch January 14, 2020 02:13
mactanxin pushed a commit to mactanxin/vue-cli that referenced this pull request Feb 11, 2020
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants