Wondering what’s next for npm?Check out our public roadmap! Β»

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

    1.6.0Β β€’Β PublicΒ β€’Β Published

    @markuplint/rules

    npm version Build Status Coverage Status

    Rules

    Conformance checking

    Avaiable Docs Docs(ja) Rule Fixable
    βœ… βœ… βœ… attr-duplication 🚧
    βœ… βœ… βœ… character-reference 🚧
    🚧 🚧 🚧 comment
    βœ… βœ… βœ… deprecated-attr
    βœ… βœ… βœ… deprecated-element
    βœ… βœ… βœ… doctype 🚧
    βœ… βœ… βœ… id-duplication
    βœ… βœ… βœ… permitted-contents
    βœ… βœ… βœ… required-attr

    Accessibility

    Avaiable Docs Docs(ja) Rule Fixable
    🚧 🚧 🚧 accessible-text
    🚧 🚧 🚧 attr-role
    🚧 🚧 🚧 heading-in-sectioning-content
    🚧 🚧 🚧 heading-in-sectioning-root
    🚧 🚧 🚧 heading-levels-skipping
    🚧 🚧 🚧 labeling-controls
    βœ… βœ… βœ… landmark-roles
    βœ… βœ… βœ… required-h1

    Usability

    Avaiable Docs Docs(ja) Rule Fixable
    🚧 🚧 🚧 external-link 🚧

    Structure Design and Naming Convention

    Avaiable Docs Docs(ja) Rule Fixable
    βœ… βœ… βœ… class-naming
    🚧 🚧 🚧 custom-element-naming
    🚧 🚧 🚧 data-attr-naming
    🚧 🚧 🚧 required-element

    Style

    Avaiable Docs Docs(ja) Rule Fixable
    βœ… βœ… βœ… attr-equal-space-after βœ…
    βœ… βœ… βœ… attr-equal-space-before βœ…
    βœ… βœ… βœ… attr-spacing βœ…
    βœ… βœ… βœ… attr-value-quotes βœ…
    βœ… βœ… βœ… case-sensitive-attr-name βœ…
    βœ… βœ… βœ… case-sensitive-tag-name βœ…
    🚧 🚧 🚧 comment-spasing 🚧
    🚧 🚧 🚧 event-attr
    βœ… βœ… βœ… indentation βœ…
    🚧 🚧 🚧 indentation-attr 🚧
    🚧 🚧 🚧 path
    🚧 🚧 βœ… self-closing-tag 🚧
    🚧 🚧 🚧 tag-omission 🚧

    Install

    This package is default used that dependenced by markuplint.

    Prerequisites: Node.js (Version 12.4.0 or later)

    $ npm install @markuplint/rules
    
    $ yarn add @markuplint/rules

    Contributing

    $ git clone git@github.com:markuplint/markuplint.git -b master
    $ yarn
    $ yarn build
    $ yarn test
    

    Copyright Β© 2021 markuplint. Under the MIT License.

    Keywords

    none

    Install

    npm i @markuplint/rules

    DownloadsWeekly Downloads

    296

    Version

    1.6.0

    License

    MIT

    Unpacked Size

    336 kB

    Total Files

    62

    Last publish

    Collaborators

    • avatar