diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 5538d72b3824..eaa49fdbefe5 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -15,7 +15,7 @@ please add links to any relevant follow up issues.* I have... * [ ] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title, you can find examples of the prefixes below: - * `feat`: A new feature + * [ ] confirmed `!` in the type prefix if API or client breaking change * [ ] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting)) * [ ] provided a link to the relevant issue or specification diff --git a/client/v2/sonar-project.properties b/client/v2/sonar-project.properties index d08e6a24ac5b..d32036990c32 100644 --- a/client/v2/sonar-project.properties +++ b/client/v2/sonar-project.properties @@ -5,10 +5,11 @@ sonar.projectName=Cosmos SDK - Client V2 sonar.project.monorepo.enabled=true sonar.sources=. -sonar.exclusions=**/*_test.go,**/*.pb.go,**/*.pulsar.go +sonar.exclusions=**/*_test.go,**/*.pb.go,**/*.pulsar.go,**/*.pb.gw.go +sonar.coverage.exclusions=**/*_test.go,**/testutil/**,**/*.pb.go,**/*.pb.gw.go,**/*.pulsar.go,test_helpers.go,docs/** sonar.tests=. sonar.test.inclusions=**/*_test.go sonar.go.coverage.reportPaths=coverage.out sonar.sourceEncoding=UTF-8 -sonar.scm.provider=git \ No newline at end of file +sonar.scm.provider=git diff --git a/collections/sonar-project.properties b/collections/sonar-project.properties index b22f312ca999..cd47d8ee03de 100644 --- a/collections/sonar-project.properties +++ b/collections/sonar-project.properties @@ -5,10 +5,10 @@ sonar.projectName=Cosmos SDK - Collections sonar.project.monorepo.enabled=true sonar.sources=. -sonar.exclusions=**/*_test.go +sonar.exclusions=**/*_test.go,**/*.pb.go,**/*.pulsar.go,**/*.pb.gateway.go sonar.tests=. sonar.test.inclusions=**/*_test.go sonar.go.coverage.reportPaths=coverage.out sonar.sourceEncoding=UTF-8 -sonar.scm.provider=git \ No newline at end of file +sonar.scm.provider=git diff --git a/core/sonar-project.properties b/core/sonar-project.properties index c5d84a78ed11..e934b5b39bed 100644 --- a/core/sonar-project.properties +++ b/core/sonar-project.properties @@ -5,10 +5,11 @@ sonar.projectName=Cosmos SDK - Core sonar.project.monorepo.enabled=true sonar.sources=. -sonar.exclusions=**/*_test.go,**/*.pulsar.go +sonar.exclusions=**/*_test.go,**/*.pb.go,**/*.pulsar.go,**/*.pb.gw.go +sonar.coverage.exclusions=**/*_test.go,**/testutil/**,**/*.pb.go,**/*.pb.gw.go,**/*.pulsar.go,test_helpers.go,docs/** sonar.tests=. sonar.test.inclusions=**/*_test.go sonar.go.coverage.reportPaths=coverage.out sonar.sourceEncoding=UTF-8 -sonar.scm.provider=git \ No newline at end of file +sonar.scm.provider=git diff --git a/depinject/sonar-project.properties b/depinject/sonar-project.properties index 04c63cddf780..b24425412a00 100644 --- a/depinject/sonar-project.properties +++ b/depinject/sonar-project.properties @@ -5,10 +5,11 @@ sonar.projectName=Cosmos SDK Depinject sonar.project.monorepo.enabled=true sonar.sources=. -sonar.exclusions=**/*_test.go,**/*.pulsar.go +sonar.exclusions=**/*_test.go,**/*.pb.go,**/*.pulsar.go,**/*.pb.gw.go +sonar.coverage.exclusions=**/*_test.go,**/testutil/**,**/*.pb.go,**/*.pb.gw.go,**/*.pulsar.go,test_helpers.go,docs/** sonar.tests=. sonar.test.inclusions=**/*_test.go sonar.go.coverage.reportPaths=coverage.out sonar.sourceEncoding=UTF-8 -sonar.scm.provider=git \ No newline at end of file +sonar.scm.provider=git diff --git a/log/sonar-project.properties b/log/sonar-project.properties index c78e11c7ec09..a472bfd6d078 100644 --- a/log/sonar-project.properties +++ b/log/sonar-project.properties @@ -5,7 +5,8 @@ sonar.projectName=Cosmos SDK - Log sonar.project.monorepo.enabled=true sonar.sources=. -sonar.exclusions=**/*_test.go +sonar.exclusions=**/*_test.go,**/*.pb.go,**/*.pulsar.go,**/*.pb.gw.go +sonar.coverage.exclusions=**/*_test.go,**/testutil/**,**/*.pb.go,**/*.pb.gw.go,**/*.pulsar.go,test_helpers.go,docs/** sonar.tests=. sonar.test.inclusions=**/*_test.go sonar.go.coverage.reportPaths=coverage.out diff --git a/math/sonar-project.properties b/math/sonar-project.properties index d4a36b3a6e01..23054f3703df 100644 --- a/math/sonar-project.properties +++ b/math/sonar-project.properties @@ -5,10 +5,11 @@ sonar.projectName=Cosmos SDK - Math sonar.project.monorepo.enabled=true sonar.sources=. -sonar.exclusions=**/*_test.go +sonar.exclusions=**/*_test.go,**/*.pb.go,**/*.pulsar.go,**/*.pb.gw.go +sonar.coverage.exclusions=**/*_test.go,**/testutil/**,**/*.pb.go,**/*.pb.gw.go,**/*.pulsar.go,test_helpers.go,docs/** sonar.tests=. sonar.test.inclusions=**/*_test.go sonar.go.coverage.reportPaths=coverage.out sonar.sourceEncoding=UTF-8 -sonar.scm.provider=git \ No newline at end of file +sonar.scm.provider=git diff --git a/orm/sonar-project.properties b/orm/sonar-project.properties index 868608220c6e..b3be9dd42cae 100644 --- a/orm/sonar-project.properties +++ b/orm/sonar-project.properties @@ -5,10 +5,11 @@ sonar.projectName=Cosmos SDK - ORM sonar.project.monorepo.enabled=true sonar.sources=. -sonar.exclusions=**/*_test.go +sonar.exclusions=**/*_test.go,**/*.pb.go,**/*.pulsar.go,**/*.pb.gw.go +sonar.coverage.exclusions=**/*_test.go,**/testutil/**,**/*.pb.go,**/*.pb.gw.go,**/*.pulsar.go,test_helpers.go,docs/** sonar.tests=. sonar.test.inclusions=**/*_test.go sonar.go.coverage.reportPaths=coverage.out sonar.sourceEncoding=UTF-8 -sonar.scm.provider=git \ No newline at end of file +sonar.scm.provider=git diff --git a/simapp/sonar-project.properties b/simapp/sonar-project.properties index 1da573f424c1..a3e07ef5f760 100644 --- a/simapp/sonar-project.properties +++ b/simapp/sonar-project.properties @@ -5,10 +5,11 @@ sonar.projectName=Cosmos SDK - SimApp sonar.project.monorepo.enabled=true sonar.sources=. -sonar.exclusions=**/*_test.go +sonar.exclusions=**/*_test.go,**/*.pb.go,**/*.pulsar.go,**/*.pb.gw.go +sonar.coverage.exclusions=**/*_test.go,**/testutil/**,**/*.pb.go,**/*.pb.gw.go,**/*.pulsar.go,test_helpers.go,docs/** sonar.tests=. sonar.test.inclusions=**/*_test.go sonar.go.coverage.reportPaths=coverage.out sonar.sourceEncoding=UTF-8 -sonar.scm.provider=git \ No newline at end of file +sonar.scm.provider=git diff --git a/sonar-project.properties b/sonar-project.properties index b9090bd34e56..63b7ed38bca2 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -5,7 +5,8 @@ sonar.projectName=Cosmos SDK sonar.project.monorepo.enabled=true sonar.sources=. -sonar.exclusions=**/*_test.go,tests/**,**/testutil/**,**/*.pb.go,**/*.pb.gw.go,**/*.pulsar.go,test_helpers.go,docs/**,**/*.java,client/docs/**, +sonar.exclusions=**/*_test.go,**/*.pb.go,**/*.pulsar.go,**/*.pb.gw.go +sonar.coverage.exclusions=**/*_test.go,**/testutil/**,**/*.pb.go,**/*.pb.gw.go,**/*.pulsar.go,test_helpers.go,docs/** sonar.tests=. sonar.test.inclusions=**/*_test.go,tests/**,**/testutil/** sonar.go.coverage.reportPaths=coverage.out,*profile.out @@ -17,4 +18,4 @@ sonar.scm.provider=git # Exclude C/C++/Objective-C files from analysis sonar.c.file.suffixes=- sonar.cpp.file.suffixes=- -sonar.objc.file.suffixes=- \ No newline at end of file +sonar.objc.file.suffixes=- diff --git a/store/sonar-project.properties b/store/sonar-project.properties index 666c3c9c0d22..f8510811863f 100644 --- a/store/sonar-project.properties +++ b/store/sonar-project.properties @@ -5,10 +5,11 @@ sonar.projectName=Cosmos SDK - Store sonar.project.monorepo.enabled=true sonar.sources=. -sonar.exclusions=**/*_test.go +sonar.exclusions=**/*_test.go,**/*.pb.go,**/*.pulsar.go,**/*.pb.gw.go +sonar.coverage.exclusions=**/*_test.go,**/testutil/**,**/*.pb.go,**/*.pb.gw.go,**/*.pulsar.go,test_helpers.go,docs/** sonar.tests=. sonar.test.inclusions=**/*_test.go sonar.go.coverage.reportPaths=coverage.out sonar.sourceEncoding=UTF-8 -sonar.scm.provider=git \ No newline at end of file +sonar.scm.provider=git diff --git a/store/v2/sonar-project.properties b/store/v2/sonar-project.properties index 666c3c9c0d22..f8510811863f 100644 --- a/store/v2/sonar-project.properties +++ b/store/v2/sonar-project.properties @@ -5,10 +5,11 @@ sonar.projectName=Cosmos SDK - Store sonar.project.monorepo.enabled=true sonar.sources=. -sonar.exclusions=**/*_test.go +sonar.exclusions=**/*_test.go,**/*.pb.go,**/*.pulsar.go,**/*.pb.gw.go +sonar.coverage.exclusions=**/*_test.go,**/testutil/**,**/*.pb.go,**/*.pb.gw.go,**/*.pulsar.go,test_helpers.go,docs/** sonar.tests=. sonar.test.inclusions=**/*_test.go sonar.go.coverage.reportPaths=coverage.out sonar.sourceEncoding=UTF-8 -sonar.scm.provider=git \ No newline at end of file +sonar.scm.provider=git diff --git a/tools/confix/sonar-project.properties b/tools/confix/sonar-project.properties index cb3df0b72d2f..24e37fffc8de 100644 --- a/tools/confix/sonar-project.properties +++ b/tools/confix/sonar-project.properties @@ -5,10 +5,11 @@ sonar.projectName=Cosmos SDK - Confix sonar.project.monorepo.enabled=true sonar.sources=. -sonar.exclusions=**/*_test.go +sonar.exclusions=**/*_test.go,**/*.pb.go,**/*.pulsar.go,**/*.pb.gw.go +sonar.coverage.exclusions=**/*_test.go,**/testutil/**,**/*.pb.go,**/*.pb.gw.go,**/*.pulsar.go,test_helpers.go,docs/** sonar.tests=. sonar.test.inclusions=**/*_test.go sonar.go.coverage.reportPaths=coverage.out sonar.sourceEncoding=UTF-8 -sonar.scm.provider=git \ No newline at end of file +sonar.scm.provider=git diff --git a/tools/cosmovisor/sonar-project.properties b/tools/cosmovisor/sonar-project.properties index 6b3ea0666a08..47a4ce8e9592 100644 --- a/tools/cosmovisor/sonar-project.properties +++ b/tools/cosmovisor/sonar-project.properties @@ -5,10 +5,11 @@ sonar.projectName=Cosmos SDK - Cosmovisor sonar.project.monorepo.enabled=true sonar.sources=. -sonar.exclusions=**/*_test.go +sonar.exclusions=**/*_test.go,**/*.pb.go,**/*.pulsar.go,**/*.pb.gw.go +sonar.coverage.exclusions=**/*_test.go,**/testutil/**,**/*.pb.go,**/*.pb.gw.go,**/*.pulsar.go,test_helpers.go,docs/** sonar.tests=. sonar.test.inclusions=**/*_test.go sonar.go.coverage.reportPaths=coverage.out sonar.sourceEncoding=UTF-8 -sonar.scm.provider=git \ No newline at end of file +sonar.scm.provider=git diff --git a/tools/hubl/sonar-project.properties b/tools/hubl/sonar-project.properties index 87b389a5412f..ab20f15c7ff6 100644 --- a/tools/hubl/sonar-project.properties +++ b/tools/hubl/sonar-project.properties @@ -5,10 +5,11 @@ sonar.projectName=Cosmos SDK - Hubl sonar.project.monorepo.enabled=true sonar.sources=. -sonar.exclusions=**/*_test.go +sonar.exclusions=**/*_test.go,**/*.pb.go,**/*.pulsar.go,**/*.pb.gw.go +sonar.coverage.exclusions=**/*_test.go,**/testutil/**,**/*.pb.go,**/*.pb.gw.go,**/*.pulsar.go,test_helpers.go,docs/** sonar.tests=. sonar.test.inclusions=**/*_test.go sonar.go.coverage.reportPaths=coverage.out sonar.sourceEncoding=UTF-8 -sonar.scm.provider=git \ No newline at end of file +sonar.scm.provider=git diff --git a/x/accounts/sonar-project.properties b/x/accounts/sonar-project.properties index 5af7c0c5ff13..ac8b186ae8d9 100644 --- a/x/accounts/sonar-project.properties +++ b/x/accounts/sonar-project.properties @@ -5,11 +5,12 @@ sonar.projectName=Cosmos SDK - x/accounts sonar.project.monorepo.enabled=true sonar.sources=. -sonar.exclusions=**/*_test.go +sonar.exclusions=**/*_test.go,**/*.pb.go,**/*.pulsar.go,**/*.pb.gw.go +sonar.coverage.exclusions=**/*_test.go,**/testutil/**,**/*.pb.go,**/*.pb.gw.go,**/*.pulsar.go,test_helpers.go,docs/** sonar.tests=. sonar.test.inclusions=**/*_test.go sonar.go.coverage.reportPaths=coverage.out sonar.sourceEncoding=UTF-8 sonar.scm.provider=git -sonar.pullrequest.github.summary_comment=true \ No newline at end of file +sonar.pullrequest.github.summary_comment=true diff --git a/x/auth/sonar-project.properties b/x/auth/sonar-project.properties index f790200603d8..505b03d62e39 100644 --- a/x/auth/sonar-project.properties +++ b/x/auth/sonar-project.properties @@ -5,7 +5,8 @@ sonar.projectName=Cosmos SDK - x/auth sonar.project.monorepo.enabled=true sonar.sources=. -sonar.exclusions=**/*_test.go +sonar.exclusions=**/*_test.go,**/*.pb.go,**/*.pulsar.go,**/*.pb.gw.go +sonar.coverage.exclusions=**/*_test.go,**/testutil/**,**/*.pb.go,**/*.pb.gw.go,**/*.pulsar.go,test_helpers.go,docs/** sonar.tests=. sonar.test.inclusions=**/*_test.go sonar.go.coverage.reportPaths=coverage.out diff --git a/x/authz/sonar-project.properties b/x/authz/sonar-project.properties index b3a4874d8553..cc6b1af3c491 100644 --- a/x/authz/sonar-project.properties +++ b/x/authz/sonar-project.properties @@ -5,7 +5,8 @@ sonar.projectName=Cosmos SDK - x/authz sonar.project.monorepo.enabled=true sonar.sources=. -sonar.exclusions=**/*_test.go +sonar.exclusions=**/*_test.go,**/*.pb.go,**/*.pulsar.go,**/*.pb.gw.go +sonar.coverage.exclusions=**/*_test.go,**/testutil/**,**/*.pb.go,**/*.pb.gw.go,**/*.pulsar.go,test_helpers.go,docs/** sonar.tests=. sonar.test.inclusions=**/*_test.go sonar.go.coverage.reportPaths=coverage.out diff --git a/x/bank/sonar-project.properties b/x/bank/sonar-project.properties index 81039eebf1bd..1d88585d8db4 100644 --- a/x/bank/sonar-project.properties +++ b/x/bank/sonar-project.properties @@ -5,7 +5,8 @@ sonar.projectName=Cosmos SDK - x/bank sonar.project.monorepo.enabled=true sonar.sources=. -sonar.exclusions=**/*_test.go +sonar.exclusions=**/*_test.go,**/*.pb.go,**/*.pulsar.go,**/*.pb.gw.go +sonar.coverage.exclusions=**/*_test.go,**/testutil/**,**/*.pb.go,**/*.pb.gw.go,**/*.pulsar.go,test_helpers.go,docs/** sonar.tests=. sonar.test.inclusions=**/*_test.go sonar.go.coverage.reportPaths=coverage.out diff --git a/x/circuit/sonar-project.properties b/x/circuit/sonar-project.properties index f98be43f2c40..67544aadc87a 100644 --- a/x/circuit/sonar-project.properties +++ b/x/circuit/sonar-project.properties @@ -5,10 +5,11 @@ sonar.projectName=Cosmos SDK - x/circuit sonar.project.monorepo.enabled=true sonar.sources=. -sonar.exclusions=**/*_test.go +sonar.exclusions=**/*_test.go,**/*.pb.go,**/*.pulsar.go,**/*.pb.gw.go +sonar.coverage.exclusions=**/*_test.go,**/testutil/**,**/*.pb.go,**/*.pb.gw.go,**/*.pulsar.go,test_helpers.go,docs/** sonar.tests=. sonar.test.inclusions=**/*_test.go sonar.go.coverage.reportPaths=coverage.out sonar.sourceEncoding=UTF-8 -sonar.scm.provider=git \ No newline at end of file +sonar.scm.provider=git diff --git a/x/consensus/sonar-project.properties b/x/consensus/sonar-project.properties index 91ad7264381a..6aeeb7df5ece 100644 --- a/x/consensus/sonar-project.properties +++ b/x/consensus/sonar-project.properties @@ -5,7 +5,8 @@ sonar.projectName=Cosmos SDK - x/consensus sonar.project.monorepo.enabled=true sonar.sources=. -sonar.exclusions=**/*_test.go +sonar.exclusions=**/*_test.go,**/*.pb.go,**/*.pulsar.go,**/*.pb.gw.go +sonar.coverage.exclusions=**/*_test.go,**/testutil/**,**/*.pb.go,**/*.pb.gw.go,**/*.pulsar.go,test_helpers.go,docs/** sonar.tests=. sonar.test.inclusions=**/*_test.go sonar.go.coverage.reportPaths=coverage.out diff --git a/x/distribution/sonar-project.properties b/x/distribution/sonar-project.properties index c54e3ebec744..005aac0641a0 100644 --- a/x/distribution/sonar-project.properties +++ b/x/distribution/sonar-project.properties @@ -5,7 +5,8 @@ sonar.projectName=Cosmos SDK - Distribution sonar.project.monorepo.enabled=true sonar.sources=. -sonar.exclusions=**/*_test.go +sonar.exclusions=**/*_test.go,**/*.pb.go,**/*.pulsar.go,**/*.pb.gw.go +sonar.coverage.exclusions=**/*_test.go,**/testutil/**,**/*.pb.go,**/*.pb.gw.go,**/*.pulsar.go,test_helpers.go,docs/** sonar.tests=. sonar.test.inclusions=**/*_test.go sonar.go.coverage.reportPaths=coverage.out diff --git a/x/epochs/sonar-project.properties b/x/epochs/sonar-project.properties index 4f13ab19c8e0..db23d53d736a 100644 --- a/x/epochs/sonar-project.properties +++ b/x/epochs/sonar-project.properties @@ -5,7 +5,8 @@ sonar.projectName=Cosmos SDK - Epochs sonar.project.monorepo.enabled=true sonar.sources=. -sonar.exclusions=**/*_test.go +sonar.exclusions=**/*_test.go,**/*.pb.go,**/*.pulsar.go,**/*.pb.gw.go +sonar.coverage.exclusions=**/*_test.go,**/testutil/**,**/*.pb.go,**/*.pb.gw.go,**/*.pulsar.go,test_helpers.go,docs/** sonar.tests=. sonar.test.inclusions=**/*_test.go sonar.go.coverage.reportPaths=coverage.out diff --git a/x/evidence/sonar-project.properties b/x/evidence/sonar-project.properties index 87320e7ea8d0..a712e08cbf61 100644 --- a/x/evidence/sonar-project.properties +++ b/x/evidence/sonar-project.properties @@ -5,7 +5,8 @@ sonar.projectName=Cosmos SDK - x/evidence sonar.project.monorepo.enabled=true sonar.sources=. -sonar.exclusions=**/*_test.go +sonar.exclusions=**/*_test.go,**/*.pb.go,**/*.pulsar.go,**/*.pb.gw.go +sonar.coverage.exclusions=**/*_test.go,**/testutil/**,**/*.pb.go,**/*.pb.gw.go,**/*.pulsar.go,test_helpers.go,docs/** sonar.tests=. sonar.test.inclusions=**/*_test.go sonar.go.coverage.reportPaths=coverage.out diff --git a/x/feegrant/sonar-project.properties b/x/feegrant/sonar-project.properties index 3e50d37161bf..08f254cd9dd1 100644 --- a/x/feegrant/sonar-project.properties +++ b/x/feegrant/sonar-project.properties @@ -5,11 +5,12 @@ sonar.projectName=Cosmos SDK - x/feegrant sonar.project.monorepo.enabled=true sonar.sources=. -sonar.exclusions=**/*_test.go +sonar.exclusions=**/*_test.go,**/*.pb.go,**/*.pulsar.go,**/*.pb.gw.go +sonar.coverage.exclusions=**/*_test.go,**/testutil/**,**/*.pb.go,**/*.pb.gw.go,**/*.pulsar.go,test_helpers.go,docs/** sonar.tests=. sonar.test.inclusions=**/*_test.go sonar.go.coverage.reportPaths=coverage.out sonar.sourceEncoding=UTF-8 sonar.scm.provider=git -sonar.pullrequest.github.summary_comment=true \ No newline at end of file +sonar.pullrequest.github.summary_comment=true diff --git a/x/gov/sonar-project.properties b/x/gov/sonar-project.properties index d94ecf4cea7c..c12cb207685c 100644 --- a/x/gov/sonar-project.properties +++ b/x/gov/sonar-project.properties @@ -5,7 +5,8 @@ sonar.projectName=Cosmos SDK - Gov sonar.project.monorepo.enabled=true sonar.sources=. -sonar.exclusions=**/*_test.go +sonar.exclusions=**/*_test.go,**/*.pb.go,**/*.pulsar.go,**/*.pb.gw.go +sonar.coverage.exclusions=**/*_test.go,**/testutil/**,**/*.pb.go,**/*.pb.gw.go,**/*.pulsar.go,test_helpers.go,docs/** sonar.tests=. sonar.test.inclusions=**/*_test.go sonar.go.coverage.reportPaths=coverage.out diff --git a/x/group/sonar-project.properties b/x/group/sonar-project.properties index e4209bc9f403..c8c12dce5420 100644 --- a/x/group/sonar-project.properties +++ b/x/group/sonar-project.properties @@ -5,7 +5,8 @@ sonar.projectName=Cosmos SDK - X Group sonar.project.monorepo.enabled=true sonar.sources=. -sonar.exclusions=**/*_test.go +sonar.exclusions=**/*_test.go,**/*.pb.go,**/*.pulsar.go,**/*.pb.gw.go +sonar.coverage.exclusions=**/*_test.go,**/testutil/**,**/*.pb.go,**/*.pb.gw.go,**/*.pulsar.go,test_helpers.go,docs/** sonar.tests=. sonar.test.inclusions=**/*_test.go sonar.go.coverage.reportPaths=coverage.out diff --git a/x/mint/sonar-project.properties b/x/mint/sonar-project.properties index ee3d1ceb761c..7460eebc9e5e 100644 --- a/x/mint/sonar-project.properties +++ b/x/mint/sonar-project.properties @@ -5,7 +5,8 @@ sonar.projectName=Cosmos SDK - x/mint sonar.project.monorepo.enabled=true sonar.sources=. -sonar.exclusions=**/*_test.go +sonar.exclusions=**/*_test.go,**/*.pb.go,**/*.pulsar.go,**/*.pb.gw.go +sonar.coverage.exclusions=**/*_test.go,**/testutil/**,**/*.pb.go,**/*.pb.gw.go,**/*.pulsar.go,test_helpers.go,docs/** sonar.tests=. sonar.test.inclusions=**/*_test.go sonar.go.coverage.reportPaths=coverage.out diff --git a/x/nft/sonar-project.properties b/x/nft/sonar-project.properties index 7c3466058a17..090911458428 100644 --- a/x/nft/sonar-project.properties +++ b/x/nft/sonar-project.properties @@ -5,10 +5,11 @@ sonar.projectName=Cosmos SDK - x/nft sonar.project.monorepo.enabled=true sonar.sources=. -sonar.exclusions=**/*_test.go +sonar.exclusions=**/*_test.go,**/*.pb.go,**/*.pulsar.go,**/*.pb.gw.go +sonar.coverage.exclusions=**/*_test.go,**/testutil/**,**/*.pb.go,**/*.pb.gw.go,**/*.pulsar.go,test_helpers.go,docs/** sonar.tests=. sonar.test.inclusions=**/*_test.go sonar.go.coverage.reportPaths=coverage.out sonar.sourceEncoding=UTF-8 -sonar.scm.provider=git \ No newline at end of file +sonar.scm.provider=git diff --git a/x/params/sonar-project.properties b/x/params/sonar-project.properties index 58e2afbe4baa..40e29ef7045e 100644 --- a/x/params/sonar-project.properties +++ b/x/params/sonar-project.properties @@ -5,7 +5,8 @@ sonar.projectName=Cosmos SDK - X Params sonar.project.monorepo.enabled=true sonar.sources=. -sonar.exclusions=**/*_test.go +sonar.exclusions=**/*_test.go,**/*.pb.go,**/*.pulsar.go,**/*.pb.gw.go +sonar.coverage.exclusions=**/*_test.go,**/testutil/**,**/*.pb.go,**/*.pb.gw.go,**/*.pulsar.go,test_helpers.go,docs/** sonar.tests=. sonar.test.inclusions=**/*_test.go sonar.go.coverage.reportPaths=coverage.out diff --git a/x/protocolpool/sonar-project.properties b/x/protocolpool/sonar-project.properties index 24849a3aef7b..f8064702d15a 100644 --- a/x/protocolpool/sonar-project.properties +++ b/x/protocolpool/sonar-project.properties @@ -5,10 +5,11 @@ sonar.projectName=Cosmos SDK - x/protocolpool sonar.project.monorepo.enabled=true sonar.sources=. -sonar.exclusions=**/*_test.go +sonar.exclusions=**/*_test.go,**/*.pb.go,**/*.pulsar.go,**/*.pb.gw.go +sonar.coverage.exclusions=**/*_test.go,**/testutil/**,**/*.pb.go,**/*.pb.gw.go,**/*.pulsar.go,test_helpers.go,docs/** sonar.tests=. sonar.test.inclusions=**/*_test.go sonar.go.coverage.reportPaths=coverage.out sonar.sourceEncoding=UTF-8 -sonar.scm.provider=git \ No newline at end of file +sonar.scm.provider=git diff --git a/x/slashing/sonar-project.properties b/x/slashing/sonar-project.properties index 6a2b0c6f1d31..1a2ae679ad30 100644 --- a/x/slashing/sonar-project.properties +++ b/x/slashing/sonar-project.properties @@ -5,7 +5,8 @@ sonar.projectName=Cosmos SDK - x/slashing sonar.project.monorepo.enabled=true sonar.sources=. -sonar.exclusions=**/*_test.go +sonar.exclusions=**/*_test.go,**/*.pb.go,**/*.pulsar.go,**/*.pb.gw.go +sonar.coverage.exclusions=**/*_test.go,**/testutil/**,**/*.pb.go,**/*.pb.gw.go,**/*.pulsar.go,test_helpers.go,docs/** sonar.tests=. sonar.test.inclusions=**/*_test.go sonar.go.coverage.reportPaths=coverage.out diff --git a/x/staking/sonar-project.properties b/x/staking/sonar-project.properties index 9b8a804627e6..7fee9ae2e803 100644 --- a/x/staking/sonar-project.properties +++ b/x/staking/sonar-project.properties @@ -5,7 +5,8 @@ sonar.projectName=Cosmos SDK - x/staking sonar.project.monorepo.enabled=true sonar.sources=. -sonar.exclusions=**/*_test.go +sonar.exclusions=**/*_test.go,**/*.pb.go,**/*.pulsar.go,**/*.pb.gw.go +sonar.coverage.exclusions=**/*_test.go,**/testutil/**,**/*.pb.go,**/*.pb.gw.go,**/*.pulsar.go,test_helpers.go,docs/** sonar.tests=. sonar.test.inclusions=**/*_test.go sonar.go.coverage.reportPaths=coverage.out diff --git a/x/tx/sonar-project.properties b/x/tx/sonar-project.properties index 4550b73afb2c..280c3023b425 100644 --- a/x/tx/sonar-project.properties +++ b/x/tx/sonar-project.properties @@ -5,10 +5,11 @@ sonar.projectName=Cosmos SDK - x/tx sonar.project.monorepo.enabled=true sonar.sources=. -sonar.exclusions=**/*_test.go,**/*.pulsar.go +sonar.exclusions=**/*_test.go,**/*.pb.go,**/*.pulsar.go,**/*.pb.gw.go +sonar.coverage.exclusions=**/*_test.go,**/testutil/**,**/*.pb.go,**/*.pb.gw.go,**/*.pulsar.go,test_helpers.go,docs/** sonar.tests=. sonar.test.inclusions=**/*_test.go sonar.go.coverage.reportPaths=coverage.out sonar.sourceEncoding=UTF-8 -sonar.scm.provider=git \ No newline at end of file +sonar.scm.provider=git diff --git a/x/upgrade/sonar-project.properties b/x/upgrade/sonar-project.properties index de8308941636..1b192af4ce00 100644 --- a/x/upgrade/sonar-project.properties +++ b/x/upgrade/sonar-project.properties @@ -5,10 +5,11 @@ sonar.projectName=Cosmos SDK - x/upgrade sonar.project.monorepo.enabled=true sonar.sources=. -sonar.exclusions=**/*_test.go +sonar.exclusions=**/*_test.go,**/*.pb.go,**/*.pulsar.go,**/*.pb.gw.go +sonar.coverage.exclusions=**/*_test.go,**/testutil/**,**/*.pb.go,**/*.pb.gw.go,**/*.pulsar.go,test_helpers.go,docs/** sonar.tests=. sonar.test.inclusions=**/*_test.go sonar.go.coverage.reportPaths=coverage.out sonar.sourceEncoding=UTF-8 -sonar.scm.provider=git \ No newline at end of file +sonar.scm.provider=git