npm-groovy-lint
Advanced tools
Comparing version 1.2.0-beta.10 to 1.2.0
@@ -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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
15765712
0
109
1