From 266be0bab5b9e3feca421242f6c391cbe821dd7d Mon Sep 17 00:00:00 2001 From: titor Date: Fri, 10 Apr 2026 04:41:48 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=88=A0=E9=99=A4=E6=9C=AA=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E7=9A=84=20golangci/goreleaser=20=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .golangci-soft.yml | 47 ---------------------------------------------- .golangci.yml | 29 ---------------------------- .goreleaser.yml | 15 --------------- 3 files changed, 91 deletions(-) delete mode 100644 .golangci-soft.yml delete mode 100644 .golangci.yml delete mode 100644 .goreleaser.yml diff --git a/.golangci-soft.yml b/.golangci-soft.yml deleted file mode 100644 index ef456e0..0000000 --- a/.golangci-soft.yml +++ /dev/null @@ -1,47 +0,0 @@ -run: - tests: false - -issues: - include: - - EXC0001 - - EXC0005 - - EXC0011 - - EXC0012 - - EXC0013 - - max-issues-per-linter: 0 - max-same-issues: 0 - -linters: - enable: - # - dupl - - exhaustive - # - exhaustivestruct - - goconst - - godot - - godox - - gomnd - - gomoddirectives - - goprintffuncname - - ifshort - # - lll - - misspell - - nakedret - - nestif - - noctx - - nolintlint - - prealloc - - wrapcheck - - # disable default linters, they are already enabled in .golangci.yml - disable: - - deadcode - - errcheck - - gosimple - - govet - - ineffassign - - staticcheck - - structcheck - - typecheck - - unused - - varcheck diff --git a/.golangci.yml b/.golangci.yml deleted file mode 100644 index a5a91d0..0000000 --- a/.golangci.yml +++ /dev/null @@ -1,29 +0,0 @@ -run: - tests: false - -issues: - include: - - EXC0001 - - EXC0005 - - EXC0011 - - EXC0012 - - EXC0013 - - max-issues-per-linter: 0 - max-same-issues: 0 - -linters: - enable: - - bodyclose - - exportloopref - - goimports - - gosec - - nilerr - - predeclared - - revive - - rowserrcheck - - sqlclosecheck - - tparallel - - unconvert - - unparam - - whitespace diff --git a/.goreleaser.yml b/.goreleaser.yml deleted file mode 100644 index ae02148..0000000 --- a/.goreleaser.yml +++ /dev/null @@ -1,15 +0,0 @@ -# yaml-language-server: $schema=https://goreleaser.com/static/schema-pro.json - -includes: - - from_url: - url: charmbracelet/meta/main/goreleaser-full.yaml - -variables: - main: "." - binary_name: pop - description: "Send emails from your terminal. 📬" - github_url: "https://github.com/charmbracelet/pop" - maintainer: "Maas Lalani " - brew_commit_author_name: "Maas Lalani" - brew_commit_author_email: "maas@charm.sh" - aur_project_name: charm-pop