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
{{ message }}
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.
This error shows constantly if no .eslintrc exists or if the space-unary-word-ops rule is not explicitly defined.
Atom Version: 0.165.0 System: Mac OS X 10.9.5 Thrown From: linter-eslint package, v0.3.0
Stack Trace
Uncaught Error: Definition for rule 'space-unary-word-ops' was not found.
At /Users/<username>/.atom/packages/linter-eslint/node_modules/eslint/lib/eslint.js:569
Error: Definition for rule 'space-unary-word-ops' was not found.
at /Users/<username>/.atom/packages/linter-eslint/node_modules/eslint/lib/eslint.js:569:27
at Array.forEach (native)
at EventEmitter.module.exports.api.verify (/Users/<username>/.atom/packages/linter-eslint/node_modules/eslint/lib/eslint.js:545:16)
at LinterESLint.lintFile (/Users/<username>/.atom/packages/linter-eslint/lib/linter-eslint.coffee:62:21)
at /Users/<username>/.atom/packages/linter/lib/linter-view.coffee:138:18
at Array.forEach (native)
at /Users/<username>/.atom/packages/linter/lib/linter-view.coffee:137:18
at Object.oncomplete (fs.js:93:15)
Hello @pgoldrbx, are you sure that there is no .eslintrc file in your home folder (/Users/<username>) ? This would be consistent with this error. In newer eslint versions the name of the rule space-unary-word-ops has been changed to space-unary-ops. I suspect you have an old .eslintrc file in your $HOME directory which is used for defaults. Please note that rules used for linting are computed from all the .eslintrc files found in the file directory hierarchy.
This error shows constantly if no
.eslintrc
exists or if thespace-unary-word-ops
rule is not explicitly defined.Atom Version: 0.165.0
System: Mac OS X 10.9.5
Thrown From: linter-eslint package, v0.3.0
Stack Trace
Uncaught Error: Definition for rule 'space-unary-word-ops' was not found.
Commands
Config
Installed Packages
/cc @atom/core
The text was updated successfully, but these errors were encountered: