This was my process
There are no Action Items for ESLint, however when I run it from the command line, I get errors for the file.
I configured in this way in ubuntu 16.04 and Netbeans 8.2
I searched where was installed my eslint (at my case at /usr/bin/eslint)
You need a config eslint file (I create one at my home folder a file .eslintrc.json)
{
"env": {
"browser": true,
"node": true
},
"extends": "eslint:recommended",
"rules": {
"indent": [
"error",
3
],
"linebreak-style": [
"error",
"unix"
],
"no-console": "off",
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
]
}
}
My config in netbeans is like this:
And when you check the code is (when you move the mouse over the red segment it shows the errors):
Hope this help you
Greetings
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With