Skip to content

Commit

Permalink
fix(deps): update dependency codenarc to v3 (#2606)
Browse files Browse the repository at this point in the history
* fix(deps): update dependency codenarc to v3

* test: enable new codenarc rulesets

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Christian Murphy <[email protected]>
  • Loading branch information
renovate[bot] and ChristianMurphy authored Dec 19, 2022
1 parent a78dbeb commit 3c54c63
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ allprojects {
}

codenarc {
toolVersion = '1.5'
toolVersion = '3.1.0'
reportFormat = 'console'
}

Expand Down
15 changes: 10 additions & 5 deletions config/codenarc/codenarc.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,24 @@
xsi:noNamespaceSchemaLocation="http://codenarc.org/ruleset-schema.xsd">
<ruleset-ref path='rulesets/basic.xml' />
<ruleset-ref path='rulesets/braces.xml' />
<!-- <ruleset-ref path='rulesets/comments.xml' /> -->
<ruleset-ref path='rulesets/concurrency.xml' />
<!-- <ruleset-ref path='rulesets/convention.xml' />
<ruleset-ref path='rulesets/design.xml' />
<ruleset-ref path='rulesets/design.xml' /> -->
<ruleset-ref path='rulesets/dry.xml' />
<ruleset-ref path='rulesets/enhanced.xml' />
<ruleset-ref path='rulesets/exceptions.xml' />
<ruleset-ref path='rulesets/formatting.xml' />
<ruleset-ref path='rulesets/groovyism.xml' />
<!-- <ruleset-ref path='rulesets/formatting.xml' /> -->
<ruleset-ref path='rulesets/generic.xml' />
<!-- <ruleset-ref path='rulesets/groovyism.xml' />
<ruleset-ref path='rulesets/imports.xml' />
<ruleset-ref path='rulesets/junit.xml' />
<ruleset-ref path='rulesets/size.xml' />
<ruleset-ref path='rulesets/jdbc.xml' />
<ruleset-ref path='rulesets/junit.xml' /> -->
<ruleset-ref path='rulesets/logging.xml' />
<!-- <ruleset-ref path='rulesets/naming.xml' /> -->
<ruleset-ref path='rulesets/security.xml' />
<ruleset-ref path='rulesets/serialization.xml' />
<!-- <ruleset-ref path='rulesets/size.xml' />
<ruleset-ref path='rulesets/unnecessary.xml' /> -->
<ruleset-ref path='rulesets/unused.xml' />
</ruleset>

0 comments on commit 3c54c63

Please sign in to comment.