eslint-plugin-lucide

0.0.2 • Public • Published

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.

Name Description 🔧
no-icon-without-suffix Disallow the use of icons without the suffix icon 🔧

Package Sidebar

Install

npm i eslint-plugin-lucide

Weekly Downloads

0

Version

0.0.2

License

MIT

Unpacked Size

8.01 kB

Total Files

9

Last publish

Collaborators

  • baerserk