wireguard-dashboard-admin/.lintstagedrc

21 lines
565 B
Plaintext
Raw Normal View History

2024-03-09 16:27:52 +08:00
{
"*.{js,jsx,ts,tsx}": [
"prettier --cache --ignore-unknown --write",
"eslint --cache --fix"
],
"{!(package)*.json,*.code-snippets,.!({browserslist,nvm})*rc}": [
"prettier --cache --write--parser json"
],
"package.json": ["prettier --cache --write"],
2024-03-22 20:47:17 +08:00
"*.vue": [
"prettier --write",
"eslint --cache --fix",
"stylelint --fix --allow-empty-input"
],
2024-03-09 16:27:52 +08:00
"*.{css,scss,html}": [
"prettier --cache --ignore-unknown --write",
2024-03-22 20:47:17 +08:00
"stylelint --fix --allow-empty-input"
2024-03-09 16:27:52 +08:00
],
"*.md": ["prettier --cache --ignore-unknown --write"]
}