Top "Typescript-eslint" questions

TypeScript-ESLint is an open-source project which provides tooling to allow TypeScript code to be checked by ESLint.

Parsing error: Cannot read file '.../tsconfig.json'.eslint

The error Parsing error: Cannot read file '.../tsconfig.json'.eslint shows in all .ts files in the src folder …

node.js typescript eslint typescript-eslint
Disable typescript-eslint plugin rule (no-explicit-any) with inline comment

I have an eslint error that comes from the @typescript-eslint plugin. Unexpected any. Specify a different type.eslint(@typescript-eslint/no-explicit-any) …

eslint typescript-eslint
"parserOptions.project" has been set for @typescript-eslint/parser

I created a new React Native project with --template typescript I deleted the template directory which came as part of …

typescript eslint typescript-eslint
How to use ESLint TypeScript Airbnb configuration?

I try to install and use ESLint Airbnb configuration for TypeScript for several days and I cannot make it work. …

typescript eslint eslint-config-airbnb typescript-eslint
Stop typescript-eslint/explicit-module-boundary-types to be applied on vue component not using Typescript

I'm using vue and I just updated @typescript-eslint/eslint-plugin": "^3.10.1". My project contains several components. Some of them are using javascript …

typescript vue.js typescript-eslint
@typescript-eslint/no-unused-vars false positive in type declarations

There is one problem with @typescript-eslint/no-unused-vars. So, we have type type SomeType = (name: string) => void; And we have @…

javascript reactjs typescript eslint typescript-eslint
eslint + typescript + path in tsconfig: ESLint: Unable to resolve path to module '@components/some-module'.(import/no-unresolved)

I add typescript config for paths (alias): tsconfig.json { "compilerOptions": { "jsx": "react", "baseUrl": "src", "paths": { "@components/*": ["components/*"] } }, "exclude": [ "node_modules", "…

reactjs typescript eslint typescript-eslint
New eslint errors with the @typescript-eslint/no-unsafe-* rules

I'm having some trouble with adding them into some existing projects. For example, I have a class in a module …

javascript typescript eslint typescript-eslint
ESLint error when trying to lint Angular templates

I have an Angular 10 app set up with eslint and prettier, which worked fine so far for linting Typescript files. …

angular typescript eslint typescript-eslint
tsconfig not used by typescript-eslint

In a new project, I installed typescript, eslint, @typescript-eslint/parser, @typescipt-eslint/eslint-plugin. I also added the following .eslintrc file: { "parser": "@…

typescript eslint typescript-eslint