added docs for new rubocop option

This commit is contained in:
Emanuele Tonello 2015-11-23 11:52:31 +10:00
parent 0915043fbd
commit 02fc882ccc
1 changed files with 48 additions and 0 deletions

View File

@ -1766,6 +1766,30 @@ Indentation size/length (Supported by Rubocop, Ruby Beautify)
} }
``` ```
#### [Ruby - Rubocop Path](#ruby---rubocop-path)
**Namespace**: `ruby`
**Key**: `rubocop_path`
**Type**: `string`
**Supported Beautifiers**: [`Rubocop`](#rubocop)
**Description**:
Path to the `rubocop` CLI executable (Supported by Rubocop)
**Example `.jsbeautifyrc` Configuration**
```json
{
"ruby": {
"rubocop_path": ""
}
}
```
#### [Ruby - Indent char](#ruby---indent-char) #### [Ruby - Indent char](#ruby---indent-char)
**Namespace**: `ruby` **Namespace**: `ruby`
@ -6447,6 +6471,30 @@ Indentation size/length (Supported by Rubocop, Ruby Beautify)
} }
``` ```
#### [Ruby - Rubocop Path](#ruby---rubocop-path)
**Namespace**: `ruby`
**Key**: `rubocop_path`
**Type**: `string`
**Supported Beautifiers**: [`Rubocop`](#rubocop)
**Description**:
Path to the `rubocop` CLI executable (Supported by Rubocop)
**Example `.jsbeautifyrc` Configuration**
```json
{
"ruby": {
"rubocop_path": ""
}
}
```
### Ruby Beautify ### Ruby Beautify