blob: 3504f88f9a289de2240873a8b0743835a999c6c0 [file] [log] [blame]
Joey Armstrong9cdee9f2024-01-03 04:56:14 -05001# Copyright 2020-2024 Open Networking Foundation (ONF) and the ONF Contributors
Kent Hagermanfac11d42020-01-28 12:18:55 -05002#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
Joey Armstrong7f8436c2023-07-09 20:23:27 -040015---
Kent Hagermanfac11d42020-01-28 12:18:55 -050016run:
Kent Hagerman3da1fd02020-02-26 10:54:07 -050017 modules-download-mode: vendor
18
19linters:
20 enable:
Joey Armstrong7f8436c2023-07-09 20:23:27 -040021 # - gochecknoglobals
22 # - gochecknoinits
23 # - gocyclo
khenaidoo26721882021-08-11 17:42:52 -040024 - gofmt
Joey Armstrong7f8436c2023-07-09 20:23:27 -040025 # - golint
26 # - govet
27 # - ineffassign
28 # - misspell
khenaidoo26721882021-08-11 17:42:52 -040029 - errcheck
Joey Armstrong7f8436c2023-07-09 20:23:27 -040030 # - unparam
khenaidoo26721882021-08-11 17:42:52 -040031
32issues:
33 exclude:
34 - "Package github.com/golang/protobuf/proto is deprecated"
khenaidooa5feb8e2021-10-19 17:29:22 -040035 - "Package github.com/golang/protobuf/jsonpb is deprecated"
Joey Armstrong7f8436c2023-07-09 20:23:27 -040036 - "SA1019: voltha.ImageDownload is deprecated"