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
Overrides not working as intended #11934
Comments
Thank you for your report. However, I couldn't reproduce it.
(I just tweaked the Would you check your case again or would you provide a repro repository? |
Hi @mysticatea Thanks for quick revert. Can you try putting configuration file in some other directory as below: eslint -c someOtherDirectory/.eslintrc.json someDirectoryName/ |
Ah, I got it. So this is a duplicate of #11558. |
@mysticatea I couldn't find the above marked issue in the first go. My bad. Sorry for creating a separate issue for this. If this is the intended behavior, how can I go about fixing this issue since passing Also, this behavior is erratic at best. I have a couple of custom rules for which overrides seem to work as expected. |
Tell us about your environment
What parser (default, Babel-ESLint, etc.) are you using? default
Please show your full configuration:
Configuration
What did you do? Please include the actual source code causing the issue, as well as the command that you used to run ESLint.
Command:
Overrides are not applied. Tried
"files": ["**/someDirectoryName/dummy-file.js"]
and"files": ["someDirectoryName/dummy-file.js"]
too. Both didn't work.However, it works if I specify the file name only, like below:
Let me know if more information is needed.
The text was updated successfully, but these errors were encountered: