Linting target in frontend
This commit is contained in:
parent
16d1d62b11
commit
fae97efc2d
1 changed files with 3 additions and 2 deletions
|
@ -8,7 +8,8 @@
|
|||
"build": "tsc && vite build",
|
||||
"preview": "vite preview",
|
||||
"format": "prettier --config .prettierrc '**/*.ts' '**/*.tsx' '**/*.js' '**/*.json' --write",
|
||||
"fmt": "prettier --config .prettierrc 'src/**/*.ts' 'src/**/*.tsx' --write && npx eslint --fix 'src/**/*.ts' 'src/**/*.tsx'"
|
||||
"fmt": "prettier --config .prettierrc 'src/**/*.ts' 'src/**/*.tsx' --write && npx eslint --fix 'src/**/*.ts' 'src/**/*.tsx'",
|
||||
"lint": "eslint --ext .ts,.tsx src"
|
||||
},
|
||||
"dependencies": {
|
||||
"@solidjs/router": "^0.9.1",
|
||||
|
|
Loading…
Reference in a new issue