sk- / html-linter Goto Github PK
View Code? Open in Web Editor NEWThis project forked from deezer/html-linter
HTML5 Linter based on Google Style Guide
License: Apache License 2.0
This project forked from deezer/html-linter
HTML5 Linter based on Google Style Guide
License: Apache License 2.0
I'd be awesomely delighted by a timely release since the current one doesn't work with Python 3.5 but you apparently fixed that :)
Cheers!
A field like <label spellcheck="false">Example Label</label>
will raise the following error:
241:173: Error: Boolean Attributes: Boolean attributes define their value based on the presence or abscence of the attribute: Change 'spellcheck="false"' to just 'spellcheck'.
First, this is wrong because spellcheck="false"
is not the same as just spellcheck
, however the documentation for the spellcheck
attribute says:
This attribute is an enumerated one and not a Boolean one. This means that the explicit usage of one of the values
true
orfalse
is mandatory and that a shorthand like<label spellcheck>Example Label</label>
is not allowed. The correct usage is<label spellcheck="true">Example Label</label>
.
So this error should not be raised for spellcheck
or any similar enumerated field.
To use this script with CI tools it would be useful if it could exit with a non zero status in case it detects errors.
I just tried to launch the command with --disable=indentation but indentation errors are still showing up.
For files with handlebars templates like <script id="template" type="text/x-handlebars-template">
the following error is shown:
line 22, col 1: Error: Separation of concerns: Javascript should be defined in its own file: Move the contents of this tag to its own JS file.
Please create tags in GitHub for each release.
Please include LICENSE in the source tarball
The tests rely on the data, but it is missing from the source tarball
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.