0.0.2 • Published 6 years ago
eslint-plugin-prettiest v0.0.2
eslint-plugin-prettiest
ESLint plugin to "fix" prettier formatting
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-prettiest:
$ npm install eslint-plugin-prettiest --save-devNote: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-prettiest globally.
Usage
Add prettiest to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": ["prettiest"]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"prettiest/no-block-after-closing": 2
}
}Supported Rules
no-block-after-closing— disallow closing braces on the same line as a subsequent block