From 9230b8f03b24888a9c714b56505d47868b294c43 Mon Sep 17 00:00:00 2001 From: Zsolt Varga Date: Fri, 26 Jan 2024 14:03:29 +0100 Subject: [PATCH] update licensei config --- .licensei.toml | 60 ++++++++++++++++++++++---------------------------- 1 file changed, 26 insertions(+), 34 deletions(-) diff --git a/.licensei.toml b/.licensei.toml index 5d91d2230..218397e73 100644 --- a/.licensei.toml +++ b/.licensei.toml @@ -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 = """/*