You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.)
The text was updated successfully, but these errors were encountered:
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., forvalid-jsdoc
, https://github.com/eslint/eslint/blob/master/lib/rules/valid-jsdoc.js#L28-L46 ,requireReturn
is indicated with a default oftrue
.)The text was updated successfully, but these errors were encountered: