Skip to content

Update .golangci.yaml - #14

Merged
GuangmingLuo merged 1 commit into
cloudwego:mainfrom
Skyenought:patch-1
Jul 17, 2024
Merged

Update .golangci.yaml#14
GuangmingLuo merged 1 commit into
cloudwego:mainfrom
Skyenought:patch-1

Conversation

@Skyenought

Copy link
Copy Markdown
Contributor
run golangci-lint
  Running [/root/golangci-lint-1.59.1-linux-amd64/golangci-lint run --out-format=github-actions] in [] ...
  level=warning msg="[config_reader] The configuration option `run.skip-files` is deprecated, please use `issues.exclude-files`."
  level=warning msg="[config_reader] The configuration option `run.skip-dirs` is deprecated, please use `issues.exclude-dirs`."
  level=warning msg="[config_reader] The configuration option `output.format` is deprecated, please use `output.formats`"
  level=warning msg="[lintersdb] The linter \"deadcode\" is deprecated (step 2) and deactivated. It should be removed from the list of disabled linters. https://golangci-lint.run/product/roadmap/#linter-deprecation-cycle"

这些配置已经过时了, 需要改为推荐项

What type of PR is this?

Check the PR title.

  • This PR title match the format: <type>(optional scope): <description>
  • The description of this PR title is user-oriented and clear enough for others to understand.
  • Attach the PR updating the user documentation if the current PR requires user awareness at the usage level. User docs repo

(Optional) Translate the PR title into Chinese.

(Optional) More detailed description for this PR(en: English/zh: Chinese).

en:
zh(optional):

(Optional) Which issue(s) this PR fixes:

(optional) The PR that updates user documentation:

```sh
run golangci-lint
  Running [/root/golangci-lint-1.59.1-linux-amd64/golangci-lint run --out-format=github-actions] in [] ...
  level=warning msg="[config_reader] The configuration option `run.skip-files` is deprecated, please use `issues.exclude-files`."
  level=warning msg="[config_reader] The configuration option `run.skip-dirs` is deprecated, please use `issues.exclude-dirs`."
  level=warning msg="[config_reader] The configuration option `output.format` is deprecated, please use `output.formats`"
  level=warning msg="[lintersdb] The linter \"deadcode\" is deprecated (step 2) and deactivated. It should be removed from the list of disabled linters. https://golangci-lint.run/product/roadmap/#linter-deprecation-cycle"
```
这些配置已经过时了, 需要改为推荐项
@GuangmingLuo
GuangmingLuo merged commit 925aeda into cloudwego:main Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants