tslint-config-prettier
Advanced tools
Comparing version 1.9.0 to 1.10.0
#!/usr/bin/env node | ||
require('../lib/checker').check(process.argv[2]); | ||
try { | ||
require("../lib/checker").check(process.argv[2]); | ||
} catch (e) { | ||
if (e.name === "ConflictRules") { | ||
console.log(e.message); | ||
process.exitCode = 1; | ||
} else { | ||
throw e; | ||
} | ||
} |
@@ -18,3 +18,5 @@ "use strict"; | ||
if (conflictRules.length !== 0) { | ||
throw new Error("Conflict rule(s) detected in " + configFilePath + ":\n" + conflictRules.join("\n")); | ||
var error = new Error("Conflict rule(s) detected in " + configFilePath + ":\n" + conflictRules.join("\n")); | ||
error.name = "ConflictRules"; | ||
throw error; | ||
} | ||
@@ -21,0 +23,0 @@ // tslint:disable-next-line:no-console |
{ | ||
"name": "tslint-config-prettier", | ||
"version": "1.9.0", | ||
"version": "1.10.0", | ||
"description": "Do you wanna use tslint and prettier without conflicts? tslint-config-prettier disables all conflicting rules that may cause such problems. Prettier takes care of formatting and tslint the rest.", | ||
@@ -91,3 +91,3 @@ "keywords": [ | ||
"make-dir": "^1.0.0", | ||
"prettier": "1.10.2", | ||
"prettier": "1.11.1", | ||
"rimraf": "^2.6.1", | ||
@@ -97,8 +97,8 @@ "semantic-release": "^8.0.0", | ||
"tslint": "5.9.1", | ||
"tslint-consistent-codestyle": "1.11.1", | ||
"tslint-consistent-codestyle": "1.12.0", | ||
"tslint-divid": "1.3.0", | ||
"tslint-eslint-rules": "5.1.0", | ||
"tslint-immutable": "4.5.1", | ||
"tslint-immutable": "4.5.2", | ||
"tslint-microsoft-contrib": "5.0.3", | ||
"tslint-misc-rules": "3.2.1", | ||
"tslint-misc-rules": "3.3.1", | ||
"tslint-plugin-ikatyang": "1.1.1", | ||
@@ -108,4 +108,4 @@ "tslint-react": "3.5.1", | ||
"validate-commit-msg": "^2.10.1", | ||
"vrsource-tslint-rules": "5.8.0" | ||
"vrsource-tslint-rules": "5.8.1" | ||
} | ||
} |
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
12859
148