Skip to content

Instantly share code, notes, and snippets.

@therealparmesh
Created November 11, 2021 03:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save therealparmesh/934fc1451290023a247a944ad2a1c050 to your computer and use it in GitHub Desktop.
Save therealparmesh/934fc1451290023a247a944ad2a1c050 to your computer and use it in GitHub Desktop.
ESLint configuration for React with TypeScript
{
"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