blob: f43572a0004de053ccad4af6f970a73b66e58a01 [file] [log] [blame]
Joey Armstrong903c69d2024-02-01 19:46:39 -05001# Copyright 2020-2024 Open Networking Foundation (ONF) and the ONF Contributors
Kent Hagerman813cb902020-02-20 10:01:38 -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
15run:
16 modules-download-mode: vendor
17
18linters:
19 enable:
20 #- gochecknoglobals
21 #- gochecknoinits
22 #- gocritic
23 - gofmt
24 #- golint
25 #- unparam
David K. Bainbridgebd6b2882021-08-26 13:31:02 +000026 - errcheck
27
28issues:
29 exclude:
30 - "Package github.com/golang/protobuf/proto is deprecated"
31 - "Package github.com/golang/protobuf/jsonpb is deprecated"
khenaidoo080ce882021-10-19 17:35:08 -040032 - "SA1019: voltha.ImageDownload is deprecated"