kubeedge / mappers-go

KubeEdge Device Mappers written in go
Apache License 2.0
45 stars 64 forks source link

add lint.sh and update the version of golangci-lint from 1.39.0 to 1.42.0 #100

Open RyanZhaoXB opened 1 year ago

RyanZhaoXB commented 1 year ago

update the version of golangci-lint from 1.39.0 to 1.42.0 and add the installation of golangci-lint to all the current mappers. use command

make all lint
or
make mapper ble lint

to install golangci-lint and lint the code of mapper.

kubeedge-bot commented 1 year ago

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: To complete the pull request process, please assign luogangyi after the PR has been reviewed. You can assign the PR to them by writing /assign @luogangyi in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files: - **[OWNERS](https://github.com/kubeedge/mappers-go/blob/main/OWNERS)** Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
sailorvii commented 1 year ago

/lgtm