Linting target in frontend

This commit is contained in:
Imbus 2024-02-27 03:17:40 +01:00
parent 16d1d62b11
commit fae97efc2d

View file

@ -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",