-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
I'm trying to configure "only-warn" for just one directory in my project, using override: https://eslint.org/docs/latest/user-guide/configuring/configuration-files#configuration-based-on-glob-patterns
module.exports = {
extends: 'eslint-config-foobar',
overrides: [
{
files: ['src/legacy/**/*.*'],
extends: 'eslint-config-foobar',
plugins: ['only-warn'],
},
],
};But, all files outside src/legacy are parsed with only-warn too. 😢
Is there any option for that?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels