Skip to content

npm-groovy-lint v10.0.0

Compare
Choose a tag to compare
@nvuillam nvuillam released this 13 Aug 15:44
  • 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
    • 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