eslint-plugin-banner-indentation-style

1.0.0 • Public • Published

eslint-plugin-banner-indentation-style

ESLint plugin to add support to banner indentation style.

This is a modified version of the core indent plugin, based on Jean-Rene Bouvier rejected pull request https://github.com/eslint/eslint/pull/9676

Do not use the core indent plugin and this one at the same time.

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-banner-indentation-style:

$ npm install eslint-plugin-banner-indentation-style --save-dev

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

Usage

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

{
    "plugins": [
        "banner-indentation-style"
    ]
}

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

{
    "rules": {
        "banner-indentation-style/indent": [
            "error",
            "tab"
        ]
    }
}

Dependencies (1)

Dev Dependencies (4)

Package Sidebar

Install

npm i eslint-plugin-banner-indentation-style

Weekly Downloads

2

Version

1.0.0

License

ISC

Unpacked Size

115 kB

Total Files

6

Last publish

Collaborators

  • pangon