eslint-plugin-peopleai

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

Usage no npm install needed!

<script type="module">
  import eslintPluginPeopleai from 'https://cdn.skypack.dev/eslint-plugin-peopleai';
</script>

README

eslint-plugin-peopleai

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

Build Status npm version license

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 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

License

MIT (c) Svetlana Linuxenko