// eslint-disable ... comments are not ignored anymore by line-comment-position rule #11415
Labels
accepted
There is consensus among the team that this change meets the criteria for inclusion
archived due to age
This issue has been archived; please open a new issue for any further discussion
bug
ESLint is working incorrectly
rule
Relates to ESLint's core rules
Tell us about your environment
What parser (default, Babel-ESLint, etc.) are you using? default (parserOptions: { ecmaVersion: '2019', sourceType: 'module' })
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.
When linting a file which uses in-line comments to disable a certain rule for only one line I get an error with the configuration above in eslint@5.14.x
What did you expect to happen?
With previous versions of eslint nothing happens. // eslint-... comments where ignored by the line-comment-position rule.
What actually happened? Please include the actual, raw output from ESLint.
I get an error "3:22 error Expected comment to be above code line-comment-position".
Are you willing to submit a pull request to fix this bug?
Generally yes, but I have no idea where to start.
The text was updated successfully, but these errors were encountered: