Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbfdb9d0

Browse files
committed
comment out for now
1 parent4e77593 commitbfdb9d0

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

‎tests/src/rules/no-duplicates.js

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1053,21 +1053,21 @@ context('TypeScript', function () {
10531053
}
10541054
],
10551055
}),
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+
//}),
10711071
]);
10721072

10731073
ruleTester.run('no-duplicates',rule,{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp