Skip to content

Commit

Permalink
Get rid of pure nolinit comments
Browse files Browse the repository at this point in the history
Some lints may be relevant even in test fixture code.
  • Loading branch information
mmlb committed Apr 22, 2024
1 parent 8dffc0c commit 20c1859
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
1 change: 0 additions & 1 deletion firmware/bios_checksum_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
//nolint:all
package firmware

import (
Expand Down
5 changes: 3 additions & 2 deletions fixtures/asrr/e3c246d4i-nl.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ import (
"github.com/bmc-toolbox/common"
)

// nolint //testcode
// inventory taken with lshw
// E3C246D4INL is an example inventory taken with lshw
//
//nolint:misspell
var E3C246D4INL = &common.Device{
Common: common.Common{
Oem: false,
Expand Down
2 changes: 1 addition & 1 deletion fixtures/dell/r6515.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"github.com/metal-toolbox/ironlib/model"
)

// nolint // test data
// nolint:dupl,misspell,revive,stylecheck
var (
R6515_oem_components = &model.OemComponents{
Dell: []*model.Component{
Expand Down
2 changes: 1 addition & 1 deletion fixtures/supermicro/x11dph-t.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"github.com/metal-toolbox/ironlib/model"
)

// nolint // test data
// nolint:dupl,misspell,revive,stylecheck
var (
Testdata_X11DPH_T_Components = []*model.Component{
{
Expand Down

0 comments on commit 20c1859

Please sign in to comment.