forked from apache/kudu
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Scalafmt https://scalameta.org/scalafmt/#Scalafmt is a code formatting tool, scalafmt.conf is the main configuration file. Scalafmt is added using the Gradle Scalafmt plugin: https://github.com/alenkacz/gradle-scalafmt and Maven scalafmt plugin: https://github.com/SimonJPegg/mvn_scalafmt. The plugin is configured to run on compile or can invoked with 'gradle scalafmt' or 'gradle testScalafmt' to format test code. It will run during the verification stage of a Maven build. Set gradle endoding globally because 'testScalafmt' target would otherwise choke on some special characters. Change-Id: Iac96383d88394084e19712177d05f9fc63de766c Reviewed-on: http://gerrit.cloudera.org:8080/11030 Tested-by: Kudu Jenkins Reviewed-by: Tony Foerster <[email protected]> Reviewed-by: Grant Henke <[email protected]>
- Loading branch information
1 parent
349b810
commit 7916695
Showing
24 changed files
with
1,117 additions
and
767 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,3 +36,4 @@ gradle/wrapper/*.jar | |
*.iml | ||
.idea/ | ||
classes | ||
**/out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
style = defaultWithAlign | ||
rewrite.rules = [prefercurlyfors, AvoidInfix] | ||
align = false | ||
docstrings=JavaDoc | ||
maxColumn=80 | ||
spaces.inImportCurlyBraces=false | ||
unindentTopLevelOperators =true | ||
newlines.alwaysBeforeTopLevelStatements=true | ||
newlines.penalizeSingleSelectMultiArgList=false | ||
lineEndings=unix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.