Skip to content

Add checkstyle.xml, idea-style guide (For importing in IDE) and enabl…#778

Merged
dhaval24 merged 4 commits into
masterfrom
CheckstyleRules
Dec 13, 2018
Merged

Add checkstyle.xml, idea-style guide (For importing in IDE) and enabl…#778
dhaval24 merged 4 commits into
masterfrom
CheckstyleRules

Conversation

@dhaval24

@dhaval24 dhaval24 commented Dec 3, 2018

Copy link
Copy Markdown
Contributor

Add CheckStyle rules.

Related #490 #694

@littleaj let's review the rules here so we can make a bulk change in the whole SDK.

@dhaval24 dhaval24 self-assigned this Dec 3, 2018
<module name="SuppressionCommentFilter"/>
</module>
<module name="SuppressWarningsFilter"/>
</module> No newline at end of file

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want an empty line before EOF?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@reyang What is the general practice you have seen in other projects? I am fine with having one.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

General practice is to add empty line before EOF.

Comment thread config/checkstyle/intellij-java-google-style.xml
Comment thread config/checkstyle/checkstyle.xml Outdated
Comment thread config/checkstyle/checkstyle.xml
Comment thread config/checkstyle/checkstyle.xml Outdated
Comment thread config/checkstyle/checkstyle.xml
Comment thread config/checkstyle/checkstyle.xml
@dhaval24

dhaval24 commented Dec 7, 2018

Copy link
Copy Markdown
Contributor Author

@littleaj can we conclude on this PR today? Let me know if there are additional things in your mind.

@dhaval24

dhaval24 commented Dec 8, 2018

Copy link
Copy Markdown
Contributor Author

@littleaj can you please approve this PR. All your comments are now resolved. We should be good to merge this.

@dhaval24 dhaval24 merged commit cd5ccbc into master Dec 13, 2018
@dhaval24 dhaval24 deleted the CheckstyleRules branch December 13, 2018 04:53
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