Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion meta.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ module.exports = {
},
"lint": {
"type": "confirm",
"message": "Use ESLint to lint your code?"
"message": "Use ESLint & HTMLHint to lint your code?"
},
"lintConfig": {
"when": "lint",
Expand Down
6 changes: 6 additions & 0 deletions template/build/webpack.base.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ module.exports = {
}
},
{{/lint}}
{
test: /\.html/,
enforce: 'pre',
loader: 'htmllint-loader',
exclude: /node_modules/
},
{
test: /\.vue$/,
loader: 'vue-loader',
Expand Down
3 changes: 3 additions & 0 deletions template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
"eslint-friendly-formatter": "^3.0.0",
"eslint-loader": "^1.7.1",
"eslint-plugin-html": "^3.0.0",
"htmlhint-loader": "1.3.0",
"eslint-plugin-html": "^2.0.0",
"htmllint-loader": "^1.3.8",
{{#if_eq lintConfig "standard"}}
"eslint-config-standard": "^6.2.1",
"eslint-plugin-promise": "^3.4.0",
Expand Down