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.2.0-beta.10 to 1.2.0

jdeploy-bundle/lib/groovy-3.0.1/conf/groovy-starter.conf

8

jdeploy-bundle/groovy-lint.js

@@ -120,6 +120,6 @@ // Imports

: violation["$"].priority == "2"
? "warning"
: violation["$"].priority == "3"
? "warning"
: "unknown",
? "warning"
: violation["$"].priority == "3"
? "warning"
: "unknown",
msg: violation.Message ? violation.Message[0] : "NGL: No message"

@@ -126,0 +126,0 @@ };

@@ -70,3 +70,3 @@ #! /usr/bin/env node

var mainClass = "org.codenarc.CodeNarc";
var classPath = "lib/CodeNarc-1.4.jar:lib/groovy-3.0.0/lib/groovy-3.0.0.jar:lib/groovy-3.0.0/lib/groovy-templates-3.0.0.jar:lib/groovy-3.0.0/lib/groovy-xml-3.0.0.jar:lib/slf4j-api-1.7.9.jar:lib/log4j-slf4j-impl-2.13.0.jar:lib/log4j-api-2.13.0.jar:lib/log4j-core-2.13.0.jar:lib/GMetrics-0.7.jar:lib";
var classPath = "lib/CodeNarc-1.4.jar:lib/groovy-3.0.1/lib/groovy-3.0.1.jar:lib/groovy-3.0.1/lib/groovy-templates-3.0.1.jar:lib/groovy-3.0.1/lib/groovy-xml-3.0.1.jar:lib/slf4j-api-1.7.9.jar:lib/log4j-slf4j-impl-2.13.0.jar:lib/log4j-api-2.13.0.jar:lib/log4j-core-2.13.0.jar:lib/GMetrics-0.7.jar:lib";
var port = "0";

@@ -73,0 +73,0 @@ var warPath = "";

{
"name": "npm-groovy-lint",
"version": "1.2.0-beta.10",
"version": "1.2.0",
"description": "NPM CodeNarc wrapper to easily lint Groovy files",

@@ -9,7 +9,6 @@ "main": "index.js",

"lint:fix": "eslint **/*.js --ignore-pattern jdeploy-bundle --ignore-pattern dist --fix && prettier --write \"./src/**/*.{js,jsx,json}\" --tab-width 4 --print-width 150",
"prebuild": "npm uninstall -g npm-groovy-lint --force && node patch-jdeploy-before.js",
"prebuild": "node patch-jdeploy-before.js",
"build": "jdeploy install",
"postbuild": "node patch-jdeploy-after.js",
"test:codenarc": "npm run build && npm-groovy-lint -basedir=\"jdeploy-bundle\" -rulesetfiles=\"file:jdeploy-bundle/lib/example/RuleSet-Base.groovy\" -title=\"TestTitle\" -maxPriority1Violations=0 -report=\"html:jdeploy-bundle/lib/example/ReportTestCodeNarc.html\" --ngl-output=json",
"pretest": "npm run build",
"test": "mocha \"test/**/*.test.js\"",

@@ -70,3 +69,3 @@ "test:coverage": "nyc npm run test",

"mainClass": "org.codenarc.CodeNarc",
"classPath": "lib/groovy-3.0.0/lib/groovy-3.0.0.jar:lib/groovy-3.0.0/lib/groovy-templates-3.0.0.jar:lib/groovy-3.0.0/lib/groovy-xml-3.0.0.jar:lib/slf4j-api-1.7.9.jar:lib/log4j-slf4j-impl-2.13.0.jar:lib/log4j-api-2.13.0.jar:lib/log4j-core-2.13.0.jar:lib/GMetrics-0.7.jar:lib",
"classPath": "lib/groovy-3.0.1/lib/groovy-3.0.1.jar:lib/groovy-3.0.1/lib/groovy-templates-3.0.1.jar:lib/groovy-3.0.1/lib/groovy-xml-3.0.1.jar:lib/slf4j-api-1.7.9.jar:lib/log4j-slf4j-impl-2.13.0.jar:lib/log4j-api-2.13.0.jar:lib/log4j-core-2.13.0.jar:lib/GMetrics-0.7.jar:lib",
"files": [

@@ -73,0 +72,0 @@ {

@@ -29,4 +29,4 @@ # NPM GROOVY LINT

- [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)
- [All rules](https://github.com/nvuillam/npm-groovy-lint/blob/master/lib/example/RuleSet-All.groovy)
- [Base rules](https://github.com/nvuillam/npm-groovy-lint/blob/master/lib/example/RuleSet-Base.groovy)

@@ -87,2 +87,6 @@ # USAGE

# TROUBLESHOOTING
- Embedded Groovy 3.0.1 has issues with JDK12, please use JDK11 or a precedent version if possible
# CONTRIBUTE

@@ -89,0 +93,0 @@

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