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 CodeNarc wrapper to easily lint Groovy files

  • 1.2.0-beta.8
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9.9K
decreased by-22.02%
Maintainers
1
Weekly downloads
 
Created
Source

NPM GROOVY LINT

Version Downloads/week GitHub contributors GitHub stars License PRs Welcome Say Thanks!

Wrapper for excellent groovy linter CodeNarc, using the great jdeploy and Groovy!

npm-groovy-lint allows you to run CodeNarc via command line without any installation issue

Easy to integrate in a CD/CI process (Jenkins Pipeline,CircleCI...) to lint your groovy or Jenkinsfile :)

INSTALLATION

    $ npm install -g npm-groovy-lint

For advanced usage, you may need to define RuleSet file(s)

You can use as starters :

USAGE

    $ npm-groovy-lint OPTIONS

See OPTIONS in CodeNarc documentation

EXAMPLES

    $ npm-groovy-lint -report="xml:MyGroovyLinterReport.xml"

    $ 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-Base.groovy" -title="MyGroovyLinterReport" -maxPriority1Violations=0 -report="html:MyGroovyLinterReport.html"

CONTRIBUTE

Contributions are very welcome !

  • Fork the repo and clone it on your computer
  • Run npm run test to check your updates (jdeploy.js is manually updated by npm run prepare-package script)
  • Once your code is ready, documented and linted, please make a pull request :)

THANKS

This package is just a bundle with a little script, it relies on :

Keywords

FAQs

Package last updated on 17 Feb 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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