up
This commit is contained in:
11
.lintstagedrc
Normal file
11
.lintstagedrc
Normal 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"]
|
||||
}
|
||||
Reference in New Issue
Block a user