Skip to content

neverblued/eslint-plugin-neverblued

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Sophisticated code formatting ESLint plugin supporting an original space-outside rule.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published