forked from thrasher-corp/gocryptotrader
-
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.
Improved code quality (thrasher-corp#154)
* Removed package-lock.json form gitignore as it ensures specific package versions * Updated all @angular web dependencies * Resolved tslint errors using autofix option * Resolved some more tslint issues * Added lint scripts to package.json to easy lint the ts files * Updated codelyzer and tslint * Run web on travis using node 10 and run the lint task * Resolved some more tslint issues after upgrading tslint and codelyzer * Resolved golint issues with regards to exchange comments * Resolved spelling errors shown by goreportcard.com * Resolved gofmt warnings using goreportcard.com * Resolved golint issue by removing unrequired else statement * Refactored slack.go to reduce cyclomatic complexity * Fixed govet issue where Slack was passed as value instead of reference
- Loading branch information
1 parent
a5f5132
commit 0f20916
Showing
71 changed files
with
1,025 additions
and
971 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 |
---|---|---|
@@ -1,21 +1,31 @@ | ||
language: go | ||
matrix: | ||
include: | ||
- language: node_js | ||
node_js: | ||
- '10' | ||
- '8' | ||
- '6' | ||
before_install: | ||
- cd web/ | ||
install: | ||
- npm install | ||
script: | ||
- npm run lint | ||
- npm run build | ||
|
||
go: | ||
- 1.10.x | ||
|
||
before_install: | ||
- go get -t -v ./... | ||
|
||
script: | ||
- ./testdata/test.sh | ||
|
||
install: | ||
- go get github.com/gorilla/websocket | ||
- go get github.com/toorop/go-pusher | ||
- go get github.com/thrasher-/socketio | ||
- go get github.com/beatgammit/turnpike | ||
- go get github.com/gorilla/mux | ||
- go get golang.org/x/crypto/scrypt | ||
|
||
after_success: | ||
- bash <(curl -s https://codecov.io/bash) | ||
- language: go | ||
go: | ||
- 1.10.x | ||
before_install: | ||
- go get -t -v ./... | ||
script: | ||
- ./testdata/test.sh | ||
install: | ||
- go get github.com/gorilla/websocket | ||
- go get github.com/toorop/go-pusher | ||
- go get github.com/thrasher-/socketio | ||
- go get github.com/beatgammit/turnpike | ||
- go get github.com/gorilla/mux | ||
- go get golang.org/x/crypto/scrypt | ||
after_success: | ||
- bash <(curl -s https://codecov.io/bash) |
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
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.