Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .whitesource
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"scanSettings": {
"baseBranches": []
},
"checkRunSettings": {
"vulnerableCheckRunConclusionLevel": "failure",
"displayMode": "diff",
"useMendCheckNames": true
},
"issueSettings": {
"minSeverityLevel": "LOW",
"issueType": "DEPENDENCY"
}
}
Copy link

Choose a reason for hiding this comment

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

maintainability (medium): The file is missing a newline character at the end. According to POSIX standards, text files should end with a newline character. This can cause warnings in version control systems and issues with certain POSIX-compliant tools.

Fix: Add a newline character at the end of the file after the closing brace.

{
  "scanSettings": {
    "baseBranches": []
  },
  "checkRunSettings": {
    "vulnerableCheckRunConclusionLevel": "failure",
    "displayMode": "diff",
    "useMendCheckNames": true
  },
  "issueSettings": {
    "minSeverityLevel": "LOW",
    "issueType": "DEPENDENCY"
  }
}

Proof of issue: The diff shows \ No newline at end of file which indicates the file does not conform to POSIX text file standards. This can cause git diff to show warnings and may cause issues with tools that expect proper text file formatting.

Help us improve our suggestions - react with 👍 if it was helpful, 👎 if it needs work