Compare commits

..

4 Commits

Author SHA1 Message Date
Nikita Pozdniakov
8cef9f08d2 fix lint-staged and lint scripts
Some checks failed
CI TEST (Vault secrets) / build (push) Failing after 7s
2026-04-29 15:38:36 +03:00
Nikita Pozdniakov
62ac18f4fb remove unused script 2026-04-29 15:33:42 +03:00
Nikita Pozdniakov
5544b226d9 Fix pre commit hook 2026-04-29 15:31:26 +03:00
Nikita Pozdniakov
d45fdaf21a Enable strict TypeScript compiler checks 2026-04-29 15:26:16 +03:00
3 changed files with 7 additions and 5 deletions

View File

@@ -1,2 +1,2 @@
#!/usr/bin/env sh
corepack pnpm run precommit
./node_modules/.bin/lint-staged

View File

@@ -13,10 +13,9 @@
"preview": "astro preview",
"astro": "astro",
"preinstall": "node ./scripts/enforce-pnpm.mjs",
"lint": "astro check --minimumFailingSeverity warning && biome check .",
"lint": "astro check && biome check .",
"format": "biome format . --write",
"prepare": "husky",
"precommit": "lint-staged",
"ci": "astro check && biome ci ."
},
"lint-staged": {
@@ -24,7 +23,7 @@
"biome check --no-errors-on-unmatched"
],
"*.{astro}": [
"astro check --minimumFailingSeverity warning"
"astro check"
]
},
"dependencies": {

View File

@@ -10,7 +10,10 @@
"@entities/*": ["src/entities/*"],
"@shared/*": ["src/shared/*"],
"@mocks/*": ["src/__mocks__/*"]
}
},
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true
},
"include": [".astro/types.d.ts", "**/*"],
"exclude": ["dist"]