@@ -98,9 +98,6 @@ const jsxFilesWithKnownIssues = jsxKnownIssues.map(f => f.replace('jsx/', ''));
98
98
*/
99
99
jsxFilesWithKnownIssues . push ( 'invalid-no-tag-name' ) ;
100
100
101
- /**
102
- */
103
-
104
101
/**
105
102
* An class with FixturePatternConfigs
106
103
*/
@@ -126,7 +123,7 @@ tester.addFixturePatternConfig('javascript/templateStrings', {
126
123
tester . addFixturePatternConfig ( 'javascript/experimentalObjectRestSpread' , {
127
124
ignore : [
128
125
/**
129
- * Trailing comma is not permitted after a "RestElement" in Babylon
126
+ * Trailing comma is not permitted after a "RestElement" in Babel
130
127
*/
131
128
'invalid-rest-trailing-comma'
132
129
]
@@ -140,7 +137,6 @@ tester.addFixturePatternConfig('javascript/arrowFunctions', {
140
137
* does not actually error on them and will produce an AST.
141
138
*/
142
139
'error-dup-params' , // babel parse errors
143
- 'error-dup-params' , // babel parse errors
144
140
'error-strict-dup-params' , // babel parse errors
145
141
'error-strict-octal' , // babel parse errors
146
142
'error-two-lines' // babel parse errors
@@ -221,17 +217,9 @@ tester.addFixturePatternConfig('javascript/modules', {
221
217
*/
222
218
'invalid-export-named-default' , // babel parse errors
223
219
'invalid-import-default-module-specifier' , // babel parse errors
224
- 'invalid-import-module-specifier' , // babel parse errors
225
- /**
226
- * Deleting local variable in strict mode
227
- */
228
- 'error-delete' , // babel parse errors
229
- /**
230
- * 'with' in strict mode
231
- */
232
- 'error-strict' // babel parse errors
220
+ 'invalid-import-module-specifier' // babel parse errors
233
221
] ,
234
- ignoreSourceType : [ 'error-function' ]
222
+ ignoreSourceType : [ 'error-function' , 'error-strict' , 'error-delete' ]
235
223
} ) ;
236
224
237
225
tester . addFixturePatternConfig ( 'javascript/newTarget' , {
@@ -296,13 +284,7 @@ tester.addFixturePatternConfig('jsx-useJSXTextNode');
296
284
*/
297
285
298
286
tester . addFixturePatternConfig ( 'tsx' , {
299
- fileType : 'tsx' ,
300
- ignore : [
301
- /**
302
- * currently babylon not supported
303
- */
304
- 'generic-jsx-element'
305
- ]
287
+ fileType : 'tsx'
306
288
} ) ;
307
289
308
290
/* ================================================== */
@@ -323,11 +305,11 @@ tester.addFixturePatternConfig('typescript/basics', {
323
305
*/
324
306
'abstract-class-with-abstract-constructor' , // babel parse errors
325
307
'class-with-export-parameter-properties' , // babel parse errors
308
+ 'class-with-implements-and-extends' , // babel parse errors
326
309
'class-with-optional-methods' , // babel parse errors
327
310
'class-with-static-parameter-properties' , // babel parse errors
328
311
'interface-with-all-property-types' , // babel parse errors
329
312
'interface-with-construct-signature-with-parameter-accessibility' , // babel parse errors
330
- 'class-with-implements-and-extends' , // babel parse errors
331
313
/**
332
314
* typescript-estree erroring, but babylon not.
333
315
*/
0 commit comments