Open JasonMore opened 3 years ago
I'm looking for the same thing, but what pattern should be required? I guess you could pass a flag like requirePatternForPreviousLineComment
and either pass a pattern yourself or just disabling it, making any comment above the disable rule work.
I don't know enough about making ESLint plugins to tell you if it's possible, but it would be an amazing addition
EDIT: Saw that you made a PR: https://github.com/mysticatea/eslint-plugin-eslint-comments/pull/56
Hi @JasonMore!
Since this repo is unmaintained, you might want to re-open this issue in the @eslint-community fork https://github.com/eslint-community/eslint-plugin-eslint-comments
For more info about why we created this organization, you can read https://eslint.org/blog/2023/03/announcing-eslint-community-org
Hi! Is it possible to have a comment above the rule work? I've not done a lot of eslint work, but happy to fix this if you think its possible.