From 267082dc3364587bbdc35811fc4ccc8716e461f1 Mon Sep 17 00:00:00 2001 From: Jonid Bendo Date: Fri, 21 Apr 2017 16:07:32 +0200 Subject: [PATCH] autogenerated files --- docs/options.md | 57 ++++++++++++++++++++++++++++++++++++++++++++++++ src/options.json | 6 ++--- 2 files changed, 60 insertions(+), 3 deletions(-) diff --git a/docs/options.md b/docs/options.md index f8a5bc6..cce9b1e 100644 --- a/docs/options.md +++ b/docs/options.md @@ -9570,6 +9570,7 @@ Specify a configuration file which will override the default name of .perltidyrc | `disabled` | :white_check_mark: | :white_check_mark: | :white_check_mark: | | `default_beautifier` | :white_check_mark: | :white_check_mark: | :white_check_mark: | | `beautify_on_save` | :white_check_mark: | :white_check_mark: | :white_check_mark: | +| `allow_risky` | :white_check_mark: | :x: | :x: | | `cs_fixer_path` | :white_check_mark: | :x: | :x: | | `cs_fixer_version` | :white_check_mark: | :x: | :x: | | `fixers` | :white_check_mark: | :x: | :x: | @@ -9637,6 +9638,34 @@ Automatically beautify PHP files on save 2. Go into *Packages* and search for "*Atom Beautify*" package. 3. Find the option "*Beautify On Save*" and change it to your desired configuration. +##### [Allow risky rules](#allow-risky-rules) + +**Namespace**: `php` + +**Key**: `allow_risky` + +**Default**: `no` + +**Type**: `string` + +**Enum**: `no` `yes` + +**Supported Beautifiers**: [`PHP-CS-Fixer`](#php-cs-fixer) + +**Description**: + +allow risky rules to be applied! (Supported by PHP-CS-Fixer) + +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "php": { + "allow_risky": "no" + } +} +``` + ##### [PHP-CS-Fixer Path](#php-cs-fixer-path) **Namespace**: `php` @@ -17421,6 +17450,34 @@ Add rule(s). i.e. line_ending,-full_opening_tag,@PSR2 (PHP-CS-Fixer 2 only) (Sup } ``` +##### [Allow risky rules](#allow-risky-rules) + +**Namespace**: `php` + +**Key**: `allow_risky` + +**Default**: `no` + +**Type**: `string` + +**Enum**: `no` `yes` + +**Supported Beautifiers**: [`PHP-CS-Fixer`](#php-cs-fixer) + +**Description**: + +allow risky rules to be applied! (Supported by PHP-CS-Fixer) + +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "php": { + "allow_risky": "no" + } +} +``` + ##### [PHPCBF Path](#phpcbf-path) **Namespace**: `php` diff --git a/src/options.json b/src/options.json index a61c4fb..213bbbe 100644 --- a/src/options.json +++ b/src/options.json @@ -5860,6 +5860,7 @@ "no", "yes" ], + "description": "allow risky rules to be applied! (Supported by PHP-CS-Fixer)", "beautifiers": [ "PHP-CS-Fixer" ], @@ -5867,8 +5868,7 @@ "language": { "name": "PHP", "namespace": "php" - }, - "description": "allow risky rules to be applied!" + } }, "phpcbf_path": { "title": "PHPCBF Path", @@ -9058,4 +9058,4 @@ } } } -} +} \ No newline at end of file