typescript eslint
See original GitHub issueC:\Users\gagul\WebstormProjects\vsbl>yarn lint
yarn run v1.19.1
$ eslint .
Error: Failed to load parser '@typescript-eslint/parser' declared in 'package.json » eslint-config-react-app#overrides[0]': Cannot find module '@typescript-eslint/parser'
Require stack:
- C:\Users\gagul\WebstormProjects\vsbl\node_modules\eslint-config-react-app\index.js
at Function.Module._resolveFilename (module.js:548:15)
at Function.resolve (C:\Users\gagul\WebstormProjects\vsbl\node_modules\v8-compile-cache\v8-compile-cache.js:166:23)
at Object.resolve (C:\Users\gagul\WebstormProjects\vsbl\node_modules\eslint\lib\shared\relative-module-resolver.js:44:50)
at ConfigArrayFactory._loadParser (C:\Users\gagul\WebstormProjects\vsbl\node_modules\eslint\lib\cli-engine\config-array-factory.js:870:45)
at ConfigArrayFactory._normalizeObjectConfigDataBody (C:\Users\gagul\WebstormProjects\vsbl\node_modules\eslint\lib\cli-engine\config-array-factory.js:665:32)
at _normalizeObjectConfigDataBody.next (<anonymous>)
at ConfigArrayFactory._normalizeObjectConfigData (C:\Users\gagul\WebstormProjects\vsbl\node_modules\eslint\lib\cli-engine\config-array-factory.js:596:20)
at _normalizeObjectConfigData.next (<anonymous>)
at ConfigArrayFactory._normalizeObjectConfigDataBody (C:\Users\gagul\WebstormProjects\vsbl\node_modules\eslint\lib\cli-engine\config-array-factory.js:699:25)
at _normalizeObjectConfigDataBody.next (<anonymous>)
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
I dont’ using TS, why I should install such packages?
Issue Analytics
- State:
- Created 4 years ago
- Comments:5
Top Results From Across the Web
typescript-eslint
ESLint statically analyzes your code to quickly find problems. It allows creating a series of assertions called lint rules around what your code...
Read more >TypeScript ESLint - GitHub
typescript -eslint. Monorepo for the tooling that enables ESLint and Prettier to support TypeScript. CI Financial Contributors on Open Collective NPM ...
Read more >@typescript-eslint/eslint-plugin - npm
An ESLint plugin which provides lint rules for TypeScript codebases. NPM Version NPM Downloads. See https://typescript-eslint.io/architecture ...
Read more >How to use ESLint with TypeScript | Khalil Stemmler
ESLint is a JavaScript linter that you can use to lint either TypeScript or JavaScript code. In this post, we'll walk through how...
Read more >@typescript-eslint/eslint-plugin-tslint - npm package | Snyk
Learn more about @typescript-eslint/eslint-plugin-tslint: package health score, popularity, security, maintenance, versions and more.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I had the
'@typescript-eslint/parser' declared in 'package.json
problem too despite I don’t use TS on the project and the setup was fine on earlier versions of create-react-app. The solution for me was addingnode_modules
to.eslintignore
.This issue has been automatically closed because it has not had any recent activity. If you have a question or comment, please open a new issue.