@visallo/eslint-plugin-css-modules

0.0.1 • Public • Published

eslint-plugin-visallo-css-modules

Add css-modules support to eslint

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install @visallo/eslint-plugin-css-modules:

$ npm install @visallo/eslint-plugin-css-modules --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install @visallo/eslint-plugin-css-modules globally.

Usage

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

{
    "plugins": [
        "@visallo/css-modules"
    ]
}

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

{
    "rules": {
        "@visallo/css-modules/css-modules-uses-vars": "error"
    }
}

Package Sidebar

Install

npm i @visallo/eslint-plugin-css-modules

Weekly Downloads

0

Version

0.0.1

License

ISC

Unpacked Size

43.1 kB

Total Files

6

Last publish

Collaborators

  • stephencorwin
  • strianta
  • visallo-admin
  • joeferner
  • jharwig
  • jburke372
  • kunklejr
  • mwizeman