From de4a21fcb4476772c69c36d086549e89ed4dcf6c Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Fri, 2 Jun 2023 17:27:30 +0800 Subject: Refactor INI package (first step) (#25024) The INI package has many bugs and quirks, and in fact it is unmaintained. This PR is the first step for the INI package refactoring: * Use Gitea's "config_provider" to provide INI access * Deprecate the INI package by golangci.yml rule --- .golangci.yml | 1 + 1 file changed, 1 insertion(+) (limited to '.golangci.yml') diff --git a/.golangci.yml b/.golangci.yml index 342fe97837..22de387fac 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -86,6 +86,7 @@ linters-settings: - io/ioutil: "use os or io instead" - golang.org/x/exp: "it's experimental and unreliable." - code.gitea.io/gitea/modules/git/internal: "do not use the internal package, use AddXxx function instead" + - gopkg.in/ini.v1: "do not use the ini package, use gitea's config system instead" issues: max-issues-per-linter: 0 -- cgit v1.2.3