danger-plugin-lint-report
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -15,2 +15,7 @@ interface CheckstyleConfig { | ||
requireLineModification: boolean; | ||
/** | ||
* Optional: Sets a prefix foreach violation message. | ||
* This can be useful if there are multiple reports being parsed to make them distinguishable. | ||
*/ | ||
outputPrefix?: string; | ||
} |
@@ -28,2 +28,5 @@ "use strict"; | ||
} | ||
if (config.outputPrefix) { | ||
msg = config.outputPrefix + msg; | ||
} | ||
sendViolationBySeverity(msg, file, line, severity); | ||
@@ -30,0 +33,0 @@ }); |
@@ -20,3 +20,3 @@ { | ||
], | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"main": "dist/index.js", | ||
@@ -52,3 +52,3 @@ "types": "types/index.d.ts", | ||
"prettier": "^1.3.1", | ||
"semantic-release": "^6.3.6", | ||
"semantic-release": "^17.2.3", | ||
"ts-jest": "^20.0.0", | ||
@@ -55,0 +55,0 @@ "tslint": "^5.4.3", |
Sorry, the diff of this file is too big to display
590043
13982