Skip to content

heywon0909/ate

Repository files navigation

eslint-plugin-ate

This is eslint-plugin for ate-Eight

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-ate:

npm install eslint-plugin-ate --save-dev

Usage

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

{
  "plugins": ["ate"]
}

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

{
  "rules": {
    "ate/rule-name": 2
  }
}

Configurations

TODO: Run eslint-doc-generator to generate the configs list (or delete this section if no configs are offered).

Rules

Name
react-event-handler
react-props-check
react-props-destructuring
ts-naming-interface
ts-naming-type

💼 TBD 🚫 TBD 🏃 TBD ☑️ Set in the recommended 💡 Manually fixable by [editor suggestions] ❌ Deprecated.

Name Description 💼 🚫 🔧 💡
react-event-handler Definition for react event handler function naming
react-props-check Definition for React functional Components Props Part1
react-props-destructuring Definition for React function Component Part 2
ts-naming-interface Definition for typescript Interface naming
ts-naming-type Definition for typescript Type naming
react-props-name Definition for React Functional Component Props name

Releases

No releases published

Packages

No packages published