mirror of
https://github.com/modrinth/code.git
synced 2026-09-02 13:05:50 +00:00
refactor: centralize project validation and nags into validation rules
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
"scripts": {
|
||||
"lint": "eslint . && prettier --check .",
|
||||
"fix": "eslint . --fix && prettier --write .",
|
||||
"test": "node --test src/validators/*/tests.ts",
|
||||
"test": "node --test src/validators/*/tests.ts src/validation-rules/tests.ts",
|
||||
"intl:extract": "formatjs extract \"**/*.{vue,ts,tsx,js,jsx,mts,cts,mjs,cjs}\" --ignore \"**/*.d.ts\" --ignore \"node_modules/**/*\" --out-file src/locales/en-US/index.json --preserve-whitespace",
|
||||
"intl:prune-local": "pnpm -w scripts i18n-icu-contract prune-local --scope packages/moderation"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user