File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -11,17 +11,14 @@ linters:
1111 default : none
1212 enable :
1313 - errcheck # all errors checked
14- - gosimple # simplify code
1514 - govet # run govet
1615 - ineffassign # check ineffectual assignments
1716 - staticcheck # staticcheck
1817 - unused # unused constants, variables, functions and types
1918 - revive # replacement for golint
2019 - dupl # check duplicated code
2120 - goconst # check strings that can turn into constants
22- - gofmt # check fmt
2321 - goheader # Check license headers, only checks files in current year
24- - goimports # check imports
2522 - gocyclo # check complexity
2623 settings :
2724 gocyclo :
@@ -41,3 +38,7 @@ linters:
4138 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4239 See the License for the specific language governing permissions and
4340 limitations under the License.
41+ formatters :
42+ enable :
43+ - goimports
44+ - gofmt
You can’t perform that action at this time.
0 commit comments