Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
feat(eslint-plugin)!: change recommended config#729
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
BREAKING: recommended config changes are considered breaking
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
# Conflicts:#packages/eslint-plugin/src/configs/base.json#packages/eslint-plugin/src/configs/recommended.json
# Conflicts:#packages/eslint-plugin/README.md#packages/eslint-plugin/src/configs/base.json#packages/eslint-plugin/src/configs/recommended.json#packages/eslint-plugin/src/rules/no-triple-slash-reference.ts#packages/eslint-plugin/src/rules/prefer-interface.ts
# Conflicts:#packages/eslint-plugin/README.md
Uh oh!
There was an error while loading.Please reload this page.
# Conflicts:#.eslintrc.json#packages/eslint-plugin/src/rules/camelcase.ts#packages/eslint-plugin/src/rules/indent-new-do-not-use/index.ts#packages/eslint-plugin/src/rules/prefer-string-starts-ends-with.ts#packages/eslint-plugin/tests/rules/indent/utils.ts#packages/eslint-plugin/tools/validate-docs/validate-table-structure.ts#packages/parser/src/analyze-scope.ts#packages/typescript-estree/tests/lib/semanticInfo.ts#yarn.lock
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
codecovbot commentedJul 31, 2019 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@bradzacher Should thedocumentation also be updated? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
This contains some important updates to defaults of rules etc, and in general has a large diff, so I'm going to merge it and make the updates we discussed in a follow up.
Thanks again for doing this!
bbugh commentedNov 28, 2019
Is there a full list of what was removed? We upgraded to the latest 2.x release from 1.x and notice a bunch of stuff (like We'd like to put the recommended ones back in because we have a huge code base that relied on them. Thank you! |
@bbugh We only change our configs, which are found here: If you look at#651, you'll see an in-depth list of every single rule, and why or why not it was included in our v2 list. As an aside, have a look at my personal config repo: In there I have tooling which strictly types config files to ensure I'm configuring rules correctly, and to ensure that I've configured every single available rule. I strongly recommend that any appropriately large codebase should take ownership of their eslint config, and think about every single rule. It will take a few hours to do e2e, sure, but the wins in terms of strict code style, error catching, etc are completely worth it for a large project. |
Uh oh!
There was an error while loading.Please reload this page.
BREAKING CHANGE: recommended config changes are considered breaking
See#651 for more info about what was included and why
Fixes#651
Fixes#433
Fixes#201
Fixes#493
Fixes#759
Fixes#822