An HTML linter for all markup developers.
MIT License
Published by YusukeHirao almost 3 years ago
disallowed-element
end-tag
ineffective-attr
no-boolean-attr-value
no-default-value
no-hard-code-id
no-refer-to-non-existent-id
no-use-event-handler-attr
required-element
extends
option supports plugins.
markuplint:recommended
.plugins
option.selector
property supports Selector Level 3 and 4.regexSelector
property.Long Option | Short Option | Argument | Default | Description |
---|---|---|---|---|
--config |
-c |
File path | none | A configuration file path |
--no-search-config |
none | none | false | No search a configure file automatically. |
--ignore-ext |
none | none | false | Evaluate files that are received even though the type of extension. |
--no-import-preset-rules |
none | none | false | No import preset rules. |
--locale |
none | none | OS setting | Locale of the message of violation. |
--create-rule |
none | none | none | Adds the scaffold of a custom rule to any project. |
Provides MLEngine
class newly.
Recommends using it instead of lint
function.
lint
function became to be deprecated.
@markuplint/types
.Published by YusukeHirao about 3 years ago
Published by YusukeHirao about 3 years ago
Published by YusukeHirao about 3 years ago
Published by YusukeHirao over 3 years ago
aria-hidden=true
when not use the hidden attribute.Published by YusukeHirao over 3 years ago
Published by YusukeHirao over 3 years ago
excludeFiles
option
Published by YusukeHirao over 3 years ago
class-naming
rule.Published by YusukeHirao over 3 years ago
@markuplint/react-spec
.@markuplint/jsx-parser
and @markuplint/react-spec
.@markuplint/jsx-parser
and @markuplint/react-spec
.Published by YusukeHirao over 3 years ago
lint-staged
Published by YusukeHirao over 3 years ago
@markuplint/jsx-parser
)Published by YusukeHirao over 3 years ago
--init
option to CLI@markuplint/jsx-parser
)problemOnly
option on CLI@markuplint/rule-textlint
) (@JounQin)Published by YusukeHirao over 3 years ago
Don't use this version.
Published by YusukeHirao over 3 years ago
Published by YusukeHirao over 3 years ago
Improved the parser and added supporting some langs/templates.
@markuplint/ml-ast
to @markuplint/parser-utils
.@markuplint/php-parser
.@markuplint/erb-parser
.@markuplint/ejs-parser
.@markuplint/nunjucks-parser
.@markuplint/mustache-parser
.@markuplint/liquid-parser
.Published by YusukeHirao over 3 years ago
<portal>
) to html-spec
.<command>
) and the element element (<element>
) from html-spec
because they were removed from MDN docs.Published by YusukeHirao almost 4 years ago
wai-aria
rule.