Created
March 14, 2017 18:39
-
-
Save MidnightLightning/38ae806cea92d06296dfd2c6c62b8e5d to your computer and use it in GitHub Desktop.
ESLint Atom issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function hello () { | |
console.log("Hello World!"); | |
} | |
hello() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"eslintConfig": { | |
"extends": "eslint:recommended", | |
"env": { | |
"browser": true | |
}, | |
"rules": { | |
"semi": 1 | |
} | |
}, | |
"devDependencies": { | |
"eslint": "^3.17.1" | |
} | |
} |
I downloaded this zip, installed the dependencies, opened the file in Atom, and got an error/warning as expected. I have to think there's something else going on in your environment or settings that is the culprit here.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That shows a warning (semicolon) and an error (don't use console). Atom with the ESLint module doesn't show anything.