Skip to content

AppifyLab/eslint-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@ezycourse/eslint-plugin

Eslint rules for ezycourse

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 @ezycourse/eslint-plugin:

pnpm add -D @ezycourse/eslint-plugin

or with npm

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

or with yarn

yarn add --dev @ezycourse/eslint-plugin

Usage

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

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

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

{
    "rules": {
        "@ezycourse/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.

Name Description 🔧
no-axios-import Disallow direct import of axio 🔧
no-react-i18next-import Enforce using next-i18next instead of react-i18next 🔧

About

Custom rules for ezycourse project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published