Refactor/vite (#209)

* refactor(vite): add dependencies
* refactor(vite): necessary code migrations
* refactor(vite): convert file to tsx
* refactor(vite): config
* refactor(vite): doctype casing
This commit is contained in:
Carlos Valente
2022-09-28 21:13:20 +02:00
committed by GitHub
parent d86afee477
commit 562cb769c5
30 changed files with 1572 additions and 7013 deletions
+14 -6
View File
@@ -1,8 +1,18 @@
{
"settings": {
"react": {
"version": "detect"
}
},
"env": {
"browser": true,
"node": true
},
"extends": [
"react-app",
"react-app/jest",
"plugin:react/recommended"
"eslint:recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"eslint-config-prettier"
],
"plugins": [
"react",
@@ -10,7 +20,6 @@
"simple-import-sort"
],
"rules": {
"jest/no-mocks-import": "warn",
"no-useless-concat": "warn",
"prefer-template": "warn",
"react/jsx-no-bind": [
@@ -81,8 +90,7 @@
}
],
"simple-import-sort/imports": "warn",
"simple-import-sort/exports": "warn",
"import/no-duplicates": "error"
"simple-import-sort/exports": "warn"
},
"overrides": [
// override "simple-import-sort" config