New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

npm-groovy-lint

Package Overview
Dependencies
Maintainers
1
Versions
207
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npm-groovy-lint - npm Package Versions

1
1618
21

3.0.1

Diff
nvuillam
published 3.0.1 •

Changelog

Source

[3.0.1] 2020-03-17

  • Add new test suites: errors.test.js and miscellaneous.test.js
  • Use JSON as default GroovyLint configuration file type
  • Order of fixable rules must be defined in groovy-lint-rules.js
  • Do not load rules test data except during tests
  • Do not lint again after a call to fixErrors on an existing NpmGroovyLint instance (except if lintAgainAfterFix : true is sent in options)
  • Fix: Deletion of temp RuleSite file
  • Fix: UnnecessarySemiColon rule
  • Fix: ClosingBraceNotAlone rule
nvuillam
published 3.0.1-beta.4 •
nvuillam
published 3.0.1-beta.3 •
nvuillam
published 3.0.1-beta.2 •
nvuillam
published 3.0.1-beta.1 •
nvuillam
published 3.0.0 •

Changelog

Source

[3.0.0] 2020-03-15

  • Local microservice "CodeNarcServer" called via Http by npm-groovy-lint, to avoid loading all groovy/java classes at each lint request. This microservice auto-kills itself after one hour idle.
  • Capability to define RuleSets in argument or js/json/yml config file formats instead of groovy/xml RuleSet format
  • Test classes for rules fix (before / after fix defined in rule definitions)
  • Add debug logs (use it by setting DEBUG env variable , ex: DEBUG=npm-groovy-lint npm-groovy-lint args...)
  • Update lines and ranges of other errors after a fix updated the number of lines
  • Generate automatically .groovylintrc-all.js during build
  • Split rules definition into files instead of all in a huge single file
  • Reorganize groovy-lint.js code, using codenarc-factory.js and codenarc-caller.js
  • New lib utils.js that can be used by rules definition
  • Fix: Crash when there was no error found in a file
  • Fix: Remove Promise error display in log after launching CodeNarcServer
  • Fix: Add more options exclusivity arguments rules
  • Removed "Groovy", "Jenkinsfile" and "All" identifiers for --rulesets arguments. Please now use .groovylintrc.js configuration
nvuillam
published 3.0.0-beta.8 •
nvuillam
published 3.0.0-beta.7 •
nvuillam
published 3.0.0-beta.6 •
nvuillam
published 3.0.0-beta.5 •