eslint-plugin-neverblued

1.4.1 • Public • Published

eslint-plugin-neverblued

Sophisticated code formatting ESLint plugin provides a consistent space outside parentheses and brackets.

Installation

Install the plugin and the core as development dependencies, for example with npm, assuming the terminal location at the project folder:

$ npm i eslint eslint-plugin-neverblued --save-dev

Usage

Extend your project ESLint configuration (e.g. .eslintrc.json) with the plugin's recommended pack:

{
    "extends": [
        "eslint:recommended",
        "plugin:neverblued/recommended"
    ]
}

Supported Rules

  • Space outside parentheses and brackets (space-outside)

This original rule makes JS code look more like a human text. It provides a consistent space outside parentheses and brackets, namely the outermost in a group and except when the next token is a coma or a semicolon.

License

This piece of software is provided with a ISC license.

Package Sidebar

Install

npm i eslint-plugin-neverblued

Weekly Downloads

7

Version

1.4.1

License

ISC

Unpacked Size

12.5 kB

Total Files

8

Last publish

Collaborators

  • neverblued