Skip to content

Commit

Permalink
Adding vendor and golangci
Browse files Browse the repository at this point in the history
  • Loading branch information
rounak-adhikary committed Oct 16, 2023
1 parent 89cb489 commit bb5fe5b
Show file tree
Hide file tree
Showing 2,580 changed files with 719,850 additions and 10 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,4 @@ website/node_modules
website/vendor

redfish/provider/redfish_test.env
test
vendor/
test
16 changes: 8 additions & 8 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ run:
# but default dirs are skipped independently of this option's value (see skip-dirs-use-default).
# "/" will be replaced by current OS file path separator to properly work on Windows.
skip-dirs:
- gofish/dell
# # Enables skipping of directories:
# # - vendor$, third_party$, testdata$, examples$, Godeps$, builtin$
# # Default: true
- vendor
# Enables skipping of directories:
# - vendor$, third_party$, testdata$, examples$, Godeps$, builtin$
# Default: true
# skip-dirs-use-default: false
# Which files to skip: they will be analyzed, but issues from them won't be reported.
# Default value is empty list,
Expand Down Expand Up @@ -63,7 +63,7 @@ linters-settings:
exclude: errcheckexcludes.txt
staticcheck:
# SAxxxx checks in https://staticcheck.io/docs/configuration/options/#checks
# SA1019: d.GetOkExists is deprecated, ignoring now since we shall be moving to plugin framework soon
# SA1019: TBD: d.GetOkExists is deprecated, ignoring now since we shall be moving to plugin framework soon
checks: ["all", "-SA1019"]
revive:
# Maximum number of open files at the same time.
Expand Down Expand Up @@ -99,7 +99,7 @@ linters-settings:
- name: argument-limit
severity: warning
disabled: false
arguments: [4] #TBD
arguments: [3]
# https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#atomic
- name: atomic
severity: warning
Expand Down Expand Up @@ -128,7 +128,7 @@ linters-settings:
- name: cognitive-complexity
severity: warning
disabled: false
arguments: [80] #TBD
arguments: [60] #TBD
# https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#comment-spacings
- name: comment-spacings
severity: warning
Expand Down Expand Up @@ -161,7 +161,7 @@ linters-settings:
- name: cyclomatic
severity: warning
disabled: false
arguments: [20] # TBD
arguments: [10] # TBD
# https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#datarace
- name: datarace
severity: warning
Expand Down
18 changes: 18 additions & 0 deletions vendor/github.com/Masterminds/goutils/.travis.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions vendor/github.com/Masterminds/goutils/CHANGELOG.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

202 changes: 202 additions & 0 deletions vendor/github.com/Masterminds/goutils/LICENSE.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

70 changes: 70 additions & 0 deletions vendor/github.com/Masterminds/goutils/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions vendor/github.com/Masterminds/goutils/appveyor.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit bb5fe5b

Please sign in to comment.