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
While developing new rules, as plugin for example, it might be wise to have some improved error handling. As you can see here, the current error is a syntax error without additional info on what or where it went wrong.
I think this could also benefit other use cases like misconfigured rule settings or config in general. ESLint has some good examples for us to look at, like this one for example.
.eslintrc.js:
Configuration for rule "semi" is invalid:
Severity should be one of the following: 0 = off, 1 = warn, 2 = error (you passed '"wrong level"').
It's a rule with the wrong severity level, clearly indicating what is wrong and how to fix it.
Current Behavior
Affected packages
cli
core
prompt
config-angular
Possible Solution
Steps to Reproduce (for bugs)
Context
Your Environment
The text was updated successfully, but these errors were encountered:
Expected Behavior
While developing new rules, as plugin for example, it might be wise to have some improved error handling. As you can see here, the current error is a syntax error without additional info on what or where it went wrong.
I think this could also benefit other use cases like misconfigured rule settings or config in general. ESLint has some good examples for us to look at, like this one for example.
Current BehaviorAffected packages
Possible SolutionSteps to Reproduce (for bugs)ContextYour EnvironmentThe text was updated successfully, but these errors were encountered: