Thane Thomson and GitHub
cceea4de22
chore: Format and fix lints ( #9336 )
...
* make format
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Fix linting directives
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* make mockery
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Appease CI linter
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Appease CI linter
Signed-off-by: Thane Thomson <connect@thanethomson.com >
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-08-30 12:28:46 -04:00
Marko and GitHub
42e4e8b58e
lint: add markdown linter ( #5254 )
2020-08-17 16:40:50 +02:00
Marko and GitHub
2ac5a559b4
libs: wrap mutexes for build flag with godeadlock ( #5126 )
...
## Description
This PR wraps the stdlib sync.(RW)Mutex & godeadlock.(RW)Mutex. This enables using go-deadlock via a build flag instead of using sed to replace sync with godeadlock in all files
Closes : #3242
2020-07-20 07:55:09 +00:00
Marko and GitHub
7edc0601d5
New lint version upgrade ( #4056 )
...
* New lint version upgrade
- linter was upgraded
Signed-off-by: Marko Baricevic <marbar3778@yahoo.com >
* enable-a;; is deprecated
* minor change
* another try
* some more changes
* some more changes
* reenable prealloc
* add version till bot is fixed
2019-10-14 17:40:15 +02:00
Phil Salant and Anton Kaliaev
05075ea5b7
linters: modify code to pass maligned and interfacer ( #3959 )
...
* Fix maligned structs
* Fix interfacer errors
* Revert accidental go.mod and go.sum changes
* Revert P2PConfig struct maligned reorder
* Revert PeerRoundState struct maligned reordering
* Revert RoundState struct maligned reordering
* Reorder WSClient struct
* Revert accidental type change
* Clean up type change
* Clean up type changes
* Revert to types.ABCIApplicationServer in GRPCServer struct
* Revert maligned changes to BaseConfig struct
* Fix tests in io_test.go
* Fix client_test package tests
* Fix reactor tests in consensus package
* Fix new interfacer errors
2019-09-30 17:12:51 -07:00
Phil Salant and Anton Kaliaev
d1d517a9b7
linters: enable scopelint ( #3963 )
...
* Pin range scope vars
* Don't disable scopelint
This PR repairs linter errors seen when running the following commands:
golangci-lint run --no-config --disable-all=true --enable=scopelint
Contributes to #3262
2019-09-11 09:15:18 +04:00
Anton Kaliaev and GitHub
d470945503
update gometalinter to 3.0.0 ( #3233 )
...
in the attempt to fix https://circleci.com/gh/tendermint/tendermint/43165
also
code is simplified by running gofmt -s .
remove unused vars
enable linters we're currently passing
remove deprecated linters
2019-01-30 12:24:26 +04:00
Ethan Buchman
ae3bf81833
mv tmlibs files to libs dir
2018-07-01 22:36:03 -04:00