-
Notifications
You must be signed in to change notification settings - Fork 11
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
Command to disable an eslint rule #21
Conversation
I think an interactive function to add do you think this feature would also be useful to anyone using Flycheck's javascript-eslint and typescript-tslint interfaces, for instance? is it better as a separate minor-mode or part of an existing major-mode? (or maybe the answer to that is "no", and this is the best place for it?) |
I think that is an excellent idea. I've just created https://github.com/DamienCassou/eslint-disable-rule. The package will work with flymake-eslint if:
I think it makes sense to merge the part of my PR adding What do you think? Do you want to be my first user? Any feedback? |
I agree! at your convenience, please reduce the scope of this PR (and add yourself to the list of Contributors at the top of the file if you wish), and I would be happy to merge.
at my job I work on a codebase with |
This metadata can be used by other tools (e.g., eslint-disable-rule).
1e4b944
to
095e604
Compare
done
I haven't done that as I think the PR is too small to deserve that. Maybe next time :-). Thank you for your feedback. I have work to do to support flycheck and other disable comments so feel free to contribute with a PR. |
thanks for contributing! |
I've added this feature now and others. Feel free to give feedback: https://github.com/DamienCassou/eslint-disable-rule. |
I plan to support all ways to disable rules in eslint. Would you be interested?
/CC @orzechowskid