-
-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in the label condition #80
Comments
What would you suggest? Would we instead output "Invalid config item" or something? Without |
Yes.
|
Why show an error when It's valid to have a config like: export default [
{
files: ['lib/**/*.foo'],
rules: {
// Rules for lib/**/*.foo
}
},
{
ignores: ['lib/**/*.foo'],
rules: {
// Rules for everything but lib/**/*.foo
}
}
]; |
Yes. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The patterns act as global ignores if an ignores key is used without any other keys in the configuration object.
https://eslint.org/docs/latest/use/configure/ignore#ignoring-files
config-inspector/app/components/ConfigItem.vue
Lines 150 to 152 in 7720a12
The text was updated successfully, but these errors were encountered: