Move htmllint to npm script.
This commit is contained in:
parent
563926717c
commit
c5a9ebf576
3 changed files with 24 additions and 22 deletions
18
docs/.htmllintrc
Normal file
18
docs/.htmllintrc
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"attr-bans": ["align", "background", "bgcolor", "border", "frameborder", "longdesc", "marginwidth", "marginheight", "scrolling"],
|
||||
"attr-name-style": "dash",
|
||||
"attr-no-unsafe-char": false,
|
||||
"class-style": "dash",
|
||||
"doctype-first": true,
|
||||
"doctype-html5": true,
|
||||
"fig-req-figcaption": true,
|
||||
"html-valid-content-model": false,
|
||||
"id-class-ignore-regex": "(onclick|content|[a-z]+([A-Z][a-z])+)",
|
||||
"id-class-style": "dash",
|
||||
"img-req-alt": false,
|
||||
"indent-style": "spaces",
|
||||
"indent-width": 2,
|
||||
"spec-char-escape": false,
|
||||
"tag-bans": ["b", "i"],
|
||||
"title-max-len": false
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue