Sophisticated code formatting ESLint plugin provides a consistent space outside parentheses and brackets.
Install the plugin and the core as development dependencies, for example with npm, assuming the terminal location at the project folder:
$ npm i eslint @f1stnpm3/amet-soluta-vero --save-dev
Extend your project ESLint configuration (e.g. .eslintrc.json
)
with the plugin's recommended
pack:
{
"extends": [
"eslint:recommended",
"plugin:neverblued/recommended"
]
}
- 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.
This piece of software is provided with a ISC license.