Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify line length checks to ignore certain cases #33

Open
andrewnicols opened this issue Nov 3, 2022 · 0 comments
Open

Modify line length checks to ignore certain cases #33

andrewnicols opened this issue Nov 3, 2022 · 0 comments

Comments

@andrewnicols
Copy link
Contributor

Sadly I don't think that we can easily do this with configuartion of the existing sniff, but essentially there are certain errors and warnings we want to ignore with regards line length. For example, when writing a Behat step, it is not uncommon to end up with a particularly long @Given line, which cannot be broken apart.

Ideally we should ignore line length for certain tags, including Given, When, Then, and others.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant