Skip to content

Instantly share code, notes, and snippets.

@rickyalmeidadev
Created November 9, 2021 12:33
Show Gist options
  • Save rickyalmeidadev/96f74a7cf6e9e29f87137b8ea70d720c to your computer and use it in GitHub Desktop.
Save rickyalmeidadev/96f74a7cf6e9e29f87137b8ea70d720c to your computer and use it in GitHub Desktop.
Vite React configuration
{
"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"
}
}
}
{
"arrowParens": "avoid",
"bracketSpacing": false,
"semi": false,
"singleQuote": true
}
yarn add --dev @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint eslint-config-prettier eslint-plugin-prettier eslint-plugin-react prettier
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment