Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

npm-groovy-lint

Package Overview
Dependencies
Maintainers
1
Versions
204
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npm-groovy-lint - npm Package Compare versions

Comparing version 1.0.3 to 1.1.0

jdeploy-bundle/test/RuleSet-All.groovy

4

package.json
{
"name": "npm-groovy-lint",
"version": "1.0.3",
"version": "1.1.0",
"description": "NPM CodeNarc wrapper to easily lint Groovy files",

@@ -8,3 +8,3 @@ "main": "index.js",

"prepare-package": "jdeploy install && node patch-jdeploy.js",
"test": "npm run prepare-package && npm-groovy-lint -basedir=\"dist/test\" -rulesetfiles=\"file:dist/test/RuleSet-all.txt\" -title=\"TestTitle\" -maxPriority1Violations=0 -report=\"html:dist/test/ReportTest.html\"",
"test": "npm run prepare-package && npm-groovy-lint -basedir=\"dist/test\" -rulesetfiles=\"file:dist/test/RuleSet-All.groovy\" -title=\"TestTitle\" -maxPriority1Violations=0 -report=\"html:dist/test/ReportTest.html\"",
"publish-to-npm": "npm run prepare-package && npm publish"

@@ -11,0 +11,0 @@ },

@@ -25,4 +25,7 @@ # NPM GROOVY LINT

You can use [this one](https://github.com/nvuillam/npm-groovy-lint/blob/master/src/dist/test/RuleSet-All.txt) as a starter
You can use as starters :
- [All rules](https://github.com/nvuillam/npm-groovy-lint/blob/master/dist/test/RuleSet-All.groovy)
- [Base rules](https://github.com/nvuillam/npm-groovy-lint/blob/master/dist/test/RuleSet-Base.groovy)
# USAGE

@@ -40,5 +43,5 @@

$ npm-groovy-lint -includes=**/Jenkinsfile -rulesetfiles="file:config/codenarc/RuleSet-all.txt" -title="MyJenkinsfileLinterReport" -maxPriority1Violations=0 -report="html:MyJenkinsfileLinterReport.html"
$ npm-groovy-lint -includes=**/Jenkinsfile -rulesetfiles="file:config/codenarc/RuleSet-All.groovy" -title="MyJenkinsfileLinterReport" -maxPriority1Violations=0 -report="html:MyJenkinsfileLinterReport.html"
$ npm-groovy-lint -basedir="src" -rulesetfiles="file:config/codenarc/RuleSet-all.txt" -title="MyGroovyLinterReport" -maxPriority1Violations=0 -report="html:MyGroovyLinterReport.html"
$ npm-groovy-lint -basedir="src" -rulesetfiles="file:config/codenarc/RuleSet-Base.groovy" -title="MyGroovyLinterReport" -maxPriority1Violations=0 -report="html:MyGroovyLinterReport.html"
```

@@ -45,0 +48,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc