Update lint scripts
This commit is contained in:
parent
dff81c0a6b
commit
cea47b4f61
|
|
@ -10,8 +10,9 @@
|
||||||
"cypress:open": "cypress open",
|
"cypress:open": "cypress open",
|
||||||
"dev": "concurrently \"vite\" \"npm run codegen:watch\"",
|
"dev": "concurrently \"vite\" \"npm run codegen:watch\"",
|
||||||
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
|
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
|
||||||
|
"lint:errors": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --quiet --ignore-path .gitignore",
|
||||||
"prettier": "prettier . --write",
|
"prettier": "prettier . --write",
|
||||||
"prettier:check": "prettier . --check",
|
"prettier:check": "prettier . --check --ignore-unknown",
|
||||||
"tailwind": "tailwindcss -i tailwind.css -o ../server/vbv_lernwelt/static/css/tailwind.css --watch",
|
"tailwind": "tailwindcss -i tailwind.css -o ../server/vbv_lernwelt/static/css/tailwind.css --watch",
|
||||||
"test": "vitest run",
|
"test": "vitest run",
|
||||||
"typecheck": "npm run codegen && vue-tsc --noEmit -p tsconfig.app.json --composite false",
|
"typecheck": "npm run codegen && vue-tsc --noEmit -p tsconfig.app.json --composite false",
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ echo 'prettier:check'
|
||||||
(cd client && npm run prettier:check)
|
(cd client && npm run prettier:check)
|
||||||
|
|
||||||
echo 'lint and typecheck'
|
echo 'lint and typecheck'
|
||||||
(cd client && npm run lint && npm run typecheck)
|
(cd client && npm run lint:errors && npm run typecheck)
|
||||||
|
|
||||||
echo 'python ufmt check'
|
echo 'python ufmt check'
|
||||||
ufmt check server
|
ufmt check server
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue