We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3814d4e commit abf1a2fCopy full SHA for abf1a2f
packages/eslint-plugin-tslint/src/rules/config.ts
@@ -48,10 +48,12 @@ const tslintConfig = memoize(
48
rulesDirectory: tslintRulesDirectory ?? [],
49
});
50
},
51
- (lintFile: string | undefined, tslintRules = {}, tslintRulesDirectory = []) =>
52
- `${lintFile}_${Object.keys(tslintRules).join(',')}_${
53
- tslintRulesDirectory.length
54
- }`,
+ (
+ lintFile: string | undefined,
+ tslintRules = {},
+ tslintRulesDirectory: string[] = [],
55
+ ) =>
56
+ `${lintFile}_${JSON.stringify(tslintRules)}_${tslintRulesDirectory.join()}`,
57
);
58
59
export default createRule<Options, MessageIds>({
0 commit comments