You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if it's specific to version 6.x of ESLint, but I've checked my other projects using version 5.x and they seem to be working fine on VSCode. As far as I remember, I did the same steps in installing ESLint.
This error is output:
[Error - 3:16:06 PM] ESLint stack trace:
[Error - 3:16:06 PM] Error: Failed to load config "react-app" to extend from.
Referenced from: C:\Users\Paulo\Documents\package.json
at configMissingError (c:\Users\Paulo\Documents\GitHub\elder-tree-dashboard\node_modules\eslint\lib\cli-engine\config-array-factory.js:233:9)
at ConfigArrayFactory._loadExtendedShareableConfig (c:\Users\Paulo\Documents\GitHub\elder-tree-dashboard\node_modules\eslint\lib\cli-engine\config-array-factory.js:712:23)
at ConfigArrayFactory._loadExtends (c:\Users\Paulo\Documents\GitHub\elder-tree-dashboard\node_modules\eslint\lib\cli-engine\config-array-factory.js:617:25)
at ConfigArrayFactory._normalizeObjectConfigDataBody (c:\Users\Paulo\Documents\GitHub\elder-tree-dashboard\node_modules\eslint\lib\cli-engine\config-array-factory.js:547:25)
at _normalizeObjectConfigDataBody.next (<anonymous>)
at ConfigArrayFactory._normalizeObjectConfigData (c:\Users\Paulo\Documents\GitHub\elder-tree-dashboard\node_modules\eslint\lib\cli-engine\config-array-factory.js:491:20)
at _normalizeObjectConfigData.next (<anonymous>)
at createConfigArray (c:\Users\Paulo\Documents\GitHub\elder-tree-dashboard\node_modules\eslint\lib\cli-engine\config-array-factory.js:307:25)
at ConfigArrayFactory.loadInDirectory (c:\Users\Paulo\Documents\GitHub\elder-tree-dashboard\node_modules\eslint\lib\cli-engine\config-array-factory.js:400:16)
at CascadingConfigArrayFactory._loadConfigInAncestors (c:\Users\Paulo\Documents\GitHub\elder-tree-dashboard\node_modules\eslint\lib\cli-engine\cascading-config-array-factory.js:304:46)
I have tried deleting node_modules, package_lock and package.json and doing a clean install of ESLint, but it seems that the problem is specific to this project.
The text was updated successfully, but these errors were encountered:
I was recently working on a project and used create-react-app.
I don't have eslint installed globally, and only configure ESLint on a project-by-project basis.
Steps done to install ESLint on VSCode
Here is my .eslintrc.js
And my package.json:
I'm not sure if it's specific to version 6.x of ESLint, but I've checked my other projects using version 5.x and they seem to be working fine on VSCode. As far as I remember, I did the same steps in installing ESLint.
This error is output:
I have tried deleting node_modules, package_lock and package.json and doing a clean install of ESLint, but it seems that the problem is specific to this project.
The text was updated successfully, but these errors were encountered: