robbiedigital / htmllint-loader Goto Github PK
View Code? Open in Web Editor NEWhtmllint loader for webpack
Home Page: https://www.npmjs.com/package/htmllint-loader
License: MIT License
htmllint loader for webpack
Home Page: https://www.npmjs.com/package/htmllint-loader
License: MIT License
Hello,
I'm having this issue with deasync: abbr/deasync#89
Can the dependency be upgraded to 0.1.12?
Tested locally and it solves the problem,
Thanks!
Seems that query: { } is not used ?
please update "htmllint": "^0.4.0"->"^0.6.0"
Got the error
0:0 warning unknown Index passed to line/column function (1178) does not keep with order (last was 2527)
I use webpack 2 with:
{
enforce: "pre",
test: /\.html?$/,
loader: "htmllint-loader",
options: {
configFile: ".htmllintrc"
},
exclude: /(node_modules)/
}
and
{
"plugins": [],
"attr-bans": ["align", "background", "bgcolor", "border", "frameborder", "longdesc", "marginwidth", "marginheight", "scrolling", "style"],
"attr-name-style": false,
"attr-no-unsafe-char": false,
"attr-req-value": false,
"class-style": "dash",
"doctype-first": "smart",
"id-class-style": false,
"img-req-alt": false,
"img-req-src": false,
"indent-style": "tabs",
"line-end-style": false,
"line-max-len": false,
"spec-char-escape": false,
"table-req-header": false,
"tag-bans": ["style"],
"tag-close": false,
"tag-name-match": false,
"tag-self-close": false
}
Any idea?
Hi!
After update to 2.0.0, the htmlint-loader does not use the .htmllintrc config from the root.
Before the update, this was working
{
test: /\.html$/,
use: ['raw-loader', 'htmllint-loader'],
},
Now, I had to fix with:
{
test: /\.html$/,
use: [
'raw-loader',
{
loader: 'htmllint-loader',
options: {
config: '.htmllintrc',
},
},
],
},
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.