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

Add linting and style rules #4

Merged
merged 7 commits into from
Jul 22, 2019
Merged

Add linting and style rules #4

merged 7 commits into from
Jul 22, 2019

Conversation

aforcier
Copy link
Collaborator

Sets up the standard a8c shared styles, along with checkstyle and ktlint. Also fixes a couple pre-existing violations and updates the README.

#3 should be merged first and the base branch of this PR updated.

Will configure CircleCI in a subsequent PR.

To test

  1. Run ./gradlew checkstyle, it should run and report violations (you'll have to make some violations)
  2. Run ./gradlew ktlint, it should run and report violations (you'll have to make some violations)

Note that you can run ./gradlew ktlintFormat and it'll automatically fix the violations it can.

@aforcier aforcier requested a review from mzorz July 19, 2019 22:55
Copy link
Contributor

@mzorz mzorz left a comment

Choose a reason for hiding this comment

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

Looks good @aforcier , also tested and everything went as described :shipit:

Not merging myself as per the description - let me know if #3 is OK to merge or otherwise please feel free to merge that one first, then rebase this one and merge 🙇 (I'm good with both options)

@aforcier aforcier changed the base branch from app/foundation-package-rename to app/foundation July 22, 2019 12:41
@aforcier
Copy link
Collaborator Author

@mzorz merged #3 and rebased this one over app/foundation and updated the base branch. Ready to go! 👍

@mzorz
Copy link
Contributor

mzorz commented Jul 22, 2019

:shipit:

@mzorz mzorz merged commit c5d0e47 into app/foundation Jul 22, 2019
@mzorz mzorz deleted the set-up-linting branch July 22, 2019 13:32
@aforcier aforcier added this to the Demo 1: Basic Creation milestone Aug 2, 2019
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.

2 participants