Skip to content

Commit 5871712

Browse files
committed
docs: wrap / --extend-ignore (review feedback)
1 parent 15e6d46 commit 5871712

File tree

2 files changed

+26
-26
lines changed

2 files changed

+26
-26
lines changed

‎docs/reference/configuration.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2862,7 +2862,7 @@ Flake8 is a static code analysis tool for Python files.
28622862
<tbody>
28632863
<tr>
28642864
<td><strong>Location</strong></td>
2865-
<td>Review &gt; Tools &gt; Enable Flake8</td>
2865+
<td>Review &gt; Tools &gt; Flake8 &gt; Enable</td>
28662866
</tr>
28672867
<tr>
28682868
<td><strong>Default</strong></td>
@@ -3712,23 +3712,19 @@ PMD is an extensible multilanguage static code analyzer. It’s mainly concerned
37123712

37133713
Enable PMD.
37143714

3715-
### PHPMD
3716-
3717-
PHPMD is a static code analysis tool for PHP files.
3718-
3719-
#### Enable PHPMD
3715+
#### Config File
37203716

37213717
<Tabs groupId="config-setting">
37223718
<TabItem value="web-ui" label="Web UI">
37233719
<table>
37243720
<tbody>
37253721
<tr>
37263722
<td><strong>Location</strong></td>
3727-
<td>Review &gt; Tools &gt; Enable PHPMD</td>
3723+
<td>Review > Tools > PMD > Config File</td>
37283724
</tr>
37293725
<tr>
37303726
<td><strong>Default</strong></td>
3731-
<td>true</td>
3727+
<td>_No default_</td>
37323728
</tr>
37333729
</tbody></table>
37343730
</TabItem>
@@ -3737,35 +3733,35 @@ PHPMD is a static code analysis tool for PHP files.
37373733
<tbody>
37383734
<tr>
37393735
<td><strong>Field</strong></td>
3740-
<td>`reviews.tools.phpmd.enabled`</td>
3736+
<td>`reviews.tools.pmd.config_file`</td>
37413737
</tr>
37423738
<tr>
37433739
<td><strong>Datatype</strong></td>
3744-
<td>boolean</td>
3740+
<td>string</td>
37453741
</tr>
37463742
<tr>
37473743
<td><strong>Default</strong></td>
3748-
<td>true</td>
3744+
<td>_No default_</td>
37493745
</tr>
37503746
</tbody></table>
37513747
</TabItem>
37523748
</Tabs>
37533749

3754-
PHPMD is a static code analysis tool for PHP files.
3750+
Optional path to the PMD configuration file relative to the repository.
37553751

3756-
### PHPCS
3752+
### PHPMD
37573753

3758-
PHPCS is a static code analysis and coding-standard checker for PHP (plus JS/CSS) files.
3754+
PHPMD is a static code analysis tool for PHP files.
37593755

3760-
#### Enable PHPCS
3756+
#### Enable PHPMD
37613757

37623758
<Tabs groupId="config-setting">
37633759
<TabItem value="web-ui" label="Web UI">
37643760
<table>
37653761
<tbody>
37663762
<tr>
37673763
<td><strong>Location</strong></td>
3768-
<td>Review &gt; Tools &gt; Enable PHPCS</td>
3764+
<td>Review &gt; Tools &gt; Enable PHPMD</td>
37693765
</tr>
37703766
<tr>
37713767
<td><strong>Default</strong></td>
@@ -3778,7 +3774,7 @@ PHPCS is a static code analysis and coding-standard checker for PHP (plus JS/CSS
37783774
<tbody>
37793775
<tr>
37803776
<td><strong>Field</strong></td>
3781-
<td>`reviews.tools.phpcs.enabled`</td>
3777+
<td>`reviews.tools.phpmd.enabled`</td>
37823778
</tr>
37833779
<tr>
37843780
<td><strong>Datatype</strong></td>
@@ -3792,21 +3788,25 @@ PHPCS is a static code analysis and coding-standard checker for PHP (plus JS/CSS
37923788
</TabItem>
37933789
</Tabs>
37943790

3795-
PHPCS is a static code analysis tool for PHP, JavaScript and CSS files.
3791+
PHPMD is a static code analysis tool for PHP files.
37963792

3797-
#### Config File
3793+
### PHPCS
3794+
3795+
PHPCS is a static code analysis and coding-standard checker for PHP (plus JS/CSS) files.
3796+
3797+
#### Enable PHPCS
37983798

37993799
<Tabs groupId="config-setting">
38003800
<TabItem value="web-ui" label="Web UI">
38013801
<table>
38023802
<tbody>
38033803
<tr>
38043804
<td><strong>Location</strong></td>
3805-
<td>Review > Tools > PMD > Config File</td>
3805+
<td>Review &gt; Tools &gt; Enable PHPCS</td>
38063806
</tr>
38073807
<tr>
38083808
<td><strong>Default</strong></td>
3809-
<td>_No default_</td>
3809+
<td>true</td>
38103810
</tr>
38113811
</tbody></table>
38123812
</TabItem>
@@ -3815,21 +3815,21 @@ PHPCS is a static code analysis tool for PHP, JavaScript and CSS files.
38153815
<tbody>
38163816
<tr>
38173817
<td><strong>Field</strong></td>
3818-
<td>`reviews.tools.pmd.config_file`</td>
3818+
<td>`reviews.tools.phpcs.enabled`</td>
38193819
</tr>
38203820
<tr>
38213821
<td><strong>Datatype</strong></td>
3822-
<td>string</td>
3822+
<td>boolean</td>
38233823
</tr>
38243824
<tr>
38253825
<td><strong>Default</strong></td>
3826-
<td>_No default_</td>
3826+
<td>true</td>
38273827
</tr>
38283828
</tbody></table>
38293829
</TabItem>
38303830
</Tabs>
38313831

3832-
Optional path to the PMD configuration file relative to the repository.
3832+
PHPCS is a static code analysis tool for PHP, JavaScript and CSS files.
38333833

38343834
### Prisma Schema Linting
38353835

‎docs/tools/flake8.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Flake8 can detect many issues, including:
2626
- Undefined names / variables
2727
- Cyclomatic-complexity over threshold (default 10)
2828
- Error-prone constructs (e.g., comparison to literal True / False)
29-
- Select / ignore rule filtering (--select, --extend-ignore)
29+
- Select / ignore rule filtering (`--select`, `--extend-ignore`)
3030
- Extensible plugin ecosystem and custom rule support
3131

3232
## Links

0 commit comments

Comments
 (0)