Skip to content

Conversation

@daixiang0
Copy link
Member

@daixiang0 daixiang0 commented Aug 27, 2021

Signed-off-by: Long long0dai@foxmail.com

Description

Ref dapr/dapr#3537

Issue reference

We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.

Please reference the issue this PR will close: #[issue number]

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

Copy link
Contributor

@CodeMonkeyLeet CodeMonkeyLeet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, basically applying the dapr/dapr/.golangci.yml and then fixing all the static analysis checks, correct?

We probably want to try and coordinate the merge for this since it touches so many files and any new PR merge has the potential to require new lint fixes. @artursouza Do we have a window after codefreeze for v1.4 to push this set of PRs?

Copy link
Contributor

@artursouza artursouza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When the comment is a command, JSON or XML, then we want the content to be as-is and not have a period. Is there a way to disable lint for those?

@daixiang0
Copy link
Member Author

When the comment is a command, JSON or XML, then we want the content to be as-is and not have a period. Is there a way to disable lint for those?

Add //nolint, details see https://golangci-lint.run/usage/false-positives/#nolint.

@daixiang0 daixiang0 force-pushed the lint-config branch 2 times, most recently from e7d5a9c to d02ec45 Compare September 17, 2021 06:51
@codecov
Copy link

codecov bot commented Sep 18, 2021

Codecov Report

Merging #1102 (ba59f3c) into master (8f0cc88) will increase coverage by 0.10%.
The diff coverage is 63.04%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1102      +/-   ##
==========================================
+ Coverage   33.70%   33.81%   +0.10%     
==========================================
  Files         138      138              
  Lines       11635    11674      +39     
==========================================
+ Hits         3922     3947      +25     
- Misses       7308     7317       +9     
- Partials      405      410       +5     
Impacted Files Coverage Δ
authentication/azure/auth.go 56.09% <ø> (ø)
bindings/alicloud/dingtalk/webhook/webhook.go 52.68% <ø> (ø)
bindings/alicloud/nacos/nacos.go 35.23% <ø> (ø)
bindings/alicloud/oss/oss.go 11.11% <ø> (ø)
bindings/alicloud/rocketmq/rocketmq.go 0.00% <ø> (ø)
bindings/alicloud/rocketmq/settings.go 22.22% <ø> (ø)
bindings/apns/apns.go 88.00% <ø> (ø)
bindings/apns/authorization_builder.go 78.26% <ø> (ø)
bindings/aws/dynamodb/dynamodb.go 10.52% <ø> (ø)
bindings/aws/kinesis/kinesis.go 2.61% <ø> (ø)
... and 103 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c425f13...ba59f3c. Read the comment docs.

Signed-off-by: Long <long.dai@intel.com>
@artursouza artursouza added this to the v1.5 milestone Sep 21, 2021
@artursouza artursouza merged commit 988fed0 into dapr:master Sep 21, 2021
@daixiang0 daixiang0 deleted the lint-config branch September 22, 2021 01:39
Taction added a commit to Taction/components-contrib that referenced this pull request Oct 6, 2021
* master:
  fix 'durable' setting in RabbitMQ (dapr#1183)
  Support setting up Azure IoT Hub for integration testing with EventHubs components (dapr#1174)
  gcp bucket update  (dapr#1128)
  ok-to-test changes for components-contrib (dapr#1091)
  version stored procedure due to previous changes made (dapr#1176)
  Fix existing integration tests (dapr#1173)
  Add state alicloud.tablestore (dapr#1116)
  Add dapr user agent for Azure Components (dapr#1152)
  Support using setup-azure-conf-test.sh with existing Service Principal (dapr#1158)
  Add Event Hubs conformance tests to conformance.yml workflow (dapr#1164)
  restructure code and add comments per code review
  cover all concurrency + etag cases
  Fix EOF linebreaks
  Adds first-write conformance test
  update metadata key
  fix linter warnings
  TableStorage conformance tests pass
  TableStore config
  tablestorage conformance WIP
  ci: standard linter config (dapr#1102)

# Conflicts:
#	secretstores/hashicorp/vault/vault.go
amimimor pushed a commit to amimimor/components-contrib that referenced this pull request Dec 9, 2021
* ci: standard linter config

Signed-off-by: Long <long.dai@intel.com>

* Update utils.go

* fix pulsar issue

Signed-off-by: Long <long.dai@intel.com>

Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants