tslint-to-eslint-config
Advanced tools
Comparing version 0.2.3 to 0.2.4
@@ -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; |
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
180308