fix: add pre commit hook to sort dictionaries
This commit is contained in:
@@ -10,6 +10,7 @@ const config = {
|
||||
"*.{js,jsx,ts,tsx}": [buildEslintCommand],
|
||||
"*.{ts,tsx}": () => "tsc -p tsconfig.json --noEmit",
|
||||
"*": "prettier --write",
|
||||
"i18n/dictionaries/*.json": "jsonsort",
|
||||
}
|
||||
|
||||
export default config
|
||||
|
||||
984
package-lock.json
generated
984
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -90,6 +90,7 @@
|
||||
"jest": "^29.7.0",
|
||||
"jest-environment-jsdom": "^29.7.0",
|
||||
"jiti": "^1.21.0",
|
||||
"json-sort-cli": "^4.0.4",
|
||||
"lint-staged": "^15.2.2",
|
||||
"netlify-plugin-cypress": "^2.2.1",
|
||||
"prettier": "^3.2.5",
|
||||
|
||||
Reference in New Issue
Block a user