Answer the question
In order to leave comments, you need to log in
Why is Eslint not working?
I can't figure out Eslint. I’ll write what I did: I
acted according to the instructions:
https://gist.github.com/bradtraversy/aab26d1e8983d...
1. I installed the Airbnb react snippets, ESLint, Prettier - Code formatter extensions in WE
2. I wrote in cmd: npm i -D eslint prettier eslint-plugin-prettier eslint-config-prettier eslint-plugin-node eslint-config-node
and
npx install-peerdeps --dev eslint-config-airbnb
3. Created an .eslintrc.json file in the data root folder :
{
"extends": ["airbnb", "prettier", "plugin:node/recommended"],
"plugins": ["prettier"],
"rules": {
"prettier/prettier": "error",
"
"func-names": "off",
"no-process-exit": "off",
"object-shorthand": "off",
"class-methods-use-this": "off
"
}
}
not working, what did I do wrong?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question