-
Notifications
You must be signed in to change notification settings - Fork 63
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
Our config to not be under the overrides property #1149
Comments
Hello, I wonder why you make this decision. Is it related to ESLint v9 with the new config file format? 🤓 Regards. |
Nah, it's not inspired by that. I don't even know what that change includes. #43 was never a good idea because it is implemented using the overrides feature with a filename extensions pattern. That is way too specific and stepping outside of the scope of this package. Specifically, it prevents users from applying this config to whatever arbitrary filename extensions they may wish to apply it to. |
BREAKING CHANGE: the rules are provided at the top level, instead of under an `overrides` property. Providing the rules under the `overrides` property was never a good idea. It prevents specifying which files the rules apply to (e.g. `[*.js, *.ts]`). I apologise. To migrate, make sure that your `extends` property is under an [`overrides` item][overrides]. An example is in the readme. To help verify your configuration, you could obtain a list of files that will be linted, this way: `DEBUG=eslint:cli-engine npx eslint <path>`. overrides: https://eslint.org/docs/latest/use/configure/configuration-files#how-do-overrides-work closes #1149 closes #1088 Co-authored-by: Rostislav Simonik <rostislav.simonik@technologystudio.sk>
BREAKING CHANGE: the rules are provided at the top level, instead of under an `overrides` property. Providing the rules under the `overrides` property was never a good idea. It prevents specifying which files the rules apply to (e.g. `[*.js, *.ts]`). I apologize. To migrate, make sure that your `extends` property is under an [`overrides` item][overrides]. An example is in the readme. To help verify your configuration, you could obtain a list of files that will be linted, this way: `DEBUG=eslint:cli-engine npx eslint <path>`. [overrides]: https://eslint.org/docs/latest/use/configure/configuration-files#how-do-overrides-work closes #1149 closes #1088 Co-authored-by: Rostislav Simonik <rostislav.simonik@technologystudio.sk>
## [36.0.0](v35.0.0...v36.0.0) (2023-06-30) ### ⚠ BREAKING CHANGES * the rules are provided at the top level, instead of under an `overrides` property. Providing the rules under the `overrides` property was never a good idea. It prevents specifying which files the rules apply to (e.g. `[*.js, *.ts]`). I apologize. To migrate, make sure that your `extends` property is under an [`overrides` item][overrides]. An example is in the readme. To help verify your configuration, you could obtain a list of files that will be linted, this way: `DEBUG=eslint:cli-engine npx eslint <path>`. [overrides]: https://eslint.org/docs/latest/use/configure/configuration-files#how-do-overrides-work ### Bug fixes * rules are at top level (not under overrides) ([25401c9](25401c9)), closes [#1149](#1149) [#1088](#1088)
🎉 This issue has been resolved in version 36.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
#43 was never a good idea. We mean to revert it, probably as a breaking change.
This happens to be the highest priority issue at this time.
The text was updated successfully, but these errors were encountered: