0.0.2 • Published 2 years ago

eslint-plugin-lucide v0.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

eslint-plugin-lucide

ESLint plugin for Lucide icons usage

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-lucide:

npm install eslint-plugin-lucide --save-dev

Usage

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

{
  "plugins": ["lucide"]
}

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

{
  "rules": {
    "lucide/rule-name": 2
  }
}

Rules

šŸ”§ Automatically fixable by the --fix CLI option.

NameDescriptionšŸ”§
no-icon-without-suffixDisallow the use of icons without the suffix iconšŸ”§
0.0.2

2 years ago

0.0.1

2 years ago