Created
November 11, 2021 03:47
-
-
Save therealparmesh/934fc1451290023a247a944ad2a1c050 to your computer and use it in GitHub Desktop.
ESLint configuration for React with TypeScript
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
{ | |
"root": true, | |
"extends": [ | |
"eslint:recommended", | |
"plugin:@typescript-eslint/recommended", | |
"plugin:import/recommended", | |
"plugin:import/typescript", | |
"plugin:react/recommended", | |
"plugin:react/jsx-runtime", | |
"plugin:react-hooks/recommended" | |
], | |
"settings": { | |
"import/resolver": { | |
"typescript": {} | |
}, | |
"react": { | |
"version": "detect" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment