Skip to content

Commit

Permalink
update licensei config
Browse files Browse the repository at this point in the history
  • Loading branch information
waynz0r committed Jan 26, 2024
1 parent 4588c9f commit ea40725
Showing 1 changed file with 26 additions and 34 deletions.
60 changes: 26 additions & 34 deletions .licensei.toml
Original file line number Diff line number Diff line change
@@ -1,44 +1,36 @@
approved = [
"mit",
"apache-2.0",
"bsd-3-clause",
"bsd-2-clause",
"mpl-2.0",
]
approved = ["mit", "apache-2.0", "bsd-3-clause", "bsd-2-clause", "mpl-2.0"]

ignored = [
"github.com/ghodss/yaml",
"github.com/gogo/protobuf",
"google.golang.org/protobuf",
"sigs.k8s.io/yaml",
"gopkg.in/fsnotify.v1",

"github.com/davecgh/go-spew", # ISC license
"github.com/russross/blackfriday", # BSD-2
"github.com/russross/blackfriday/v2", # BSD-2
"github.com/xeipuuv/gojsonpointer", # Apache2
"github.com/xeipuuv/gojsonreference", # Apache2
"github.com/xeipuuv/gojsonschema", # Apache2
"github.com/russross/blackfriday", # Simplifed BSD
"gomodules.xyz/jsonpatch/v2", # Apache2

# Unsupported VCS
"cloud.google.com/go",
"google.golang.org/api",
"github.com/ghodss/yaml",
"github.com/gogo/protobuf",
"google.golang.org/protobuf",
"sigs.k8s.io/yaml",
"gopkg.in/fsnotify.v1",

"github.com/davecgh/go-spew", # ISC license
"github.com/russross/blackfriday", # BSD-2
"github.com/russross/blackfriday/v2", # BSD-2
"github.com/xeipuuv/gojsonpointer", # Apache2
"github.com/xeipuuv/gojsonreference", # Apache2
"github.com/xeipuuv/gojsonschema", # Apache2
"github.com/russross/blackfriday", # Simplifed BSD
"gomodules.xyz/jsonpatch/v2", # Apache2

# Unsupported VCS
"cloud.google.com/go",
"google.golang.org/api",
]

[header]
ignorePaths = [
"build",
"vendor"
]
ignorePaths = ["build", "vendor"]

ignoreFiles = [
"*.pb.go",
"*.gen.go",
"*.gogen.go",
"generated.go",
"zz_generated.deepcopy.go",
"*.pb.go",
"*.gen.go",
"*.gogen.go",
"generated.go",
"zz_generated.deepcopy.go",
"*_test.go",
]

template = """/*
Expand Down

0 comments on commit ea40725

Please sign in to comment.