Compare commits
4 Commits
70fa864f6d
...
8cef9f08d2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8cef9f08d2 | ||
|
|
62ac18f4fb | ||
|
|
5544b226d9 | ||
|
|
d45fdaf21a |
@@ -1,2 +1,2 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
corepack pnpm run precommit
|
./node_modules/.bin/lint-staged
|
||||||
@@ -13,10 +13,9 @@
|
|||||||
"preview": "astro preview",
|
"preview": "astro preview",
|
||||||
"astro": "astro",
|
"astro": "astro",
|
||||||
"preinstall": "node ./scripts/enforce-pnpm.mjs",
|
"preinstall": "node ./scripts/enforce-pnpm.mjs",
|
||||||
"lint": "astro check --minimumFailingSeverity warning && biome check .",
|
"lint": "astro check && biome check .",
|
||||||
"format": "biome format . --write",
|
"format": "biome format . --write",
|
||||||
"prepare": "husky",
|
"prepare": "husky",
|
||||||
"precommit": "lint-staged",
|
|
||||||
"ci": "astro check && biome ci ."
|
"ci": "astro check && biome ci ."
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
@@ -24,7 +23,7 @@
|
|||||||
"biome check --no-errors-on-unmatched"
|
"biome check --no-errors-on-unmatched"
|
||||||
],
|
],
|
||||||
"*.{astro}": [
|
"*.{astro}": [
|
||||||
"astro check --minimumFailingSeverity warning"
|
"astro check"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -10,7 +10,10 @@
|
|||||||
"@entities/*": ["src/entities/*"],
|
"@entities/*": ["src/entities/*"],
|
||||||
"@shared/*": ["src/shared/*"],
|
"@shared/*": ["src/shared/*"],
|
||||||
"@mocks/*": ["src/__mocks__/*"]
|
"@mocks/*": ["src/__mocks__/*"]
|
||||||
}
|
},
|
||||||
|
"strict": true,
|
||||||
|
"noUnusedLocals": true,
|
||||||
|
"noUnusedParameters": true
|
||||||
},
|
},
|
||||||
"include": [".astro/types.d.ts", "**/*"],
|
"include": [".astro/types.d.ts", "**/*"],
|
||||||
"exclude": ["dist"]
|
"exclude": ["dist"]
|
||||||
|
|||||||
Reference in New Issue
Block a user