Bug: config function from typescript-eslint doesn't use ignores
when extends
is provided.
#8511
Closed
4 tasks done
Labels
accepting prs
Go ahead, send a pull request that resolves this issue
bug
Something isn't working
package: typescript-eslint
Issues related to the typescript-eslint package
Before You File a Bug Report Please Confirm You Have Done The Following...
Relevant Package
typescript-eslint
Playground Link
No response
Repro Code
I want to apply type-checked rules to most of my codebase with some exceptions. This is the config I have:
ESLint Config
tsconfig
No response
Expected Result
I expect the final config to have
ignores
applied to each of the configs I'm extending from.Actual Result
Only
files
are applied, notignores
.Additional Info
I can see from the code that
ignores
is not supported. This is somewhat surprising, given thatfiles
andignores
are two sides of the same coin - the ability to provide a list of files which to apply the rules to.However, adding this functionality will likely be considered a breaking change.
Versions
typescript-eslint
7.0.1
The text was updated successfully, but these errors were encountered: