feat: set openim lint

Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
This commit is contained in:
Xinwei Xiong(cubxxw)
2024-01-26 17:47:25 +08:00
parent a2da40ceab
commit 2efa041664
81 changed files with 3788 additions and 2485 deletions
+3 -3
View File
@@ -19,9 +19,9 @@ set -o nounset
set -o pipefail
OPENIM_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
source "${OPENIM_ROOT}/hack/lib/init.sh"
source "${OPENIM_ROOT}/scripts/lib/init.sh"
kube::golang::setup_env
openim::golang::setup_env
cd "${OPENIM_ROOT}"
@@ -40,4 +40,4 @@ find_files() {
}
export GO111MODULE=on
find_files | xargs go run tools/yamlfmt/main.go
find_files | xargs go run tools/yamlfmt/yamlfmt.go