Skip to content

Commit

Permalink
Add rules exclusion for recommended-jenkinsfile (#140)
Browse files Browse the repository at this point in the history
The rules excluded are:

- UnnecessaryGetter
- FactoryMethodName
- MethodReturnTypeRequired
- GStringExpressionWithinString
  • Loading branch information
felipecrs committed Dec 14, 2020
1 parent 6aeaaa0 commit 4742853
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [8.1.0] 2020-12-14

- Exclude `UnnecessaryGetter`, `FactoryMethodName`, `MethodReturnTypeRequired`, and `GStringExpressionWithinString` in `recommended-jenkinsfile` ([#140](https://github.com/nvuillam/npm-groovy-lint/pull/140)) ([Felipe Santos](https://github.com/felipecrs))

## [8.0.2] 2020-11-26

- Fix documentation about --verbose and --version options
Expand Down
4 changes: 4 additions & 0 deletions lib/.groovylintrc-recommended-jenkinsfile.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@
"convention.CompileStatic": "off",
"convention.NoDef": "off",
"convention.VariableTypeRequired": "off",
"convention.MethodReturnTypeRequired": "off",
"groovyism.ExplicitCallToEqualsMethod": "off",
"groovyism.GStringExpressionWithinString": "off",
"naming.VariableName": "off",
"naming.FactoryMethodName": "off",
"unnecessary.UnnecessaryGetter": "off",
"size.NestedBlockDepth": {
"maxNestedBlockDepth": 10
},
Expand Down

0 comments on commit 4742853

Please sign in to comment.