Skip to content

Repository files navigation

@ezylab/eslint-plugin

Eslint rules for ezycourse

Downloads totalVisit the NPM page

Installation

You'll first need to install ESLint:

pnpm add -D eslint

or with npm

npm install --save-dev eslint

or with yarn

yarn add --dev eslint

Next, install @ezylab/eslint-plugin:

pnpm add -D @ezylab/eslint-plugin

or with npm

npm install --save-dev @ezylab/eslint-plugin

or with yarn

yarn add --dev @ezylab/eslint-plugin

Usage

Add @ezylab to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin part:

{
"plugins": ["@ezylab"]
}

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

{
"rules": {
"@ezylab/rule-name": 2
}
}

Configurations

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

Rules

🔧 Automatically fixable by the --fix CLI option.

NameDescription🔧
no-axios-importDisallow direct import of axios🔧
no-react-i18next-importEnforce using next-i18next instead of react-i18next🔧

About

Custom rules for ezycourse project

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages