@@ -94,7 +94,7 @@ ruleTester.run('no-deprecated', rule, {
94
94
componentWillUpdate() {}
95
95
}
96
96
` ,
97
- settings : { react : { version : '16.998 .0' } }
97
+ settings : { react : { version : '16.8 .0' } }
98
98
}
99
99
] ,
100
100
@@ -222,7 +222,7 @@ ruleTester.run('no-deprecated', rule, {
222
222
errors : [
223
223
{
224
224
message : errorMessage (
225
- 'componentWillMount' , '16.999 .0' , 'UNSAFE_componentWillMount' ,
225
+ 'componentWillMount' , '16.9 .0' , 'UNSAFE_componentWillMount' ,
226
226
'https://reactjs.org/docs/react-component.html#unsafe_componentwillmount. ' +
227
227
'Use https://github.com/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components.'
228
228
) ,
@@ -232,7 +232,7 @@ ruleTester.run('no-deprecated', rule, {
232
232
} ,
233
233
{
234
234
message : errorMessage (
235
- 'componentWillReceiveProps' , '16.999 .0' , 'UNSAFE_componentWillReceiveProps' ,
235
+ 'componentWillReceiveProps' , '16.9 .0' , 'UNSAFE_componentWillReceiveProps' ,
236
236
'https://reactjs.org/docs/react-component.html#unsafe_componentwillreceiveprops. ' +
237
237
'Use https://github.com/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components.'
238
238
) ,
@@ -241,7 +241,7 @@ ruleTester.run('no-deprecated', rule, {
241
241
column : 11
242
242
} ,
243
243
{
244
- message : errorMessage ( 'componentWillUpdate' , '16.999 .0' , 'UNSAFE_componentWillUpdate' ,
244
+ message : errorMessage ( 'componentWillUpdate' , '16.9 .0' , 'UNSAFE_componentWillUpdate' ,
245
245
'https://reactjs.org/docs/react-component.html#unsafe_componentwillupdate. ' +
246
246
'Use https://github.com/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components.'
247
247
) ,
@@ -264,7 +264,7 @@ ruleTester.run('no-deprecated', rule, {
264
264
errors : [
265
265
{
266
266
message : errorMessage (
267
- 'componentWillMount' , '16.999 .0' , 'UNSAFE_componentWillMount' ,
267
+ 'componentWillMount' , '16.9 .0' , 'UNSAFE_componentWillMount' ,
268
268
'https://reactjs.org/docs/react-component.html#unsafe_componentwillmount. ' +
269
269
'Use https://github.com/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components.'
270
270
) ,
@@ -274,7 +274,7 @@ ruleTester.run('no-deprecated', rule, {
274
274
} ,
275
275
{
276
276
message : errorMessage (
277
- 'componentWillReceiveProps' , '16.999 .0' , 'UNSAFE_componentWillReceiveProps' ,
277
+ 'componentWillReceiveProps' , '16.9 .0' , 'UNSAFE_componentWillReceiveProps' ,
278
278
'https://reactjs.org/docs/react-component.html#unsafe_componentwillreceiveprops. ' +
279
279
'Use https://github.com/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components.'
280
280
) ,
@@ -283,7 +283,7 @@ ruleTester.run('no-deprecated', rule, {
283
283
column : 13
284
284
} ,
285
285
{
286
- message : errorMessage ( 'componentWillUpdate' , '16.999 .0' , 'UNSAFE_componentWillUpdate' ,
286
+ message : errorMessage ( 'componentWillUpdate' , '16.9 .0' , 'UNSAFE_componentWillUpdate' ,
287
287
'https://reactjs.org/docs/react-component.html#unsafe_componentwillupdate. ' +
288
288
'Use https://github.com/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components.'
289
289
) ,
@@ -304,7 +304,7 @@ ruleTester.run('no-deprecated', rule, {
304
304
errors : [
305
305
{
306
306
message : errorMessage (
307
- 'componentWillMount' , '16.999 .0' , 'UNSAFE_componentWillMount' ,
307
+ 'componentWillMount' , '16.9 .0' , 'UNSAFE_componentWillMount' ,
308
308
'https://reactjs.org/docs/react-component.html#unsafe_componentwillmount. ' +
309
309
'Use https://github.com/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components.'
310
310
) ,
@@ -314,7 +314,7 @@ ruleTester.run('no-deprecated', rule, {
314
314
} ,
315
315
{
316
316
message : errorMessage (
317
- 'componentWillReceiveProps' , '16.999 .0' , 'UNSAFE_componentWillReceiveProps' ,
317
+ 'componentWillReceiveProps' , '16.9 .0' , 'UNSAFE_componentWillReceiveProps' ,
318
318
'https://reactjs.org/docs/react-component.html#unsafe_componentwillreceiveprops. ' +
319
319
'Use https://github.com/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components.'
320
320
) ,
@@ -323,7 +323,7 @@ ruleTester.run('no-deprecated', rule, {
323
323
column : 11
324
324
} ,
325
325
{
326
- message : errorMessage ( 'componentWillUpdate' , '16.999 .0' , 'UNSAFE_componentWillUpdate' ,
326
+ message : errorMessage ( 'componentWillUpdate' , '16.9 .0' , 'UNSAFE_componentWillUpdate' ,
327
327
'https://reactjs.org/docs/react-component.html#unsafe_componentwillupdate. ' +
328
328
'Use https://github.com/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components.'
329
329
) ,
@@ -344,7 +344,7 @@ ruleTester.run('no-deprecated', rule, {
344
344
errors : [
345
345
{
346
346
message : errorMessage (
347
- 'componentWillMount' , '16.999 .0' , 'UNSAFE_componentWillMount' ,
347
+ 'componentWillMount' , '16.9 .0' , 'UNSAFE_componentWillMount' ,
348
348
'https://reactjs.org/docs/react-component.html#unsafe_componentwillmount. ' +
349
349
'Use https://github.com/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components.'
350
350
) ,
@@ -354,7 +354,7 @@ ruleTester.run('no-deprecated', rule, {
354
354
} ,
355
355
{
356
356
message : errorMessage (
357
- 'componentWillReceiveProps' , '16.999 .0' , 'UNSAFE_componentWillReceiveProps' ,
357
+ 'componentWillReceiveProps' , '16.9 .0' , 'UNSAFE_componentWillReceiveProps' ,
358
358
'https://reactjs.org/docs/react-component.html#unsafe_componentwillreceiveprops. ' +
359
359
'Use https://github.com/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components.'
360
360
) ,
@@ -363,7 +363,7 @@ ruleTester.run('no-deprecated', rule, {
363
363
column : 11
364
364
} ,
365
365
{
366
- message : errorMessage ( 'componentWillUpdate' , '16.999 .0' , 'UNSAFE_componentWillUpdate' ,
366
+ message : errorMessage ( 'componentWillUpdate' , '16.9 .0' , 'UNSAFE_componentWillUpdate' ,
367
367
'https://reactjs.org/docs/react-component.html#unsafe_componentwillupdate. ' +
368
368
'Use https://github.com/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components.'
369
369
) ,
@@ -384,7 +384,7 @@ ruleTester.run('no-deprecated', rule, {
384
384
errors : [
385
385
{
386
386
message : errorMessage (
387
- 'componentWillMount' , '16.999 .0' , 'UNSAFE_componentWillMount' ,
387
+ 'componentWillMount' , '16.9 .0' , 'UNSAFE_componentWillMount' ,
388
388
'https://reactjs.org/docs/react-component.html#unsafe_componentwillmount. ' +
389
389
'Use https://github.com/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components.'
390
390
) ,
@@ -394,7 +394,7 @@ ruleTester.run('no-deprecated', rule, {
394
394
} ,
395
395
{
396
396
message : errorMessage (
397
- 'componentWillReceiveProps' , '16.999 .0' , 'UNSAFE_componentWillReceiveProps' ,
397
+ 'componentWillReceiveProps' , '16.9 .0' , 'UNSAFE_componentWillReceiveProps' ,
398
398
'https://reactjs.org/docs/react-component.html#unsafe_componentwillreceiveprops. ' +
399
399
'Use https://github.com/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components.'
400
400
) ,
@@ -403,7 +403,7 @@ ruleTester.run('no-deprecated', rule, {
403
403
column : 11
404
404
} ,
405
405
{
406
- message : errorMessage ( 'componentWillUpdate' , '16.999 .0' , 'UNSAFE_componentWillUpdate' ,
406
+ message : errorMessage ( 'componentWillUpdate' , '16.9 .0' , 'UNSAFE_componentWillUpdate' ,
407
407
'https://reactjs.org/docs/react-component.html#unsafe_componentwillupdate. ' +
408
408
'Use https://github.com/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components.'
409
409
) ,
@@ -424,7 +424,7 @@ ruleTester.run('no-deprecated', rule, {
424
424
errors : [
425
425
{
426
426
message : errorMessage (
427
- 'componentWillMount' , '16.999 .0' , 'UNSAFE_componentWillMount' ,
427
+ 'componentWillMount' , '16.9 .0' , 'UNSAFE_componentWillMount' ,
428
428
'https://reactjs.org/docs/react-component.html#unsafe_componentwillmount. ' +
429
429
'Use https://github.com/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components.'
430
430
) ,
@@ -434,7 +434,7 @@ ruleTester.run('no-deprecated', rule, {
434
434
} ,
435
435
{
436
436
message : errorMessage (
437
- 'componentWillReceiveProps' , '16.999 .0' , 'UNSAFE_componentWillReceiveProps' ,
437
+ 'componentWillReceiveProps' , '16.9 .0' , 'UNSAFE_componentWillReceiveProps' ,
438
438
'https://reactjs.org/docs/react-component.html#unsafe_componentwillreceiveprops. ' +
439
439
'Use https://github.com/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components.'
440
440
) ,
@@ -443,7 +443,7 @@ ruleTester.run('no-deprecated', rule, {
443
443
column : 11
444
444
} ,
445
445
{
446
- message : errorMessage ( 'componentWillUpdate' , '16.999 .0' , 'UNSAFE_componentWillUpdate' ,
446
+ message : errorMessage ( 'componentWillUpdate' , '16.9 .0' , 'UNSAFE_componentWillUpdate' ,
447
447
'https://reactjs.org/docs/react-component.html#unsafe_componentwillupdate. ' +
448
448
'Use https://github.com/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components.'
449
449
) ,
@@ -465,7 +465,7 @@ ruleTester.run('no-deprecated', rule, {
465
465
errors : [
466
466
{
467
467
message : errorMessage (
468
- 'componentWillMount' , '16.999 .0' , 'UNSAFE_componentWillMount' ,
468
+ 'componentWillMount' , '16.9 .0' , 'UNSAFE_componentWillMount' ,
469
469
'https://reactjs.org/docs/react-component.html#unsafe_componentwillmount. ' +
470
470
'Use https://github.com/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components.'
471
471
) ,
@@ -475,7 +475,7 @@ ruleTester.run('no-deprecated', rule, {
475
475
} ,
476
476
{
477
477
message : errorMessage (
478
- 'componentWillReceiveProps' , '16.999 .0' , 'UNSAFE_componentWillReceiveProps' ,
478
+ 'componentWillReceiveProps' , '16.9 .0' , 'UNSAFE_componentWillReceiveProps' ,
479
479
'https://reactjs.org/docs/react-component.html#unsafe_componentwillreceiveprops. ' +
480
480
'Use https://github.com/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components.'
481
481
) ,
@@ -484,7 +484,7 @@ ruleTester.run('no-deprecated', rule, {
484
484
column : 11
485
485
} ,
486
486
{
487
- message : errorMessage ( 'componentWillUpdate' , '16.999 .0' , 'UNSAFE_componentWillUpdate' ,
487
+ message : errorMessage ( 'componentWillUpdate' , '16.9 .0' , 'UNSAFE_componentWillUpdate' ,
488
488
'https://reactjs.org/docs/react-component.html#unsafe_componentwillupdate. ' +
489
489
'Use https://github.com/reactjs/react-codemod#rename-unsafe-lifecycles to automatically update your components.'
490
490
) ,
0 commit comments