-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #993 from traPtitech/develop
developブランチをmainに取り込む
- Loading branch information
Showing
207 changed files
with
8,204 additions
and
34,268 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,30 @@ | ||
run: | ||
skip-dirs: | ||
issues: | ||
exclude-dirs: | ||
- openapi | ||
- mock | ||
|
||
linters: | ||
enable: | ||
- govet | ||
- errcheck | ||
- staticcheck | ||
- unused | ||
- gosimple | ||
- structcheck | ||
- varcheck | ||
- ineffassign | ||
- deadcode | ||
- typecheck | ||
- revive | ||
- gofmt | ||
|
||
linters-settings: | ||
staticcheck: | ||
checks: | ||
# ここからデフォルト https://staticcheck.dev/docs/configuration/options/#checks | ||
- "all" | ||
- "-ST1000" | ||
- "-ST1003" | ||
- "-ST1016" | ||
- "-ST1020" | ||
- "-ST1021" | ||
- "-ST1022" | ||
# ここまでデフォルト | ||
- "-SA3000" # TestMainでos.Exitを呼ぶことのチェック。go1.15以降ではTestMainが勝手にos.Exitするので無効化 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.