Skip to content

sam-parsons/eslint-plugin-template

Repository files navigation

eslint-plugin-template

custom rule


Build Status version MIT License

Installation

This module is distributed via npm which is bundled with node and should be installed as one of your project's devDependencies:

npm install --save-dev eslint-plugin-template

This library has a required peerDependencies listing for eslint.

Usage

Add template to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
  "plugins": ["template"]
}

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

{
  "rules": {
    "template/template": "error"
  }
}

Further Reading

LICENSE

MIT