Skip to content

Commit

Permalink
Updated Customisable Sniff Properties (markdown)
Browse files Browse the repository at this point in the history
  • Loading branch information
gsherwood authored and afilina committed Oct 1, 2020
1 parent 2b32ba1 commit 6839492
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Customisable-Sniff-Properties.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ If errors are not required, the value of `absoluteLineLimit` can be set to zero.
</rule>
```

If the `ignoreComments` property is set to `true`, no error or warning will be thrown for a line that only contains a comment, no matter how long the line is.
If the `ignoreComments` property is set to `true`, comments at the end of a line will be ignored when calculating line lengths. This also ensures that no error or warning will be thrown for a line that only contains a comment, no matter how long the line is.

```xml
<rule ref="Generic.Files.LineLength">
Expand Down

0 comments on commit 6839492

Please sign in to comment.