mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-22 20:44:15 +00:00
Add checker for html
This commit is contained in:
parent
b922441a7c
commit
679e592a5c
17
src/webui/www/.htmlvalidate.json
Normal file
17
src/webui/www/.htmlvalidate.json
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"extends": [
|
||||||
|
"html-validate:recommended"
|
||||||
|
],
|
||||||
|
"rules": {
|
||||||
|
"empty-heading": "off",
|
||||||
|
"long-title": "off",
|
||||||
|
"no-conditional-comment": "off",
|
||||||
|
"no-inline-style": "off",
|
||||||
|
"prefer-button": "off",
|
||||||
|
"prefer-tbody": "off",
|
||||||
|
"text-content": "off",
|
||||||
|
"void-style": "off",
|
||||||
|
"wcag/h63": "off",
|
||||||
|
"wcag/h71": "off"
|
||||||
|
}
|
||||||
|
}
|
@ -7,11 +7,12 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"format": "js-beautify private/*.html private/scripts/*.js private/views/*.html public/*.html public/scripts/*.js && prettier --write **.css",
|
"format": "js-beautify private/*.html private/scripts/*.js private/views/*.html public/*.html public/scripts/*.js && prettier --write **.css",
|
||||||
"lint": "eslint private/*.html private/scripts/*.js private/views/*.html public/*.html public/scripts/*.js && stylelint **/*.css"
|
"lint": "eslint private/*.html private/scripts/*.js private/views/*.html public/*.html public/scripts/*.js && stylelint **/*.css && html-validate private public"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint": "*",
|
"eslint": "*",
|
||||||
"eslint-plugin-html": "*",
|
"eslint-plugin-html": "*",
|
||||||
|
"html-validate": "*",
|
||||||
"js-beautify": "*",
|
"js-beautify": "*",
|
||||||
"prettier": "*",
|
"prettier": "*",
|
||||||
"stylelint": "*",
|
"stylelint": "*",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user