-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeScript ESLint doesn't work with Airbnb configuration #2049
Comments
It is probably again a problem with a documentation. I also added issue here: iamturns/eslint-config-airbnb-typescript#93 |
If you install |
Using yarn or node, or it doesn't matter? And which version of eslint? |
I run:
|
A lot of the packages just assume two things:
The thinking being that you've already got a scaffold built or are just starting a project, thus you already have installed typescript. It's rare that the setup process is: Thus they omit the typescript installation step. Similarly it's a generally assumed thing within the eslint world that you have already installed All of the plugins, parsers and configs have a |
I have installed TypeScript at the beginning using: I also installed ESLint using: My process was:
I performed steps no. 2-3 again to check if I will have a problem:
Here is the result of each step:
|
I performed all steps in the folder with this content: https://github.com/iwis/iw-components |
I installed https://github.com/typescript-eslint/typescript-eslint/ then performed steps from https://www.npmjs.com/package/eslint-config-airbnb-typescript (without React). I got the following errors:
Versions
@typescript-eslint/eslint-plugin
@typescript-eslint/parser
@typescript-eslint/typescript-estree
@typescript-eslint/experimental-utils
TypeScript
node
npm
The text was updated successfully, but these errors were encountered: