Skip to content

Commit fd53ee7

Browse files
committed
chore: lint-staged and linting updates
1 parent edaffeb commit fd53ee7

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
"fix:prettier": "prettier --write . && markdownlint-cli2 --fix \"**/*.md\"",
5151
"lint": "run-p -sl --aggregate-output lint:*",
5252
"lint-staged": "lint-staged",
53+
"lint:docs": "typedoc --treatWarningsAsErrors --emit none",
5354
"lint:eslint": "eslint .",
5455
"lint:knip": "knip",
5556
"lint:markdown": "markdownlint-cli2 \"**/*.md\"",
@@ -116,7 +117,7 @@
116117
}
117118
},
118119
"lint-staged": {
119-
"*.{ts,js,yml,json5}": [
120+
"*.{ts,js,yml,yaml,json5}": [
120121
"eslint --fix",
121122
"prettier --write",
122123
"cspell lint --no-must-find-files"
@@ -130,6 +131,10 @@
130131
"markdownlint-cli2 --fix",
131132
"prettier --write",
132133
"cspell lint --no-must-find-files"
134+
],
135+
"*.{css,html}": [
136+
"prettier --write",
137+
"cspell lint --no-must-find-files"
133138
]
134139
},
135140
"prettier": {

0 commit comments

Comments
 (0)