Fix jade lint errors and check by default.

This commit is contained in:
Tobias Lidskog 2016-03-29 23:53:01 +02:00
parent e31477c0c6
commit 1a88a131b7
5 changed files with 7 additions and 6 deletions

View File

@ -1,4 +1,6 @@
{
"preset": "clock",
"validateIndentation": null
"validateIndentation": null,
"disallowIdLiterals": null,
"disallowAttributeInterpolation": null
}

View File

@ -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

View File

@ -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

View File

@ -37,4 +37,3 @@ block content
if pageInfo.data.webpagetest
include ./webpagetest/index.jade

View File

@ -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",