@flourish/eslint-plugin-flourish

0.7.2 • Public • Published

eslint-plugin-flourish

ESLint rules for Flourish style

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install @flourish/eslint-plugin-flourish:

$ npm install @flourish/eslint-plugin-flourish --save-dev

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

Usage

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

{
    "plugins": [
        "@flourish/flourish"
    ]
}

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

{
    "rules": {
        "@flourish/flourish/no-mixed-spaces-and-tabs": "error"
    }
}

or use the "flourish" config:

{
    "extends": "plugin:@flourish/flourish/flourish"
}


## Supported Rules

* no-mixed-spaces-and-tabs
* brace-style
* no-redeclare

Dependents (0)

Package Sidebar

Install

npm i @flourish/eslint-plugin-flourish

Weekly Downloads

221

Version

0.7.2

License

UNLICENSED

Last publish

Collaborators

  • jontyt
  • rushlet
  • winna_canva
  • bruno-riddy
  • libruca
  • jwitcombe
  • katietannercanva
  • b3n-canva
  • caletilford
  • florin.oprina
  • robinhouston
  • duncanclark
  • daanlouter
  • hughsk
  • mark-kiln
  • animateddata
  • larsvers
  • luptilu
  • bobbysebolao
  • hrobertson
  • oampo