Answer the question
In order to leave comments, you need to log in
What could happen to eslint that it went crazy and started showing errors where everything was normal 5 minutes ago?
What could happen to eslint that it went crazy and started showing errors where everything was normal 5 minutes ago?
I didn’t touch anything, I just wrote the code and then, after the next rebuild, he just went berserk and started showing errors where they never were.
My config:
{
"extends": ["airbnb", "plugin:prettier/recommended", "prettier/react"],
"plugins": ["react", "prettier"],
"rules": {
"react/jsx-props-no-spreading": "off",
"no-underscore-dangle": "off",
"consistent-return": "off",
"array-callback-return": "off",
"func-names": "off",
"react/jsx-filename-extension": [
1,
{
"extensions": [".js", "jsx"]
}
],
"prettier/prettier": "error",
"max-len": ["error", 9999],
"react/prop-types": [0],
"import/no-unresolved": "off",
"no-console": "warn",
"no-param-reassign": 0
},
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"jest": true,
"node": true
}
}
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