-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from avarabyeu/agent
Local Reporting Agent
- Loading branch information
Showing
25 changed files
with
1,173 additions
and
360 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 |
---|---|---|
@@ -0,0 +1,55 @@ | ||
linters-settings: | ||
govet: | ||
check-shadowing: true | ||
golint: | ||
min-confidence: 0.8 | ||
gocyclo: | ||
min-complexity: 10 | ||
max-complexity: 12 | ||
maligned: | ||
suggest-new: true | ||
dupl: | ||
threshold: 150 | ||
goconst: | ||
min-len: 2 | ||
min-occurrences: 2 | ||
misspell: | ||
locale: US | ||
lll: | ||
line-length: 140 | ||
goimports: | ||
local-prefixes: github.com/golangci/golangci-lint | ||
gocritic: | ||
enabled-tags: | ||
- performance | ||
- style | ||
- experimental | ||
disabled-checks: | ||
- wrapperFunc | ||
- commentFormatting | ||
|
||
linters: | ||
enable-all: true | ||
disable: | ||
- maligned | ||
- prealloc | ||
- gochecknoglobals | ||
- goimports | ||
|
||
#run: | ||
# skip-dirs: | ||
# - test/testdata_etc | ||
|
||
issues: | ||
exclude-use-default: false | ||
exclude-rules: | ||
- text: "weak cryptographic primitive" | ||
linters: | ||
- gosec | ||
|
||
# golangci.com configuration | ||
# https://github.com/golangci/golangci/wiki/Configuration | ||
service: | ||
golangci-lint-version: 1.15.x # use the fixed version to not introduce new linters unexpectedly | ||
# prepare: | ||
# - echo "here I can run custom commands, but no preparation needed for this repo" |
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,25 @@ | ||
settings: | ||
server: | ||
status: true | ||
open: false | ||
host: localhost | ||
port: 5001 | ||
schema: | ||
- name: agent | ||
path: agent | ||
commands: | ||
install: | ||
status: false | ||
build: | ||
status: false | ||
run: | ||
status: true | ||
# method: dlv debug -l=localhost:35173 --headless=true --api-version=2 --backend=default | ||
watcher: | ||
paths: | ||
- / | ||
ignore_paths: | ||
- vendor | ||
extensions: | ||
- go | ||
|
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 |
---|---|---|
@@ -1,13 +1,16 @@ | ||
sudo: false | ||
language: go | ||
go: | ||
- "1.10" | ||
- "1.12.x" | ||
|
||
env: | ||
- GO111MODULE=on | ||
|
||
before_script: | ||
- make init-deps vendor | ||
- make init-deps | ||
|
||
script: | ||
- make build | ||
- make checkstyle build | ||
|
||
after_success: | ||
- curl --request POST "https://goreportcard.com/checks" --data "repo=github.com/avarabyeu/goRP" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.