This commit is contained in:
2026-03-22 02:14:19 +01:00
parent eb27ea441b
commit 435d1d299f
7 changed files with 4995 additions and 12 deletions

11
.lintstagedrc Normal file
View File

@@ -0,0 +1,11 @@
{
"*.js": ["eslint --fix", "prettier --write"],
"*.css": ["prettier --write"],
"*.jsx": ["prettier --write"],
"*.html.twig": ["twig-cs-fixer lint --fix", "myhtmlvalidate -q"],
"*.php": ["php-cs-fixer fix --config .php-cs-fixer.php"],
"Dockerfile": ["hadolint --ignore DL3002 --ignore DL3003 --ignore DL3008 --ignore DL3013 --ignore DL3016 --ignore DL3022"],
"*.md": ["markdownlint --fix"],
"*openapi.json": ["spectral lint"],
"*.tf": ["tflint"]
}