Support overrides
See original GitHub issueWhen adding TypeScript support in eslint-config-kentcdodds
(see https://github.com/kentcdodds/eslint-config-kentcdodds/pull/54), I noticed CI isn’t failing even though I haven’t added all @typescript-eslint rules (yet).
I’m happy to help out if you could point me into the right direction of adding support here. 🙂
Issue Analytics
- State:
- Created 3 years ago
- Reactions:5
- Comments:14 (5 by maintainers)
Top Results From Across the Web
Support for npm 8.3 Overrides #15278 - renovatebot/renovate
json under the "overrides" object matches the version of the dependency in dependencies or devDependencies . If you have any ideas on how...
Read more >How overrides work - Google Ad Manager Help
A Clear override option appears next to settings that have been overridden. This option won't appear if the setting is not overridden. To...
Read more >Overrides of clinical decision support alerts in primary care ...
Clinical Decision Support (CDS) systems can alert physicians about potential clinical risks and suggest suitable treatment alternatives at appropriate times ...
Read more >overrides (DHCP Relay Agent) | Junos OS - Juniper Networks
Override the default configuration settings for the extended DHCP relay agent. Specifying the overrides statement with no subordinate statements removes all ...
Read more >Apply overrides to instances - Components - Figma Help Center
Figma supports overrides to text, fill, stroke, and effect properties. This allows you to make changes to the more superficial aspects of an...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
My workaround is to define high-level configurations (containing
overrides
) and move all plugin rules into separate files:So while
react.js
usesoverrides
to applytypescript
rules only to TS(X) files, there’s a special config file config-all.js that contains all rules withoutoverrides
:When checking
config-all.js
,eslint-find-rules
will now check all referenced plugins/rules.A new use-case we have on
eslint-config-kentcdodds
is wanting to enable all Jest related rules only for testing files (as can be seen in https://github.com/kentcdodds/eslint-config-kentcdodds/pull/98).Enabling all the rules in the root just to make our tests happy isn’t the preferred way, so this feature could benefit us a lot.
@leepowelldev Do you have the time to create a PR with working version of this or should we look into it ourselves?