Skip to content
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

Indicate error/warn status and options for missing rules #9

Open
brettz9 opened this issue Jun 16, 2019 · 0 comments
Open

Indicate error/warn status and options for missing rules #9

brettz9 opened this issue Jun 16, 2019 · 0 comments

Comments

@brettz9
Copy link
Contributor

brettz9 commented Jun 16, 2019

This is indeed an awesome tool, thank you!

For rules that are missing, it would be handy to know if they had been declared as errors, warnings, etc., along with the options they were set with (preferably converted to JSON for the --json option).

(Btw, in answer to the question raised on your README to-dos "How to get the default?", regarding how to canonicalize to compare explicit defaults within implicit defaults in an equivalent manner, you can get at this if the rule indicates its defaults through schema. E.g., for valid-jsdoc, https://github.com/eslint/eslint/blob/master/lib/rules/valid-jsdoc.js#L28-L46 , requireReturn is indicated with a default of true.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant