diff --git a/build/.eslintrc.addon.json b/build/.eslintrc.doc.json similarity index 100% rename from build/.eslintrc.addon.json rename to build/.eslintrc.doc.json diff --git a/build/.htmllintrc b/build/.htmllintrc index 34cb9865a..0a9fad089 100644 --- a/build/.htmllintrc +++ b/build/.htmllintrc @@ -17,7 +17,7 @@ "attr-req-value": true, "attr-validate": true, "class-no-dup": true, - "class-style": "dash", + "class-style": "none", "doctype-first": true, "doctype-html5": true, "fig-req-figcaption": false, @@ -29,7 +29,7 @@ "html-valid-content-model": false, "id-class-ignore-regex": "(onclick|content|[a-z]+([A-Z][a-z])+)", "id-class-no-ad": true, - "id-class-style": "dash", + "id-class-style": false, "id-no-dup": true, "img-req-alt": "allownull", "img-req-src": false, @@ -48,7 +48,6 @@ "tag-close": true, "tag-name-match": true, "tag-self-close": false, - "tagname-lowercase": true, "text-ignore-regex": false, "title-max-len": 70, "title-no-dup": true diff --git a/package.json b/package.json index 8b085726d..656719a96 100644 --- a/package.json +++ b/package.json @@ -115,8 +115,8 @@ "js-build": "npm-run-all js-lint js-compile js-minify", "js-build-docs": "npm-run-all js-lint-docs js-minify-docs", "js-compile": "rollup --config build/rollup.config.js --sourcemap", - "js-lint": "eslint --config build/.eslintrc.json assets/js/addons && eslint --config build/.eslintrc.json assets/js/src/", - "js-lint-docs": "eslint --config build/.eslintrc.addon.json docs-assets/js/", + "js-lint": "eslint --config build/.eslintrc.json assets/js/src/", + "js-lint-docs": "eslint --config build/.eslintrc.doc.json docs-assets/js/", "js-minify": "uglifyjs --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=js/material.js.map,includeSources,url=material.min.js.map\" --output js/material.min.js js/material.js", "js-minify-docs": "uglifyjs --comments \"/^!/\" --mangle --output docs/js/docs.min.js \"docs-assets/js/vendor/*.js\" docs-assets/js/docs.js" },