Adding in CSS and HTML linting. Fixes 72

This commit is contained in:
Jonathan Kingston
2017-01-25 16:52:27 +00:00
parent 1e6b684915
commit 71001050b4
7 changed files with 231 additions and 105 deletions
+8 -3
View File
@@ -12,8 +12,11 @@
"addons-linter": "^0.15.14",
"eslint": "^3.12.2",
"eslint-plugin-promise": "^3.4.0",
"htmllint-cli": "^0.0.5",
"jpm": "^1.2.2",
"npm-run-all": "^4.0.0"
"npm-run-all": "^4.0.0",
"stylelint": "^7.7.1",
"stylelint-config-standard": "^15.0.1"
},
"engines": {
"firefox": ">=50.0"
@@ -31,7 +34,9 @@
},
"scripts": {
"lint": "npm-run-all lint:*",
"lint:js": "eslint .",
"lint:addon": "addons-linter webextension --self-hosted"
"lint:addon": "addons-linter webextension --self-hosted",
"lint:css": "stylelint webextension/css/*.css",
"lint:html": "htmllint webextension/*.html",
"lint:js": "eslint ."
}
}