Add HTMLLint
This commit is contained in:
Родитель
9721b185de
Коммит
23082d261b
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
// names of npm modules to load into htmllint
|
||||
"plugins": [],
|
||||
|
||||
"attr-name-style": "dash",
|
||||
"attr-req-value": false,
|
||||
"class-style": "dash",
|
||||
"id-class-style": "dash",
|
||||
"indent-style": "spaces",
|
||||
"indent-width": 2
|
||||
}
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -24,6 +24,7 @@
|
|||
"eslint": "^4.18.1",
|
||||
"eslint-plugin-node": "^6.0.1",
|
||||
"faucet": "^0.0.1",
|
||||
"htmllint-cli": "^0.0.6",
|
||||
"npm-run-all": "^4.1.2",
|
||||
"nsp": "^3.2.1",
|
||||
"nyc": "^11.5.0",
|
||||
|
@ -45,6 +46,7 @@
|
|||
},
|
||||
"scripts": {
|
||||
"lint": "npm-run-all lint:*",
|
||||
"lint:html": "htmllint 'views/*.hbs'",
|
||||
"lint:js": "eslint .",
|
||||
"lint:nsp": "nsp check",
|
||||
"pretest": "npm run lint",
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
<div class="reveal" id="subscribe-modal" data-reveal>
|
||||
<h3>Subscribe to Breach Alerts</h3>
|
||||
<p>Explanation of what the user will get if they subscribe to breach alerts.</p>
|
||||
<a href="#" class="button sign-in-btn" onClick="doOauth();">Subscribe with Firefox Accounts</a>
|
||||
<a href="#" class="button sign-in-btn" onclick="doOauth();">Subscribe with Firefox Accounts</a>
|
||||
<div class="grid-x">
|
||||
<div class="cell small-5"><hr></div>
|
||||
<div class="cell small-2">or</div>
|
||||
|
|
Загрузка…
Ссылка в новой задаче