Update docs

This commit is contained in:
Glavin Wiechert 2017-04-15 03:42:12 -03:00
parent 6756b6747d
commit c19a079040
2 changed files with 31 additions and 55 deletions

View File

@ -9447,8 +9447,8 @@ Specify a configuration file which will override the default name of .perltidyrc
| `default_beautifier` | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| `beautify_on_save` | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| `cs_fixer_path` | :white_check_mark: | :x: | :x: |
| `rules` | :white_check_mark: | :x: | :x: |
| `phpcbf_path` | :white_check_mark: | :x: | :x: |
| `rules` | :white_check_mark: | :x: | :x: |
| `standard` | :white_check_mark: | :white_check_mark: | :x: |
**Description**:
@ -9534,30 +9534,6 @@ Absolute path to the `php-cs-fixer` CLI executable (Supported by PHP-CS-Fixer)
}
```
##### [Rules](#rules)
**Namespace**: `php`
**Key**: `rules`
**Type**: `string`
**Supported Beautifiers**: [`PHP-CS-Fixer`](#php-cs-fixer)
**Description**:
Add rule(s). i.e. line_ending,-full_opening_tag,@PSR2 (Supported by PHP-CS-Fixer)
**Example `.jsbeautifyrc` Configuration**
```json
{
"php": {
"rules": ""
}
}
```
##### [PHPCBF Path](#phpcbf-path)
**Namespace**: `php`
@ -9582,6 +9558,30 @@ Path to the `phpcbf` CLI executable (Supported by PHP-CS-Fixer)
}
```
##### [Rules](#rules)
**Namespace**: `php`
**Key**: `rules`
**Type**: `string`
**Supported Beautifiers**: [`PHP-CS-Fixer`](#php-cs-fixer)
**Description**:
Add rule(s). i.e. line_ending,-full_opening_tag,@PSR2 (Supported by PHP-CS-Fixer)
**Example `.jsbeautifyrc` Configuration**
```json
{
"php": {
"rules": ""
}
}
```
##### [PHPCBF Standard](#phpcbf-standard)
**Namespace**: `php`
@ -16900,7 +16900,7 @@ undefined (Supported by Nginx Beautify)
**Description**:
Path to the `php-cs-fixer` CLI executable (Supported by PHP-CS-Fixer)
Absolute path to the `php-cs-fixer` CLI executable (Supported by PHP-CS-Fixer)
**Example `.jsbeautifyrc` Configuration**
@ -16912,11 +16912,11 @@ Path to the `php-cs-fixer` CLI executable (Supported by PHP-CS-Fixer)
}
```
##### [Fixers](#fixers)
##### [Rules](#rules)
**Namespace**: `php`
**Key**: `fixers`
**Key**: `rules`
**Type**: `string`
@ -16924,38 +16924,14 @@ Path to the `php-cs-fixer` CLI executable (Supported by PHP-CS-Fixer)
**Description**:
Add fixer(s). i.e. linefeed,-short_tag,indentation (Supported by PHP-CS-Fixer)
Add rule(s). i.e. line_ending,-full_opening_tag,@PSR2 (Supported by PHP-CS-Fixer)
**Example `.jsbeautifyrc` Configuration**
```json
{
"php": {
"fixers": ""
}
}
```
##### [Level](#level)
**Namespace**: `php`
**Key**: `level`
**Type**: `string`
**Supported Beautifiers**: [`PHP-CS-Fixer`](#php-cs-fixer)
**Description**:
By default, all PSR-2 fixers and some additional ones are run. (Supported by PHP-CS-Fixer)
**Example `.jsbeautifyrc` Configuration**
```json
{
"php": {
"level": ""
"rules": ""
}
}
```

View File

@ -333,4 +333,4 @@
"lint": "coffeelint src/ spec/",
"code-docs": "codo && open docs/code/index.html"
}
}
}