2.0.3 • Published 2 months ago

eslint-plugin-factorial v2.0.3

Weekly downloads
158
License
-
Repository
-
Last release
2 months ago

eslint-plugin-factorial

Factorial Eslint rules

eslint-plugin-factorial

This is eslint-plugin-factorial, a set of custom ESLint rules designed to enhance code quality and enforce best practices in projects. It is ideal for projects that seek to maintain high standards of code clarity and consistency, particularly in the context of JavaScript and TypeScript development.

Installation

First, you need to install ESLint:

npm install eslint --save-dev

Next, install eslint-plugin-factorial:

npm install eslint-plugin-factorial --save-dev

Usage

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

{
  "plugins": [
    "factorial"
  ]
}

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

{
  "rules": {
    "factorial/rule-name": 2
  }
}
2.0.3

2 months ago

2.0.2

3 months ago

2.0.1

3 months ago

2.0.0

3 months ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago