GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||
GeezerVison is showing github.com — feat!: `no-unused-vars` default caughtErrors to 'all' by JoshuaKGoldberg · Pull Request #18043 · eslint/eslint Conversation
Contributor
Prerequisites checklist
What is the purpose of this pull request? (put an "X" next to an item)[ ] Documentation update What changes did you make? (Give an overview)Changes the default value for the Fixes #17974. Is there anything you'd like reviewers to focus on?
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
|
There was an error while loading. Please reload this page.
✅ Deploy Preview for docs-eslint ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Could you change the docs too? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
D'oh, right, thanks. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
We need to mention this in the migration guide, where we have mentioned other breaking changes as well. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
| * [`no-restricted-imports` now accepts multiple config entries with the same `name`](#no-restricted-imports) | ||
| * [`"eslint:recommended"` and `"eslint:all"` strings no longer accepted in flat config](#string-config) | ||
| * [`no-inner-declarations` has a new default behavior with a new option](#no-inner-declarations) | ||
| * [`no-unused-vars` now defaults `caughtErrors` to `"all"`](#no-unused-vars) |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
As an aside, it would be nice in a separate PR to group all default rule option changes together in this list or a sub-list.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Co-authored-by: Milos Djermanovic <[email protected]>
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM pending @amareshsm's grammar update.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Rule Change: Change default for no-unused-var's caughtErrors option to "all"
There was an error while loading. Please reload this page.