@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

Install

npm i @flourish/eslint-plugin-flourish

DownloadsWeekly Downloads

202

Version

0.7.2

License

UNLICENSED

Last publish

Collaborators

  • jwitcombe
  • katietannercanva
  • b3n-canva
  • caletilford
  • flourish-canva
  • declanvong
  • florin.oprina
  • robinhouston
  • duncanclark
  • daanlouter
  • hughsk
  • mark-kiln
  • animateddata
  • larsvers
  • luptilu
  • bobbysebolao
  • liakouras
  • oliviajanelawlor
  • hrobertson
  • chrisnewell
  • oampo
  • sebr
  • wearymonkey
  • mattcarter-canva
  • marcfallows
  • mafecafe
  • connormj
  • simonaats