cletusw / eslint-plugin-local-rules

A plugin for ESLint that allows you to use project-specific rules
MIT License
158 stars 9 forks source link

Confusing error message on failed import #3

Closed eventlistener closed 5 years ago

eventlistener commented 5 years ago

If any exception (for example, a syntax error) is thrown during the import of the eslint-local-rules.js file, the error reads as

Error: eslint-plugin-local-rules: Cannot find "eslint-local-rules.js"

which makes it difficult to understand what caused the exception.