danger-plugin-lint-report
Advanced tools
Comparing version 0.1.1 to 1.0.0
@@ -43,13 +43,15 @@ "use strict"; | ||
function sendViolationBySeverity(msg, fileName, line, severity) { | ||
switch (severity) { | ||
case "Information": | ||
switch (severity.toLowerCase()) { | ||
case "information": | ||
case "info": | ||
message(msg, fileName, line); | ||
break; | ||
case "Warning": | ||
case "warning": | ||
case "warn": | ||
warn(msg, fileName, line); | ||
break; | ||
case "Error": | ||
case "error": | ||
fail(msg, fileName, line); | ||
break; | ||
case "Fatal": | ||
case "fatal": | ||
fail(msg, fileName, line); | ||
@@ -56,0 +58,0 @@ break; |
@@ -20,3 +20,3 @@ { | ||
], | ||
"version": "0.1.1", | ||
"version": "1.0.0", | ||
"main": "dist/index.js", | ||
@@ -23,0 +23,0 @@ "types": "types/index.d.ts", |
@@ -48,2 +48,3 @@ # danger-plugin-lint-report | ||
reportSeverity: true, | ||
requireLineModification: true, | ||
})) | ||
@@ -50,0 +51,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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
431012
9012
0
79