We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01ac9d9 commit 4796677Copy full SHA for 4796677
lint-staged.config.js
@@ -6,6 +6,11 @@ export default {
6
'vue-tsc --noEmit',
7
'tsc --noEmit',
8
'tsc-strict'
9
+ ],
10
+
11
+ './src/locales/*.json': (stagedFiles) => [
12
+ 'lobe-i18n locale',
13
+ ...formatFiles(stagedFiles)
14
]
15
}
16
package.json
@@ -28,7 +28,8 @@
28
"prepare": "husky || true",
29
"preview": "vite preview",
30
"lint": "eslint src",
31
- "lint:fix": "eslint src --fix"
+ "lint:fix": "eslint src --fix",
32
+ "locale": "lobe-i18n locale"
33
},
34
"devDependencies": {
35
"@babel/core": "^7.24.7",
0 commit comments