Skip to content
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

ESlint on Typescript files #33

Closed
samuelcastro opened this issue Nov 16, 2018 · 1 comment
Closed

ESlint on Typescript files #33

samuelcastro opened this issue Nov 16, 2018 · 1 comment

Comments

@samuelcastro
Copy link

samuelcastro commented Nov 16, 2018

I know that there is an option to enable eslint on ts|tsx files, I'm wondering whether I still need to include typescript-eslint-parser or you're using it already under the hood.

Thanks

@dalcib
Copy link
Contributor

dalcib commented Nov 22, 2018

In my tests on this, I also had to install typescript-eslint-parser and eslint-plugin-typescript, to configure useEslintRc in customize-cra, and to use this .eslintrc:

{
  "parser": "typescript-eslint-parser",
  "extends": "react-app",
  "plugins": ["typescript"],
}

It also works with Eslint extension in Vscode.

@arackaf arackaf closed this as completed Nov 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants