-
Notifications
You must be signed in to change notification settings - Fork 27
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
Exclude #142
Conversation
@@ -15,7 +15,7 @@ class TabForAligningCheck extends Check { | |||
for (i in 0 ... checker.lines.length) { | |||
var line = checker.lines[i]; | |||
if (re.match(line) && !line.contains("//")) { | |||
log("Tab after non-space character. Use space for aligning", i + 1, line.length); | |||
log("Tab after non-space character, Use space for aligning", i + 1, line.length); |
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.
"Use" should be lowercase.
Refactor in progress and will address any issues like this in another PR. Keep posting. |
@@ -0,0 +1,62 @@ | |||
{ |
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.
Very nice to have these in a separated file now! 👍
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.
I really enjoyed removing all the @SuppressWarnings
in code 😄
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.
They're all class-wide now though (for now at least?).
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.
yes.. for now.. need to find a way to implement method level exclude.
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.
You mean field level? (for variables and properties it should be possible as well)
package
andclass
level exclude functionality SuppressWarnings flexibility #120I still have some changes locally so any feedback/issues, let me know instead of updating the code pls.