Skip to content

Commit 41c45b4

Browse files
committed
README: Clarify ignoreUnimportedSymbols works for unused imports
1 parent eb1265f commit 41c45b4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ You can ignore certain patterns by using the `ignoreUnimportedSymbols` config op
106106
</ruleset>
107107
```
108108

109+
Despite the name, you can also use the `ignoreUnimportedSymbols` pattern to ignore specific unused imports.
110+
109111
## Usage
110112

111113
Most editors have a phpcs plugin available, but you can also run phpcs manually. To run phpcs on a file in your project, just use the command-line as follows (the `-s` causes the sniff code to be shown, which is very important for learning about an error).

0 commit comments

Comments
 (0)