2.0.0 • Published 1 year ago

@dahazra/eslint-plugin v2.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

@dahazra/eslint-plugin

A personal plugin made by David Hazra

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install @dahazra/eslint-plugin:

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

Usage

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

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

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

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

Configurations

Name
āœ…recommended

Rules

šŸ’¼ Configurations enabled in.\ āœ… Set in the recommended configuration.

NameDescriptionšŸ’¼
next-imageEnforce required attributes on the Next.js Image componentāœ…
2.0.0

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

0.0.0

1 year ago