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

tslint-to-eslint-config

Package Overview
Dependencies
Maintainers
1
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tslint-to-eslint-config - npm Package Compare versions

Comparing version 0.2.3 to 0.2.4

2

package.json

@@ -68,3 +68,3 @@ {

},
"version": "0.2.3"
"version": "0.2.4"
}

@@ -37,3 +37,3 @@ # tslint-to-eslint-config

Each of these flags is optional.
Each of these flags is optional:

@@ -40,0 +40,0 @@ - **[`config`](#config)**: Path to print the generated ESLint configuration file to.

@@ -15,2 +15,2 @@ import { ESLintRuleSeverity } from "../rules/types";

export declare type ESLintConfigurationRuleValue = 0 | 1 | 2 | ESLintRuleSeverity | [ESLintRuleSeverity, any];
export declare const findESLintConfiguration: (dependencies: FindConfigurationDependencies, rawSettings: Pick<TSLintToESLintSettings, "config" | "eslint">) => Promise<ESLintConfiguration | Error>;
export declare const findESLintConfiguration: (dependencies: FindConfigurationDependencies, rawSettings: Pick<TSLintToESLintSettings, "config" | "eslint">) => Promise<Error | ESLintConfiguration>;
import { TSLintConfiguration } from "./findTSLintConfiguration";
import { ESLintConfiguration } from "./findESLintConfiguration";
export declare const mergeLintConfigurations: (eslint: ESLintConfiguration | Error, tslint: TSLintConfiguration) => {
export declare const mergeLintConfigurations: (eslint: Error | ESLintConfiguration, tslint: TSLintConfiguration) => {
rules: any;
rulesDirectory: string[];
};

@@ -45,3 +45,3 @@ "use strict";

ruleArguments: merger(existingConversion.ruleArguments, newConversion.ruleArguments),
notices: [...existingNotices, ...newNotices],
notices: Array.from(new Set([...existingNotices, ...newNotices])),
});

@@ -48,0 +48,0 @@ }

@@ -6,2 +6,2 @@ import { ESLintRuleSeverity, TSLintRuleSeverity } from "./types";

export declare const convertTSLintRuleSeverity: (tslintSeverity: TSLintRuleSeverity) => ESLintRuleSeverity;
export declare const convertRawESLintRuleSeverity: (rawSeverity: 0 | 2 | "error" | "off" | 1 | "warn") => ESLintRuleSeverity;
export declare const convertRawESLintRuleSeverity: (rawSeverity: 0 | 1 | 2 | "error" | "off" | "warn") => ESLintRuleSeverity;
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