Skip to content

JavaScript-relevant configurations for OC projects

Notifications You must be signed in to change notification settings

OperationCode/configs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-plugin-custom-rules

Custom ESLint Rules for Operation Code Projects.

Installation

yarn add -D @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