Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tslint-config-prettier

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tslint-config-prettier - npm Package Compare versions

Comparing version 1.9.0 to 1.10.0

12

bin/check.js
#!/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;
}
}

4

lib/checker.js

@@ -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"
}
}
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