Compare commits
4 Commits
70fa864f6d
...
8cef9f08d2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8cef9f08d2 | ||
|
|
62ac18f4fb | ||
|
|
5544b226d9 | ||
|
|
d45fdaf21a |
@@ -1,2 +1,2 @@
|
||||
#!/usr/bin/env sh
|
||||
corepack pnpm run precommit
|
||||
./node_modules/.bin/lint-staged
|
||||
@@ -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": {
|
||||
|
||||
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user