nomore-hooks
Some checks failed
deploy / Linting (push) Failing after 51s
deploy / Run end-to-end tests (push) Failing after 1m27s
deploy / Update templates on Mailgun (push) Has been skipped
deploy / Github (push) Failing after 1s

This commit is contained in:
Untone 2024-02-04 13:48:44 +03:00
parent 12f65dfe31
commit 019c2f5976
5 changed files with 2 additions and 17 deletions

View File

@ -1,4 +0,0 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
npm run pre-commit

View File

@ -1,4 +0,0 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
npm run pre-push

View File

@ -1,5 +0,0 @@
{
'*.{js,ts,cjs,mjs,d.mts,jsx,tsx,json,jsonc}': [ 'biome check --apply --no-errors-on-unmatched' ],
"package.json": "sort-package-json",
"public/locales/**/*.json": "sort-json"
}

View File

@ -15,12 +15,10 @@
"hygen": "HYGEN_TMPLS=gen hygen",
"postinstall": "npm run codegen",
"lint": "npm run lint:code && npm run lint:styles",
"lint:code": "npx @biomejs/biome lint src --log-kind=pretty --verbose",
"lint:code:fix": "npx @biomejs/biome lint src --apply --log-kind=pretty --verbose",
"lint:code": "npx @biomejs/biome lint src --log-kind=compact --verbose",
"lint:code:fix": "npx @biomejs/biome lint src --apply-unsafe --log-kind=compact --verbose",
"lint:styles": "stylelint **/*.{scss,css}",
"lint:styles:fix": "stylelint **/*.{scss,css} --fix",
"pre-commit": "lint-staged",
"pre-push": "npm run typecheck",
"prepare": "husky install",
"preview": "vite preview",
"start": "vite",