diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2023-06-02 11:27:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-02 11:27:30 +0200 |
commit | de4a21fcb4476772c69c36d086549e89ed4dcf6c (patch) | |
tree | a8952b92bc6382daffc34178f5d6cc32cfea2efd /.golangci.yml | |
parent | [skip ci] Updated translations via Crowdin (diff) | |
download | forgejo-de4a21fcb4476772c69c36d086549e89ed4dcf6c.tar.xz forgejo-de4a21fcb4476772c69c36d086549e89ed4dcf6c.zip |
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
Diffstat (limited to '.golangci.yml')
-rw-r--r-- | .golangci.yml | 1 |
1 files changed, 1 insertions, 0 deletions
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 |