-
Notifications
You must be signed in to change notification settings - Fork 9
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
GG-6854 - Restrict test dependencies to test scope (Security issue) #89
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
6c6df26
increase copyright's year
szabolcs-szilagyi-hmrc f68f33f
restrict the scope of scalacheck to testing only
szabolcs-szilagyi-hmrc 5d6ad33
update the version of sbt, scala
szabolcs-szilagyi-hmrc deb413f
replace deprecated hmrc play configs and add hmrc test lib as platops…
szabolcs-szilagyi-hmrc 2ccdce6
add scalafmt and format the code
szabolcs-szilagyi-hmrc 16da322
bump up all the dependencies
szabolcs-szilagyi-hmrc b980914
bump up sbt-plugin
szabolcs-szilagyi-hmrc 7d69220
update README and coverage settings; bump up version of silencer lib
szabolcs-szilagyi-hmrc 182a191
fix config and execution context based on the platops bot
szabolcs-szilagyi-hmrc cf44f38
scalafmt kicks in again and reformats the code
szabolcs-szilagyi-hmrc 4c2fbfa
remove scalariform as scalafmt is used
szabolcs-szilagyi-hmrc 7e761be
improve code based on the pr comments
szabolcs-szilagyi-hmrc b7afe30
scalafmt formatting
szabolcs-szilagyi-hmrc a33c035
simplify code
szabolcs-szilagyi-hmrc 07a2223
add : to scalafmt rules
szabolcs-szilagyi-hmrc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
@@ -0,0 +1,61 @@ | ||
version = 3.7.2 | ||
runner.dialect = scala213 | ||
maxColumn = 150 | ||
lineEndings = unix | ||
importSelectors = singleLine | ||
rewriteTokens = { | ||
"⇒": "=>" | ||
"→": "->" | ||
"←": "<-" | ||
} | ||
|
||
project { | ||
git = true | ||
} | ||
|
||
align { | ||
preset = more | ||
tokens = [ | ||
":", | ||
"extends", | ||
{code = "=", owner = "Term.Assign"}, | ||
{code = "=>", owner = "Case|Type.Arg.ByName"}, | ||
"<-", "->", "%", "%%", | ||
"should", "shouldBe", "shouldEqual", "shouldNot", "must" | ||
] | ||
arrowEnumeratorGenerator = true | ||
openParenCallSite = true | ||
openParenDefnSite = true | ||
closeParenSite = true | ||
} | ||
danglingParentheses.callSite = true | ||
|
||
binPack { | ||
parentConstructors = false | ||
} | ||
|
||
continuationIndent { | ||
callSite = 2 | ||
defnSite = 2 | ||
} | ||
|
||
newlines { | ||
penalizeSingleSelectMultiArgList = false | ||
sometimesBeforeColonInMethodReturnType = true | ||
afterCurlyLambdaParams = keep | ||
} | ||
|
||
rewrite { | ||
rules = [RedundantBraces, RedundantParens, AsciiSortImports] | ||
redundantBraces { | ||
maxLines = 100 | ||
methodBodies = false | ||
stringInterpolation = true | ||
generalExpressions = false | ||
} | ||
} | ||
|
||
spaces { | ||
inImportCurlyBraces = false | ||
beforeContextBoundColon = Never | ||
} |
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
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Add
":"
to these tokens to maintain alignment of type annotations in parameter lists. The Scalariform config had something to align parameter type annotations so continuing the tradition with Scalafmt will make the diff a little quieter.