@tilework/eslint-plugin-mosaic

0.0.10 • Public • Published

@tilework/eslint-plugin-mosaic

Eslint plugin for Mosaic

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install @tilework/eslint-plugin-mosaic:

npm install @tilework/eslint-plugin-mosaic --save-dev

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

Usage

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

{
    "plugins": [
        "@tilework/mosaic"
    ]
}

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

{
    "rules": {
        "@tilework/mosaic/rule-name": 2
    }
}

Package Sidebar

Install

npm i @tilework/eslint-plugin-mosaic

Weekly Downloads

1,287

Version

0.0.10

License

MIT

Unpacked Size

22.5 kB

Total Files

12

Last publish

Collaborators

  • aleksandrskondratjevs
  • alfredsgenkins
  • yeegor