File tree 1 file changed +15
-15
lines changed
1 file changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -1053,21 +1053,21 @@ context('TypeScript', function () {
1053
1053
}
1054
1054
] ,
1055
1055
} ) ,
1056
- // #2834 Detect duplicates across type and regular imports
1057
- test ( {
1058
- code : "import {AValue} from './foo'; import type {AType} from './foo'" ,
1059
- ...parserConfig ,
1060
- options : [ { 'prefer-inline' : true } ] ,
1061
- output : `import {AValue,type AType} from './foo'; ` ,
1062
- errors : [
1063
- {
1064
- line : 1 ,
1065
- column : 22 ,
1066
- column : 56 ,
1067
- message : "'./foo' imported multiple times." ,
1068
- } ,
1069
- ] ,
1070
- } ) ,
1056
+ // // #2834 Detect duplicates across type and regular imports
1057
+ // test({
1058
+ // code: "import {AValue} from './foo'; import type {AType} from './foo'",
1059
+ // ...parserConfig,
1060
+ // options: [{ 'prefer-inline': true }],
1061
+ // output: `import {AValue,type AType} from './foo'; `,
1062
+ // errors: [
1063
+ // {
1064
+ // line: 1,
1065
+ // column: 22,
1066
+ // column: 56,
1067
+ // message: "'./foo' imported multiple times.",
1068
+ // },
1069
+ // ],
1070
+ // }),
1071
1071
] ) ;
1072
1072
1073
1073
ruleTester . run ( 'no-duplicates' , rule , {
You can’t perform that action at this time.
0 commit comments