@teddytags/eslint-plugin

ESLint integration with TeddyTags

Usage no npm install needed!

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

README

@teddytags/eslint-plugin

ESLint integration with TeddyTags

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install @teddytags/eslint-plugin:

$ npm install @teddytags/eslint-plugin --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install @teddytags/eslint-plugin globally.

Usage

Add @teddytags to the plugins section of your .eslintrc configuration file.

{
  "plugins": ["@teddytags"]
}

Then configure the rules you want to use under the rules section.

{
  "rules": {
    "@teddytags/rule-name": 2
  }
}

Supported Rules