|
28 | 28 | build-tags:
|
29 | 29 | - mytag
|
30 | 30 |
|
31 |
| - # Which dirs to skip: issues from them won't be reported. |
32 |
| - # Can use regexp here: `generated.*`, regexp is applied on full path, |
33 |
| - # including the path prefix if one is set. |
34 |
| - # Default dirs are skipped independently of this option's value (see skip-dirs-use-default). |
35 |
| - # "/" will be replaced by current OS file path separator to properly work on Windows. |
36 |
| - # Default: [] |
37 |
| - skip-dirs: |
38 |
| - - src/external_libs |
39 |
| - - autogenerated_by_my_lib |
40 |
| - |
41 |
| - # Enables skipping of directories: |
42 |
| - # - vendor$, third_party$, testdata$, examples$, Godeps$, builtin$ |
43 |
| - # Default: true |
44 |
| - skip-dirs-use-default: false |
45 |
| - |
46 |
| - # Which files to skip: they will be analyzed, but issues from them won't be reported. |
47 |
| - # There is no need to include all autogenerated files, |
48 |
| - # we confidently recognize autogenerated files. |
49 |
| - # If it's not, please let us know. |
50 |
| - # "/" will be replaced by current OS file path separator to properly work on Windows. |
51 |
| - # Default: [] |
52 |
| - skip-files: |
53 |
| - - ".*\\.my\\.go$" |
54 |
| - - lib/bad.go |
55 |
| - |
56 | 31 | # If set, we pass it to "go list -mod={option}". From "go help modules":
|
57 | 32 | # If invoked with -mod=readonly, the go command is disallowed from the implicit
|
58 | 33 | # automatic updating of go.mod described above. Instead, it fails when any changes
|
@@ -2810,10 +2785,35 @@ issues:
|
2810 | 2785 | # Default: true
|
2811 | 2786 | exclude-use-default: false
|
2812 | 2787 |
|
2813 |
| - # If set to true exclude and exclude-rules regular expressions become case-sensitive. |
| 2788 | + # If set to true `exclude` and `exclude-rules` regular expressions become case-sensitive. |
2814 | 2789 | # Default: false
|
2815 | 2790 | exclude-case-sensitive: false
|
2816 | 2791 |
|
| 2792 | + # Which dirs to exclude: issues from them won't be reported. |
| 2793 | + # Can use regexp here: `generated.*`, regexp is applied on full path, |
| 2794 | + # including the path prefix if one is set. |
| 2795 | + # Default dirs are skipped independently of this option's value (see skip-dirs-use-default). |
| 2796 | + # "/" will be replaced by current OS file path separator to properly work on Windows. |
| 2797 | + # Default: [] |
| 2798 | + exclude-dirs: |
| 2799 | + - src/external_libs |
| 2800 | + - autogenerated_by_my_lib |
| 2801 | + |
| 2802 | + # Enables exclude of directories: |
| 2803 | + # - vendor$, third_party$, testdata$, examples$, Godeps$, builtin$ |
| 2804 | + # Default: true |
| 2805 | + exclude-dirs-use-default: false |
| 2806 | + |
| 2807 | + # Which files to exclude: they will be analyzed, but issues from them won't be reported. |
| 2808 | + # There is no need to include all autogenerated files, |
| 2809 | + # we confidently recognize autogenerated files. |
| 2810 | + # If it's not, please let us know. |
| 2811 | + # "/" will be replaced by current OS file path separator to properly work on Windows. |
| 2812 | + # Default: [] |
| 2813 | + exclude-files: |
| 2814 | + - ".*\\.my\\.go$" |
| 2815 | + - lib/bad.go |
| 2816 | + |
2817 | 2817 | # To follow strict Go autogenerated file convention.
|
2818 | 2818 | # https://go.dev/s/generatedcode
|
2819 | 2819 | # By default a lax pattern is applied.
|
|
0 commit comments