Skip to content

Commit 706ae3d

Browse files
author
gokulprasanth-ni
committed
Fix: issue
Signed-off-by: gokulprasanth-ni <[email protected]>
1 parent 0d197d5 commit 706ae3d

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

tests/print-evaluated-rules/index.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,21 +33,18 @@ const __dirname = path.dirname(__filename);
3333
const testDir = path.resolve(__dirname, '..');
3434
const jsPath = path.join(testDir, 'javascript', 'index.js');
3535
const tsPath = path.join(testDir, 'typescript', 'index.ts');
36-
const tsTypePath = path.join(testDir, 'typescript-requiring-type-checking', 'index.ts');
3736
const angularTsPath = path.join(testDir, 'angular', 'index.ts');
3837
const angularHtmlPath = path.join(testDir, 'angular', 'index.html');
3938

4039
const configEslint = await calculateConfigForFile(jsPath);
4140
const configTypescript = await calculateConfigForFile(tsPath);
42-
const configTypescriptTypechecked = await calculateConfigForFile(tsTypePath);
4341
const configAngular = await calculateConfigForFile(angularTsPath);
4442
const configAngularTemplate = await calculateConfigForFile(angularHtmlPath);
4543

4644
const getRules = function () {
4745
return {
4846
...normalizeRulesSeverityToString(configEslint.rules),
4947
...normalizeRulesSeverityToString(configTypescript.rules),
50-
...normalizeRulesSeverityToString(configTypescriptTypechecked.rules),
5148
...normalizeRulesSeverityToString(configAngular.rules),
5249
...normalizeRulesSeverityToString(configAngularTemplate.rules)
5350
};
@@ -98,7 +95,6 @@ const __dirname = path.dirname(__filename);
9895
.filter(key => !key.startsWith('@angular-eslint'))
9996
.filter(
10097
key => !configTypescript.rules[key]
101-
&& !configTypescriptTypechecked.rules[key]
10298
)
10399
.reduce((config, key) => {
104100
config[key] = rules[key];
@@ -115,11 +111,6 @@ const __dirname = path.dirname(__filename);
115111
console.log(
116112
`Evaluated TypeScript rules has warn?: ${hasWarn(configTypescript)}`
117113
);
118-
console.log(
119-
`Evaluated TypeScript type checking rules has warn?: ${hasWarn(
120-
configTypescriptTypechecked
121-
)}`
122-
);
123114
console.log(`Evaluated Angular rules has warn?: ${hasWarn(configAngular)}`);
124115
console.log(
125116
`Evaluated Angular Template rules has warn?: ${hasWarn(

0 commit comments

Comments
 (0)