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",
|
"build": "tsc && vite build",
|
||||||
"preview": "vite preview",
|
"preview": "vite preview",
|
||||||
"format": "prettier --config .prettierrc '**/*.ts' '**/*.tsx' '**/*.js' '**/*.json' --write",
|
"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": {
|
"dependencies": {
|
||||||
"@solidjs/router": "^0.9.1",
|
"@solidjs/router": "^0.9.1",
|
||||||
|
@ -35,4 +36,4 @@
|
||||||
"vite-plugin-qrcode": "^0.2.3",
|
"vite-plugin-qrcode": "^0.2.3",
|
||||||
"vite-plugin-solid": "^2.8.0"
|
"vite-plugin-solid": "^2.8.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue