eslint-plugin-factorial

2.0.3 • Public • Published

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
  }
}

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i eslint-plugin-factorial

    Weekly Downloads

    661

    Version

    2.0.3

    License

    none

    Unpacked Size

    11.8 kB

    Total Files

    12

    Last publish

    Collaborators

    • fcsonline
    • geclos