Skip to content

Commit

Permalink
feat: first pas on v3 migration
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan committed Jun 20, 2022
1 parent 3c5b9fe commit 1a6ee57
Show file tree
Hide file tree
Showing 73 changed files with 28,027 additions and 11,902 deletions.
3 changes: 0 additions & 3 deletions .babelrc

This file was deleted.

4 changes: 3 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
build/
commitlint.config.js
lint-staged.config.js
lib/
node_modules/
51 changes: 51 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"root": true,
"extends": [
"react-app",
"sanity/react", // must come before sanity/typescript
"sanity/typescript",
"plugin:react-hooks/recommended",
"plugin:prettier/recommended",
"@sanity/no-v2-imports"
],
"overrides": [
{
"files": ["*.{ts,tsx}"],
"rules": {
"no-undef": 0
}
}
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
}
},
"plugins": ["simple-import-sort", "prettier"],
"rules": {
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/explicit-module-boundary-types": 0,
"@typescript-eslint/no-shadow": "error",
"@typescript-eslint/no-unused-vars": 1,
"simple-import-sort/imports": "warn",
"simple-import-sort/exports": "warn",
"no-unused-vars": 0,
"no-shadow": "off",
"react/display-name": 0,
"react/jsx-no-bind": 0,
"react/jsx-handler-names": 0,
"camelcase": 0,
"symbol-description": 0,
"no-void": 0
},
"settings": {
"import/ignore": ["\\.css$", ".*node_modules.*"],
"import/resolver": {
"node": {
"paths": ["src"],
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}
}
}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -155,3 +155,5 @@ yarn.lock
##intellij
.idea/
*.iml

lib/
Binary file added .parcel-cache/data.mdb
Binary file not shown.
Binary file added .parcel-cache/lock.mdb
Binary file not shown.
Loading

0 comments on commit 1a6ee57

Please sign in to comment.