Skip to content Skip to sidebar Skip to footer

Can't Solve Problems With Eslint In Vscode

I have installed ESLint extension, then initialized on my local project, solved ESLint problems. No more problems appeared, started application, but failed to compile, all the prob

Solution 1:

updated .eslintrc.json then solved the problems again. this time when i compile i get no errors!

{ "parserOptions": { "ecmaVersion": 6, "ecmaFeatures": { "jsx": true }, "sourceType": "module" },

"settings": { "react": { "version": "detect" } },

"plugins": [ "react" ],

"rules": { "react/jsx-no-bind": ["error", { "allowArrowFunctions": true, "allowBind": false, "ignoreRefs": true }], "react/no-did-update-set-state": "error", "react/no-unknown-property": "error", "react/no-unused-prop-types": "error", "react/prop-types": "error", "react/react-in-jsx-scope": "error" } }

Post a Comment for "Can't Solve Problems With Eslint In Vscode"