diff --git a/.golangci.yml b/.golangci.yml index 8707a542..6bbbe174 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -73,4 +73,5 @@ issues: fix: true exclude-use-default: false exclude: - - "Error return value of .((os.)?std(out|err)..*|.*Close|.*Seek|.*Flush|os.Remove(All)?|.*print(f|ln)?|os.(Un)?Setenv). is not check" \ No newline at end of file + - "Error return value of .((os.)?std(out|err)..*|.*Close|.*Seek|.*Flush|os.Remove(All)?|.*print(f|ln)?|os.(Un)?Setenv). is not check" + - 'identifier ".*" contain non-ASCII character: U\+.*' diff --git a/plugin/hyaku/main.go b/plugin/hyaku/main.go index 78c23a52..bc1c5f82 100644 --- a/plugin/hyaku/main.go +++ b/plugin/hyaku/main.go @@ -1,7 +1,4 @@ // Package hyaku 百人一首 - -//nolint: asciicheck - package hyaku import ( diff --git a/plugin/qqwife/command.go b/plugin/qqwife/command.go index f7996596..1af9840a 100644 --- a/plugin/qqwife/command.go +++ b/plugin/qqwife/command.go @@ -1,7 +1,4 @@ // Package qqwife 娶群友 基于“翻牌”和江林大佬的“群老婆”插件魔改作品,文案采用了Hana的zbp娶群友文案 - -//nolint: asciicheck - package qqwife import ( diff --git a/plugin/qqwife/favorSystem.go b/plugin/qqwife/favorSystem.go index 3b14db55..3922566f 100644 --- a/plugin/qqwife/favorSystem.go +++ b/plugin/qqwife/favorSystem.go @@ -1,5 +1,3 @@ -//nolint: asciicheck - package qqwife import ( diff --git a/plugin/qqwife/function.go b/plugin/qqwife/function.go index 8ac4e9e4..3fb59209 100644 --- a/plugin/qqwife/function.go +++ b/plugin/qqwife/function.go @@ -1,5 +1,3 @@ -//nolint: asciicheck - package qqwife import (