Fix jade lint errors and check by default.
This commit is contained in:
parent
e31477c0c6
commit
1a88a131b7
|
|
@ -1,4 +1,6 @@
|
|||
{
|
||||
"preset": "clock",
|
||||
"validateIndentation": null
|
||||
"validateIndentation": null,
|
||||
"disallowIdLiterals": null,
|
||||
"disallowAttributeInterpolation": null
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
doctype html
|
||||
html(lang="en")
|
||||
html(lang='en')
|
||||
head
|
||||
title= pageTitle
|
||||
link(rel="stylesheet", href=cssLink)
|
||||
link(rel='stylesheet', href=cssLink)
|
||||
block inlineStyles
|
||||
|
||||
body
|
||||
|
|
|
|||
|
|
@ -8,4 +8,4 @@ block content
|
|||
each pageInfo, url in pages
|
||||
tr
|
||||
td
|
||||
a(href="#{pageInfo.path}/index.html")= url
|
||||
a(href='#{pageInfo.path}/index.html')= url
|
||||
|
|
|
|||
|
|
@ -37,4 +37,3 @@ block content
|
|||
|
||||
if pageInfo.data.webpagetest
|
||||
include ./webpagetest/index.jade
|
||||
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
"url": "https://github.com/soulgalore/sitespeed.io/issues"
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "npm run eslint",
|
||||
"lint": "npm run eslint && npm run pug-lint",
|
||||
"eslint": "eslint .",
|
||||
"eclint": "eclint check * lib/**/* bin/**/* tools/**/* !*.iml",
|
||||
"eclint:fix": "eclint fix * lib/**/* bin/**/* tools/**/* !*.iml",
|
||||
|
|
|
|||
Loading…
Reference in New Issue