* chore: add typescript and dependencies
* refactor: remove react imports
* refactor: fix entrypoint
* chore: upgrade chakra and deps
* chore: configure eslint
This commit is contained in:
Carlos Valente
2022-09-14 21:01:58 +02:00
committed by GitHub
parent e40d750673
commit b7e758bf24
114 changed files with 1216 additions and 743 deletions
+7 -2
View File
@@ -2,12 +2,15 @@
"extends": [
"react-app",
"react-app/jest",
"plugin:react/recommended"
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"plugins": [
"react",
"testing-library",
"simple-import-sort"
"simple-import-sort",
"@typescript-eslint"
],
"rules": {
"jest/no-mocks-import": "warn",
@@ -41,6 +44,8 @@
"react/no-deprecated": [
"error"
],
"react/jsx-uses-react": "off",
"react/react-in-jsx-scope": "off",
"react/jsx-no-undef": "error",
"react/jsx-closing-tag-location": "warn",
"react/jsx-no-useless-fragment": "warn",