-
-
Notifications
You must be signed in to change notification settings - Fork 39
Closed
Description
Originally reported in eslint/eslint#18475.
With this config:
// eslint.config.js
export default [
{
files: ['**/*'],
rules: {
semi: 'error',
},
},
];
for a file named fail.txt
, config-inspector reports that it is matched by 1 config item (the one in eslint.config.js).
Which is true, this config item does match this file, but files not matched by at least one config object with a pattern that doesn't end with /*
or /**
are effectively ignored as "unconfigured". So for this file, it would make more sense to report it as "not included or has been ignored".
Repro: https://stackblitz.com/edit/stackblitz-starters-99hktx
Flat config's matching & ignoring logic is here:
Metadata
Metadata
Assignees
Labels
No labels