eslint-plugin-shiny

v0.0.2
Shiny eslint plugin.
eslint eslintplugin eslint-plugin

eslint-plugin-shiny

Shiny eslint plugin with various rules to restrict development process.

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-shiny:

$ npm install eslint-plugin-shiny --save-dev

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

Usage

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

{
    "plugins": [
        "shiny"
    ]
}

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

{
    "rules": {
        "shiny/rule-name": 2
    }
}

Supported Rules

  • no-index-import Restricts user from writing
import { Heading } from '@allershiny';
npm i eslint-plugin-shiny

Metadata

  • ISC
  • >=0.10.0
  • Sergey
  • released 12/16/2018

Downloads

Maintainers