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

TernaryCheck_issue#167 #198

Closed

Conversation

alexkravin
Copy link
Contributor

Now Check became more general, it has 3 options, 2 of them make Check less strict, so user can set it according to his own needs.
Check analyzes the expression for more, than user-defined ternary operators (maxTernaryPerExpressionCountValue)
User can choose options to ignore ternary sequence with explicitly set priority level (expression in braces) and also make Check ignore ternary operators which are isolated in one line.
More detailed description in docs.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.07%) when pulling 1bd7cb4 on alexkravin:TernaryCheck_issue#167 into b54c734 on sevntu-checkstyle:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.07%) when pulling 8674e02 on alexkravin:TernaryCheck_issue#167 into b54c734 on sevntu-checkstyle:master.

@daniilyar
Copy link
Member

Merged into main repo. Thank you for contribution!

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

Successfully merging this pull request may close these issues.

3 participants