Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
Description
Before You File a Proposal Please Confirm You Have Done The Following...
- I havesearched for related issues and found none that match my proposal.
- I haveread the FAQ and my problem is not listed.
Description
I, ah, never realized an ESLintconfig can also set aplugin! Or at least never thought to apply that feature to our configs. But that can be done, and is used ineslint-plugin-prettier.
Settingparser for users would remove a line from ourgetting started recommendation:
/* eslint-env node */module.exports = { extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],- parser: '@typescript-eslint/parser', plugins: ['@typescript-eslint'], root: true,};IMO reducing config properties from 4 to 3 would be a nice little win for users. The ESLint/TypeScript ecosystem already has a reputation for high complexity. Anything we can do to reduce that IMO is good marketing as well as a better user experience.
Plus, per#6814 ->#8146, the tooling has really solidified on it being unexpected to use any parser other than@typescript-eslint/parser.
Impacted Configurations
recommendedrecommended-type-checkedstrictstrict-type-checkedstylisticstylistic-type-checked
Additional Info
Thanks@BPScott for informing me inhttps://github.com/JoshuaKGoldberg/dot-com/pull/140/files#r1435384958. 😄