1.0.0-alpha.4 • Published 5 years ago
@markuplint/file-resoliver v1.0.0-alpha.4
A Linter for All Markup Languages (for legacy/modern HTML, Web Components, SVG, MathML, AMP HTML and more).
Packages
Package | NPM | Platform |
---|---|---|
markuplint | Node.js | |
@markuplint/file-resolver | Node.js | |
@markuplint/html-ls | Universal | |
@markuplint/html-parser | Universal | |
@markuplint/i18n | Universal | |
@markuplint/ml-ast | Universal | |
@markuplint/ml-config | Universal | |
@markuplint/ml-core | Universal | |
@markuplint/ml-spec | Universal | |
@markuplint/rules | Universal |
Plugins
Rule plugins
Package | NPM | Platform |
---|---|---|
@markuplint/rule-textlint | Universal |
Parser plugins
Package | NPM | Platform |
---|---|---|
@markuplint/vue-parser | Universal |
Editor Extensions
Editor | Page | Author |
---|---|---|
Visual Studio Code | @YusukeHirao | |
Vim (Not support v1.x yet) | @heavenshell |
Other Tools
- gulp-markuplint (Not support v1.x yet) Author: @ktsn
Configuration
.markuplintrc
JSON or YAML format. See API Document for details.
{
"extends": "@markuplint/html-ls",
"rules": {
"rule__enabled": true,
"rule__disabled": false,
"rule__custom-setting": {
"severity": "error",
"value": "VALUE"
},
"rule__custom-setting-with-detail-option": {
"value": "VALUE",
"option": { "OPTIONAL_PROP": "OPTIONAL_VALUE" }
}
},
"nodeRules": [
{
"tagName": "div",
"rules": {
"rule__disable-for-div-tag": false
}
}
],
"childNodeRules": [
{
"selector": "[data-attr^=\"value\"]",
"inheritance": true,
"rules": {
"rule__overwrite-setting-of-selector-matched-element": {
"value": "OVERWROTE_VALUE"
}
}
}
]
}
License
Thanks
This linter is inspired by:
1.0.0-alpha.4
5 years ago
1.0.0-alpha.3
5 years ago
1.0.0-alpha.2
5 years ago
1.0.0-alpha.1
5 years ago
1.0.0-alpha.0
5 years ago