chore: tidy up linters
This commit is contained in:
parent
a3ef31f846
commit
4a7ced5550
30 changed files with 1101 additions and 3482 deletions
|
@ -24,6 +24,7 @@
|
|||
"plugin:prettier/recommended"
|
||||
],
|
||||
"rules": {
|
||||
"prettier/prettier": "error",
|
||||
"react-refresh/only-export-components": "warn",
|
||||
"simple-import-sort/imports": "error",
|
||||
"simple-import-sort/exports": "error"
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "tsc && vite build",
|
||||
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
||||
"lint": "eslint .",
|
||||
"preview": "vite preview",
|
||||
"clean": "rm -rf .turbo node_modules dist"
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue