Closed brettz9 closed 4 years ago
meta.type can be used with fixable rules by using eslint --fix-type (per https://eslint.org/docs/user-guide/command-line-interface#fix-type ).
meta.type
eslint --fix-type
However, my personal interest is for an eslint badge formatter I'm working on which can count total violations by meta.type (i.e., "problem", "suggestion", or "layout").
Thank you, makes sense to have this for reporting reasons even though the rule is not fixable.
Released https://github.com/robatwilliams/es-compat/releases/tag/v1.1.0
meta.type
can be used with fixable rules by usingeslint --fix-type
(per https://eslint.org/docs/user-guide/command-line-interface#fix-type ).However, my personal interest is for an eslint badge formatter I'm working on which can count total violations by
meta.type
(i.e., "problem", "suggestion", or "layout").