Created
March 19, 2019 10:07
-
-
Save ulcuber/a5e0b91bc40ad812937d65df065283a9 to your computer and use it in GitHub Desktop.
TypeScript+React eslint config for create-react-app project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// npm i --save-dev @typescript-eslint/eslint-plugin @typescript-eslint/parser | |
module.exports = { | |
root: true, | |
parser: '@typescript-eslint/parser', | |
plugins: [ | |
'@typescript-eslint', | |
], | |
extends: [ | |
'plugin:@typescript-eslint/recommended', | |
'react-app', | |
], | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment