[WIP] Update: add htmlhint - #758
Conversation
|
Should we provide a Edit: Just read https://github.com/yaniswang/HTMLHint/wiki/Usage#how-to-use and saw if Seems reasonable but maybe we should have a comment with a link to that page? Or to: https://github.com/yaniswang/HTMLHint/wiki/Rules |
|
Also, should this be an option together with ESLint or should it be a separate option during vue-cli init time? I'm not sure which is better to be honest. Thoughts anyone? |
|
@aladdin-add, @maxmilton, I think having a separate option would be better than combining it with eslint since the whole vue ecosystem is non-opinionated and highly configurable, even tho I think nobody will use just one of them. |
| test: /\.html/, | ||
| enforce: 'pre', | ||
| loader: 'htmlhint-loader', | ||
| exclude: /node_modules/ |
There was a problem hiding this comment.
I think this should be wrapped in {{#lint}}...{{/lint}} just like eslint-loader or have another key in meta.js something like htmlLint
| "eslint-friendly-formatter": "^2.0.7", | ||
| "eslint-loader": "^1.7.1", | ||
| "eslint-plugin-html": "^2.0.0", | ||
| "htmlhint-loader": "1.3.0", |
|
I think, just like @maxmilton said, there should be |
|
Looks like there might soon be a solution for the blank error in |

fixes #210