Skip to content

Commit 7c6abfa

Browse files
committed
docs: clarify formatter roles and add links in README
1 parent 864246c commit 7c6abfa

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎README.md‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ composer require --dev interaction-design-foundation/coding-standard
2929

3030
### PHP-CS-Fixer
3131

32+
Primary formatter.
33+
3234
Create `.php-cs-fixer.php` in your project root:
3335

3436
```php
@@ -71,6 +73,8 @@ vendor/bin/php-cs-fixer fix
7173

7274
### PHP_CodeSniffer
7375

76+
Supplementary (optional) formatter.
77+
7478
Create `phpcs.xml` in your project root:
7579

7680
```xml
@@ -86,7 +90,7 @@ Create `phpcs.xml` in your project root:
8690
</ruleset>
8791
```
8892

89-
On top of the Generic, PSR and Slevomat rulesets, `IxDFCodingStandard` ships its own sniffs.
93+
On top of the Generic, PSR and [Slevomat](https://github.com/slevomat/coding-standard) rulesets, `IxDFCodingStandard` ships its own sniffs.
9094
Some run by default; some are opt-in. See [docs/README.md](docs/README.md) for the full list and configuration.
9195

9296
Run it:

0 commit comments

Comments
 (0)