🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@flourish/eslint-plugin-flourish

Package Overview
Dependencies
Maintainers
8
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@flourish/eslint-plugin-flourish

ESLint rules for Flourish style

latest
Source
npmnpm
Version
0.7.2
Version published
Weekly downloads
431
-47.5%
Maintainers
8
Weekly downloads
 
Created
Source

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

Keywords

eslint

FAQs

Package last updated on 17 Oct 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts