-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Suppress LineLength for Track 1 #5276
Conversation
/azp run java-docs |
No pipelines are associated with this pull request. |
/azp run java - docs |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run java - keyvault - data |
Azure Pipelines could not run because the pipeline triggers exclude this branch/path. |
/azp run java - eventhubs - data |
Azure Pipelines successfully started running 1 pipeline(s). |
<suppress checks="LineLength" files=".*[/\\]com[/\\]azure[/\\]storage[/\\]"/> | ||
|
||
<!-- Suppress LineLength for Track 1 libraries. --> | ||
<suppress checks="LineLength" files=".*[/\\]com[/\\]microsoft[/\\]"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<suppress checks="LineLength" files=".*[/\\]com[/\\]microsoft[/\\]"/> | |
<suppress checks="LineLength" files=".*[/\\]com[/\\]microsoft[/\\].*"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not required. The regex will match still.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We just want the regex to result in an isMatch when we evaluate a file name with it. The .*
isn't needed to basically take anything else.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To double check, the suppression line here basically does the logic. It looks for any match to that regex, then returns true or false if a match is found.
<!-- Suppress lineLength for Storage on Preview 3. https://github.com/Azure/azure-sdk-for-java/issues/5125 --> | ||
<suppress checks="LineLength" files=".*[/\\]com[/\\]azure[/\\]storage[/\\]*"/> | ||
<!-- Suppress LineLength for Storage on Preview 3. https://github.com/Azure/azure-sdk-for-java/issues/5125 --> | ||
<suppress checks="LineLength" files=".*[/\\]com[/\\]azure[/\\]storage[/\\]"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<suppress checks="LineLength" files=".*[/\\]com[/\\]azure[/\\]storage[/\\]"/> | |
<suppress checks="LineLength" files=".*[/\\]com[/\\]azure[/\\]storage[/\\].*"/> |
Suppress LineLength checkstyle rule for Track 1 libraries.