yarn add --dev @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint eslint-config-prettier eslint-plugin-prettier eslint-plugin-react prettier
Created
November 9, 2021 12:33
-
-
Save rickyalmeidadev/96f74a7cf6e9e29f87137b8ea70d720c to your computer and use it in GitHub Desktop.
Vite React configuration
This file contains hidden or 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
Show hidden characters
{ | |
"extends": [ | |
"eslint:recommended", | |
"plugin:react/recommended", | |
"plugin:react/jsx-runtime", | |
"plugin:@typescript-eslint/recommended", | |
"plugin:prettier/recommended" | |
], | |
"plugins": ["react", "@typescript-eslint", "prettier"], | |
"settings": { | |
"react": { | |
"version": "detect" | |
} | |
} | |
} |
This file contains hidden or 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
{ | |
"arrowParens": "avoid", | |
"bracketSpacing": false, | |
"semi": false, | |
"singleQuote": true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment