Releases: nvuillam/npm-groovy-lint
Releases · nvuillam/npm-groovy-lint
npm-groovy-lint v10.0.1
- Fix error when files sent as positional arguments (#232)
npm-groovy-lint v10.0.0
-
Core
- Upgrade to CodeNarc v3.1.0
- Accept list of directories / files as arguments (
--path
and--files
become deprecated but are still usable)- Examples
- Multiple files:
npm-groovy-lint path/to/file1.groovy path/to/file2.groovy
- Directory:
npm groovy-lint path/to
- Single file:
npm-groovy-lint Jenkinsfile
- Ant pattern(s):
npm-groovy-lint path/to/**/*.groovy
- Multiple files:
- Examples
- Upgrade npm dependencies
- CI: Upgrade MegaLinter to v6
- Test classes for collecting error ranges
-
New error ranges rules
- DuplicateNumberLiteral
- DuplicateStringLiteral
- MethodParameterTypeRequired
- NoDef
- SimpleDateFormatMissingLocale
- SpaceInsideParenthesis
- UnnecessaryPublicModifier
- VariableTypeRequired
-
New fix rules
- SpaceAfterMethodCallName
- SpaceInsideParentheses
-
Bug Fixes
- Wrongly calculated ranges are no more returned
npm-groovy-lint v9.5.0
- Disable Amplitude anonymous stats by default (use
--insight
to enable them)
npm-groovy-lint v9.4.1
- Upgrade node-sarif-builder to 2.0.1 and send npm-groovy-lint version in SARIF logs
- New range detection for rules:
- MethodReturnTypeRequired
- UnusedImport
npm-groovy-lint v9.4.0
- Add SARIF output format using node-sarif-builder