infinum / eightshift-coding-standards

Eightshift coding standards for WordPress
https://eightshift.com
MIT License
16 stars 2 forks source link

Add ignore comments when checking for line length #46

Closed dingo-d closed 2 years ago

dingo-d commented 3 years ago

As per docs: https://github.com/squizlabs/PHP_CodeSniffer/wiki/Customisable-Sniff-Properties#genericfileslinelength

We should add

<rule ref="Generic.Files.LineLength">
    <properties>
        <property name="ignoreComments" value="true" />
    </properties>
</rule>

to our ruleset.

dingo-d commented 2 years ago

Fixed in the newest release.