markuplint
    TypeScript icon, indicating that this package has built-in type declarations

    1.11.4 • Public • Published

    markuplint

    npm version Build Status Coverage Status

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

    Install

    $ npm install -D markuplint
    $ yarn add -D markuplint
    

    Supported for Node.js v12.4.0 or later.

    Usage

    CLI

    $ npx markuplint verifyee.html
    
    $ npx markuplint --help
    
    Usage
    	$ markuplint <HTML file pathes (glob format)>
    	$ <stdout> | markuplint
    
    Options
    	--config-file,  -c FILE_PATH  Ruleset file path.
    	--fix,                        Fix HTML.
    	--format,       -f FORMAT     Output format. Support "JSON", "Simple" and "Standard". Default: "Standard".
    	--no-color,                   Output no color.
    	--problem-only, -p            Output only problems, without passeds.
    	--verbose                     Output with detailed information.
    
    	--help,         -h            Show help.
    	--version,      -v            Show version.
    
    Examples
    	$ markuplint verifyee.html --ruleset path/to/.markuplintrc
    	$ cat verifyee.html | markuplint
    

    Screen shot

    API

    Configuration

    Rules

    • Rules
    • Customizing your rule 🚧 WIP

    Thanks

    This linter is inspired by:

    Keywords

    none

    Install

    npm i markuplint

    DownloadsWeekly Downloads

    1,927

    Version

    1.11.4

    License

    MIT

    Unpacked Size

    460 kB

    Total Files

    50

    Last publish

    Collaborators

    • yusukehirao