1.0.0-alpha.4 • Published 5 years ago

@markuplint/file-resoliver v1.0.0-alpha.4

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

markuplint

Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public. Build Status Coverage Status Gitter FOSSA Status

A Linter for All Markup Languages (for legacy/modern HTML, Web Components, SVG, MathML, AMP HTML and more).

Packages

PackageNPMPlatform
markuplintnpm versionNode.js
@markuplint/file-resolvernpm versionNode.js
@markuplint/html-lsnpm versionUniversal
@markuplint/html-parsernpm versionUniversal
@markuplint/i18nnpm versionUniversal
@markuplint/ml-astnpm versionUniversal
@markuplint/ml-confignpm versionUniversal
@markuplint/ml-corenpm versionUniversal
@markuplint/ml-specnpm versionUniversal
@markuplint/rulesnpm versionUniversal

Plugins

Rule plugins

PackageNPMPlatform
@markuplint/rule-textlintnpm versionUniversal

Parser plugins

PackageNPMPlatform
@markuplint/vue-parsernpm versionUniversal

Editor Extensions

EditorPageAuthor
Visual Studio Code@YusukeHirao
Vim (Not support v1.x yet)@heavenshell

Other Tools

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

FOSSA Status

Thanks

This linter is inspired by: