Adding in CSS and HTML linting. Fixes 72
This commit is contained in:
+8
-3
@@ -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 ."
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user