Skip to content

behind-the-moon/eslint-plugin-peopleai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-plugin-peopleai

In general, customized riot's tag files linter with a couple of custom rules.

Build Status npm version license Standard - JavaScript Style Guide

Installation

  npm install eslint-plugin-peopleai

Usage

Inside of your .eslintrc

{
  "plugins": [ "peopleai" ],
  "rules" : {
    "peopleai/root-context-name-tag" : 2
  }
}

Rules

  • root-context-name-tag - name of the root context assignment should be tag ( var tag = this; )
  Root scope identifier should be named as tag (peopleai/root-context-name-tag)

With support of

  • html general checks
  • no text inside of a tag
  • plugins nesting

Screenshot

Further reading

License

MIT (c) Svetlana Linuxenko

Releases

No releases published

Packages

No packages published