@operation_code/eslint-plugin-custom-rules

1.0.1 • Public • Published

eslint-plugin-custom-rules

Custom ESLint Rules for Operation Code Projects.

Installation

yarn add --dev @operation_code/eslint-plugin-custom-rules

Usage

Add @operation_code/custom-rules to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
  "plugins": ["@operation_code/custom-rules"]
}

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

{
  "rules": {
    "@operation_code/custom-rules/proptype-definition-above-fn": "error"
  }
}

Supported Rules

  • proptype-definition-above-fn

Package Sidebar

Install

npm i @operation_code/eslint-plugin-custom-rules

Weekly Downloads

4

Version

1.0.1

License

MIT

Unpacked Size

3.09 kB

Total Files

4

Last publish

Collaborators

  • kylemh