Skip to content

Commit 41d228c

Browse files
committed
test
1 parent 81d8aaf commit 41d228c

4 files changed

Lines changed: 3 additions & 5 deletions

File tree

astro/.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
cd astro
12
npx lint-staged

astro/CONTRIBUTING.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -386,9 +386,6 @@ The documentation is translated into these languages:
386386
- Brazilian Portuguese (`pt-br`)
387387
- Spanish (`es`)
388388

389-
390-
391-
392389
### How to translate
393390

394391
1. Request to join the Express.js Website project on [Crowdin](https://express.crowdin.com/website)

astro/eslint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import eslintConfigPrettier from 'eslint-config-prettier';
77
export default [
88
// Global ignores
99
{
10-
ignores: ['dist/', '.astro/', 'node_modules/', 'package-lock.json' ],
10+
ignores: ['dist/', '.astro/', 'node_modules/', 'package-lock.json'],
1111
},
1212

1313
// Base ESLint recommended rules

astro/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"format:check": "prettier --check .",
1414
"check": "npm run format:check && npm run lint",
1515
"fix": "npm run format && npm run lint:fix",
16-
"prepare": "husky"
16+
"prepare": "cd .. && husky astro/.husky"
1717
},
1818
"dependencies": {
1919
"@astrojs/mdx": "^4.3.13",

0 commit comments

Comments
 (0)