robatwilliams / es-compat

Check JavaScript code compatibility with target runtime environments
MIT License
65 stars 13 forks source link

Add `meta.type` "problem" #14

Closed brettz9 closed 4 years ago

brettz9 commented 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 ).

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").

robatwilliams commented 4 years ago

Thank you, makes sense to have this for reporting reasons even though the rule is not fixable.

robatwilliams commented 4 years ago

Released https://github.com/robatwilliams/es-compat/releases/tag/v1.1.0