eslint-plugin-shiny

0.0.2 • Public • Published

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';

Dependencies (0)

    Dev Dependencies (3)

    Package Sidebar

    Install

    npm i eslint-plugin-shiny

    Weekly Downloads

    46

    Version

    0.0.2

    License

    ISC

    Unpacked Size

    5.39 kB

    Total Files

    7

    Last publish

    Collaborators

    • toremeek
    • aslak2800
    • roninjc
    • mariusjn
    • lobunto
    • konrad-j
    • oyvigri
    • goodleby
    • jimoe
    • vnorvik
    • kevinmidboe
    • tehtehteh