Title: Checkstyle rules for Square's code style? · Issue #9 · square/java-code-styles · GitHub
Open Graph Title: Checkstyle rules for Square's code style? · Issue #9 · square/java-code-styles
X Title: Checkstyle rules for Square's code style? · Issue #9 · square/java-code-styles
Description: I like your code style. However, when reformatting my code using your style I am encountering various checkstyle violations for either Sun's or Google's default rules. It mostly complains about whitespaces before/after curly braces, line...
Open Graph Description: I like your code style. However, when reformatting my code using your style I am encountering various checkstyle violations for either Sun's or Google's default rules. It mostly complains about whi...
X Description: I like your code style. However, when reformatting my code using your style I am encountering various checkstyle violations for either Sun's or Google's default rules. It mostly complains a...
Opengraph URL: https://github.com/square/java-code-styles/issues/9
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Checkstyle rules for Square's code style?","articleBody":"I like your code style. However, when reformatting my code using your style I am encountering various checkstyle violations for either [Sun's](https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml) or [Google's](https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml) default rules. It mostly complains about whitespaces before/after curly braces, line length and such stuff.\n\nSo my question is, if there exists a particular checkstyle-rules.xml for this style? Maybe it's a good idea to have both in place, code style along with dedicated check.\n\nI've looked into the ones you are using in your projects, for instance [Dagger](https://github.com/square/dagger/blob/master/checkstyle.xml), but actually it just omits some rules.\n\nThanks in advance.\n","author":{"url":"https://github.com/a11n","@type":"Person","name":"a11n"},"datePublished":"2015-03-11T15:34:56.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/9/java-code-styles/issues/9"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ff84e730-91f7-f778-ce0a-220d9158261c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E46C:347527:53A74F:7504F6:696A0E50 |
| html-safe-nonce | ceff3113bd8a845782a3cc4c6dd1e8e4c037a920fd2348909d3a120cb19c72c4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNDZDOjM0NzUyNzo1M0E3NEY6NzUwNEY2OjY5NkEwRTUwIiwidmlzaXRvcl9pZCI6IjExMzUzODc4MzA2NzA0NjI1NDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 513e0728aa24065c2039b1d06f5e2aa8529e9c122c5c3a27b6e5ecc793ecd731 |
| hovercard-subject-tag | issue:60677503 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/square/java-code-styles/9/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c7feb6c12ae5a69abc5341f52863fbb7159a3ea0f14387aa034b02d5ce980149/square/java-code-styles/issues/9 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c7feb6c12ae5a69abc5341f52863fbb7159a3ea0f14387aa034b02d5ce980149/square/java-code-styles/issues/9 |
| og:image:alt | I like your code style. However, when reformatting my code using your style I am encountering various checkstyle violations for either Sun's or Google's default rules. It mostly complains about whi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | a11n |
| hostname | github.com |
| expected-hostname | github.com |
| None | 699227a00bbb7fe1eec276d2ae1c3a93068bc5ba483bd9dc4b2a27a8f4f2f595 |
| turbo-cache-control | no-preview |
| go-import | github.com/square/java-code-styles git https://github.com/square/java-code-styles.git |
| octolytics-dimension-user_id | 82592 |
| octolytics-dimension-user_login | square |
| octolytics-dimension-repository_id | 9380996 |
| octolytics-dimension-repository_nwo | square/java-code-styles |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 9380996 |
| octolytics-dimension-repository_network_root_nwo | square/java-code-styles |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7266b2d935baa1c6474b16dd9feaa5ca30607261 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width