Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix jscpd and golangci linters
Browse files Browse the repository at this point in the history
Fix jscpd and golangci linters
lukasbudisky committed Jan 1, 2024

Verified

This commit was signed with the committer’s verified signature.
chipshort Christoph Otter
1 parent b091006 commit 7b18880
Showing 6 changed files with 6 additions and 10 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
@@ -21,5 +21,3 @@ jobs:
VALIDATE_ALL_CODEBASE: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
JSCPD_CONFIG_FILE: .jscpd.json
VALIDATE_GO: false # temporary disabled because of bugs
VALIDATE_JSCPD: false # temporary disabled because of bugs
3 changes: 0 additions & 3 deletions .golangci.yml

This file was deleted.

4 changes: 3 additions & 1 deletion .jscpd.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{
"threshold": 20.0
"threshold": 30.0,
"absolute": true,
"gitignore": true
}
1 change: 0 additions & 1 deletion .yamllint
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
ignore: |
.github
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -73,4 +73,4 @@ cbdown:
linters:
find . -name "*.sh" | xargs shellcheck -s bash
yamllint -c .yamllint .
golint ./...
golangci-lint run ./...
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -11,8 +11,8 @@ Terraform provider for Couchbase allow manage resources in couchbase cluster
## Requirements
- terraform 1.4.0
- go 1.21 (for plugin build)
- docker-compose v2.15.1
- docker desktop 4.17.0
- docker-compose v2.21.0-desktop.1
- docker desktop 4.23.0

## Run couchbase on localhost
In terraform_example folder is docker-compose.yml with couchbase server.

0 comments on commit 7b18880

Please sign in to comment.