1
+ // Copyright 2024 Oliver Eikemeier. All Rights Reserved.
2
+ //
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
+ //
15
+ // SPDX-License-Identifier: Apache-2.0
16
+
1
17
package plugin
2
18
3
19
import (
@@ -15,7 +31,7 @@ func init() { //nolint:gochecknoinits
15
31
16
32
type Settings struct {
17
33
Excluded []string `json:"excluded"`
18
- Basic bool `json:"basic "`
34
+ Full bool `json:"full "`
19
35
}
20
36
21
37
func New (settings any ) (register.LinterPlugin , error ) { //nolint:ireturn
@@ -34,7 +50,7 @@ type Plugin struct {
34
50
func (p Plugin ) BuildAnalyzers () ([]* analysis.Analyzer , error ) {
35
51
run := analyzer .NewRun (
36
52
analyzer .WithExcludes (p .settings .Excluded ),
37
- analyzer .WithBasic (p .settings .Basic ),
53
+ analyzer .WithFull (p .settings .Full ),
38
54
analyzer .WithGenerated (true ),
39
55
)
40
56
0 commit comments