Ed Bartosh
cec004c398
lint: enable wsl check
...
Fixes : #392
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2021-12-17 11:48:48 +02:00
Hyeongju Johannes Lee
8fc5df7e37
Add govet-fieldalignment
...
Add govet-fieldalignment to .golangci.yml
Fix errors that come from adding govet-fieldalignment
- by reordering the fields of structs
- by putting nolint:govet annotations
Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
2021-09-20 20:59:04 +03:00
Mikko Ylinen
e22cefe7a6
pkg/fpga: detect driver attached to a PCI device
...
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2021-04-23 13:38:23 +03:00
Ryan Raasch
25ef46072c
Remove vendor PCI check, check only pci class
2021-04-22 11:25:51 +02:00
Dmitry Rozhkov
70f862f2aa
add golangci linter
...
In this initial commit the following checks are disabled due to
excessive amount of changes required:
- dupl (duplicate code)
- funlen (function length)
- goerr113 (errors handling expressions)
- gomnd (magic numbers)
- gosec (security)
- nakedret (naked returns)
- wsl (forces to use empty lines)
- errcheck (checking for unchecked errors)
- staticcheck (static analysis)
2020-06-08 14:01:13 +03:00
Dmitry Rozhkov
3a845cfe15
fpga: rename files to make them linux-only
2020-01-29 17:17:06 +02:00