eslint-plugin-peopleai
In general, customized riot's
tag
files linter with a couple of custom rules.
Installation
npm install eslint-plugin-peopleai
Usage
Inside of your .eslintrc
{
plugins: [ 'peopleai' ]
}
Rules
root-context-name-tag
- name of the root context assignment should betag
( 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
License
MIT (c) Svetlana Linuxenko