@@ -89,14 +89,14 @@ ruleTester({ types: false }).run('prefer-import-root-operators', preferImportRoo
8989 stripIndent `
9090 // import declaration named, deprecated operator
9191 import { partition } from "rxjs/operators";
92- ~~~~~~~~~~~~~~~~ [forbidden ]
92+ ~~~~~~~~~~~~~~~~ [forbiddenWithoutFix ]
9393 ` ,
9494 ) ,
9595 fromFixture (
9696 stripIndent `
9797 // import declaration namespace
9898 import * as RxOperators from "rxjs/operators";
99- ~~~~~~~~~~~~~~~~ [forbidden suggest]
99+ ~~~~~~~~~~~~~~~~ [forbiddenWithoutFix suggest]
100100 ` ,
101101 {
102102 suggestions : [
@@ -114,7 +114,7 @@ ruleTester({ types: false }).run('prefer-import-root-operators', preferImportRoo
114114 stripIndent `
115115 // import declaration default
116116 import RxOperators, { map } from "rxjs/operators";
117- ~~~~~~~~~~~~~~~~ [forbidden suggest]
117+ ~~~~~~~~~~~~~~~~ [forbiddenWithoutFix suggest]
118118 ` ,
119119 {
120120 suggestions : [
@@ -132,7 +132,7 @@ ruleTester({ types: false }).run('prefer-import-root-operators', preferImportRoo
132132 stripIndent `
133133 // import expression
134134 const { concat, merge: m, map } = await import("rxjs/operators");
135- ~~~~~~~~~~~~~~~~ [forbidden suggest]
135+ ~~~~~~~~~~~~~~~~ [forbiddenWithoutFix suggest]
136136 ` ,
137137 {
138138 suggestions : [
@@ -150,7 +150,7 @@ ruleTester({ types: false }).run('prefer-import-root-operators', preferImportRoo
150150 stripIndent `
151151 // import expression, separated import
152152 const opPromise = import("rxjs/operators");
153- ~~~~~~~~~~~~~~~~ [forbidden suggest]
153+ ~~~~~~~~~~~~~~~~ [forbiddenWithoutFix suggest]
154154 const { concat } = await opPromise;
155155 ` ,
156156 {
@@ -170,7 +170,7 @@ ruleTester({ types: false }).run('prefer-import-root-operators', preferImportRoo
170170 stripIndent `
171171 // import expression, deprecated operator
172172 const { concat, partition } = await import("rxjs/operators");
173- ~~~~~~~~~~~~~~~~ [forbidden suggest]
173+ ~~~~~~~~~~~~~~~~ [forbiddenWithoutFix suggest]
174174 ` ,
175175 {
176176 suggestions : [
@@ -210,14 +210,14 @@ ruleTester({ types: false }).run('prefer-import-root-operators', preferImportRoo
210210 stripIndent `
211211 // export named, deprecated operator
212212 export { concat, partition } from "rxjs/operators";
213- ~~~~~~~~~~~~~~~~ [forbidden ]
213+ ~~~~~~~~~~~~~~~~ [forbiddenWithoutFix ]
214214 ` ,
215215 ) ,
216216 fromFixture (
217217 stripIndent `
218218 // export all
219219 export * from "rxjs/operators";
220- ~~~~~~~~~~~~~~~~ [forbidden suggest]
220+ ~~~~~~~~~~~~~~~~ [forbiddenWithoutFix suggest]
221221 ` ,
222222 {
223223 suggestions : [
0 commit comments