@@ -469,7 +469,7 @@ exports[`CLI collect > should run ESLint plugin and create report.json 1`] = `
469
469
" message" : " 'loading' is assigned a value but never used." ,
470
470
" severity" : " warning" ,
471
471
" source" : {
472
- " file" : " src/App.jsx" ,
472
+ " file" : " examples/react-todos-app/ src/App.jsx" ,
473
473
" position" : {
474
474
" endColumn" : 18 ,
475
475
" endLine" : 8 ,
@@ -519,7 +519,7 @@ exports[`CLI collect > should run ESLint plugin and create report.json 1`] = `
519
519
" message" : " Unexpected block statement surrounding arrow body; move the returned value immediately after the \` =>\` ." ,
520
520
" severity" : " warning" ,
521
521
" source" : {
522
- " file" : " src/components/TodoFilter.jsx" ,
522
+ " file" : " examples/react-todos-app/ src/components/TodoFilter.jsx" ,
523
523
" position" : {
524
524
" endColumn" : 2 ,
525
525
" endLine" : 25 ,
@@ -569,7 +569,7 @@ exports[`CLI collect > should run ESLint plugin and create report.json 1`] = `
569
569
" message" : " Expected '===' and instead saw '=='." ,
570
570
" severity" : " warning" ,
571
571
" source" : {
572
- " file" : " src/hooks/useTodos.js" ,
572
+ " file" : " examples/react-todos-app/ src/hooks/useTodos.js" ,
573
573
" position" : {
574
574
" endColumn" : 43 ,
575
575
" endLine" : 41 ,
@@ -595,7 +595,7 @@ exports[`CLI collect > should run ESLint plugin and create report.json 1`] = `
595
595
" message" : " Arrow function has too many lines (71). Maximum allowed is 50." ,
596
596
" severity" : " warning" ,
597
597
" source" : {
598
- " file" : " src/hooks/useTodos.js" ,
598
+ " file" : " examples/react-todos-app/ src/hooks/useTodos.js" ,
599
599
" position" : {
600
600
" endColumn" : 2 ,
601
601
" endLine" : 73 ,
@@ -633,7 +633,7 @@ exports[`CLI collect > should run ESLint plugin and create report.json 1`] = `
633
633
" message" : " 'data' is already declared in the upper scope on line 5 column 10." ,
634
634
" severity" : " warning" ,
635
635
" source" : {
636
- " file" : " src/hooks/useTodos.js" ,
636
+ " file" : " examples/react-todos-app/ src/hooks/useTodos.js" ,
637
637
" position" : {
638
638
" endColumn" : 17 ,
639
639
" endLine" : 11 ,
@@ -646,7 +646,7 @@ exports[`CLI collect > should run ESLint plugin and create report.json 1`] = `
646
646
" message" : " 'data' is already declared in the upper scope on line 5 column 10." ,
647
647
" severity" : " warning" ,
648
648
" source" : {
649
- " file" : " src/hooks/useTodos.js" ,
649
+ " file" : " examples/react-todos-app/ src/hooks/useTodos.js" ,
650
650
" position" : {
651
651
" endColumn" : 21 ,
652
652
" endLine" : 29 ,
@@ -659,7 +659,7 @@ exports[`CLI collect > should run ESLint plugin and create report.json 1`] = `
659
659
" message" : " 'data' is already declared in the upper scope on line 5 column 10." ,
660
660
" severity" : " warning" ,
661
661
" source" : {
662
- " file" : " src/hooks/useTodos.js" ,
662
+ " file" : " examples/react-todos-app/ src/hooks/useTodos.js" ,
663
663
" position" : {
664
664
" endColumn" : 17 ,
665
665
" endLine" : 41 ,
@@ -697,7 +697,7 @@ exports[`CLI collect > should run ESLint plugin and create report.json 1`] = `
697
697
" message" : " Expected property shorthand." ,
698
698
" severity" : " warning" ,
699
699
" source" : {
700
- " file" : " src/hooks/useTodos.js" ,
700
+ " file" : " examples/react-todos-app/ src/hooks/useTodos.js" ,
701
701
" position" : {
702
702
" endColumn" : 19 ,
703
703
" endLine" : 19 ,
@@ -710,7 +710,7 @@ exports[`CLI collect > should run ESLint plugin and create report.json 1`] = `
710
710
" message" : " Expected property shorthand." ,
711
711
" severity" : " warning" ,
712
712
" source" : {
713
- " file" : " src/hooks/useTodos.js" ,
713
+ " file" : " examples/react-todos-app/ src/hooks/useTodos.js" ,
714
714
" position" : {
715
715
" endColumn" : 19 ,
716
716
" endLine" : 32 ,
@@ -723,7 +723,7 @@ exports[`CLI collect > should run ESLint plugin and create report.json 1`] = `
723
723
" message" : " Expected property shorthand." ,
724
724
" severity" : " warning" ,
725
725
" source" : {
726
- " file" : " src/hooks/useTodos.js" ,
726
+ " file" : " examples/react-todos-app/ src/hooks/useTodos.js" ,
727
727
" position" : {
728
728
" endColumn" : 25 ,
729
729
" endLine" : 33 ,
@@ -761,7 +761,7 @@ exports[`CLI collect > should run ESLint plugin and create report.json 1`] = `
761
761
" message" : " 'root' is never reassigned. Use 'const' instead." ,
762
762
" severity" : " warning" ,
763
763
" source" : {
764
- " file" : " src/index.jsx" ,
764
+ " file" : " examples/react-todos-app/ src/index.jsx" ,
765
765
" position" : {
766
766
" endColumn" : 9 ,
767
767
" endLine" : 5 ,
@@ -811,7 +811,7 @@ exports[`CLI collect > should run ESLint plugin and create report.json 1`] = `
811
811
" message" : " Missing \\ " key \\" prop for element in iterator" ,
812
812
" severity" : " warning" ,
813
813
" source" : {
814
- " file" : " src/components/TodoList.jsx" ,
814
+ " file" : " examples/react-todos-app/ src/components/TodoList.jsx" ,
815
815
" position" : {
816
816
" endColumn" : 12 ,
817
817
" endLine" : 28 ,
@@ -837,7 +837,7 @@ exports[`CLI collect > should run ESLint plugin and create report.json 1`] = `
837
837
" message" : " 'onCreate' is missing in props validation" ,
838
838
" severity" : " warning" ,
839
839
" source" : {
840
- " file" : " src/components/CreateTodo.jsx" ,
840
+ " file" : " examples/react-todos-app/ src/components/CreateTodo.jsx" ,
841
841
" position" : {
842
842
" endColumn" : 23 ,
843
843
" endLine" : 15 ,
@@ -850,7 +850,7 @@ exports[`CLI collect > should run ESLint plugin and create report.json 1`] = `
850
850
" message" : " 'setQuery' is missing in props validation" ,
851
851
" severity" : " warning" ,
852
852
" source" : {
853
- " file" : " src/components/TodoFilter.jsx" ,
853
+ " file" : " examples/react-todos-app/ src/components/TodoFilter.jsx" ,
854
854
" position" : {
855
855
" endColumn" : 25 ,
856
856
" endLine" : 10 ,
@@ -863,7 +863,7 @@ exports[`CLI collect > should run ESLint plugin and create report.json 1`] = `
863
863
" message" : " 'setHideComplete' is missing in props validation" ,
864
864
" severity" : " warning" ,
865
865
" source" : {
866
- " file" : " src/components/TodoFilter.jsx" ,
866
+ " file" : " examples/react-todos-app/ src/components/TodoFilter.jsx" ,
867
867
" position" : {
868
868
" endColumn" : 34 ,
869
869
" endLine" : 18 ,
@@ -876,7 +876,7 @@ exports[`CLI collect > should run ESLint plugin and create report.json 1`] = `
876
876
" message" : " 'todos' is missing in props validation" ,
877
877
" severity" : " warning" ,
878
878
" source" : {
879
- " file" : " src/components/TodoList.jsx" ,
879
+ " file" : " examples/react-todos-app/ src/components/TodoList.jsx" ,
880
880
" position" : {
881
881
" endColumn" : 17 ,
882
882
" endLine" : 6 ,
@@ -889,7 +889,7 @@ exports[`CLI collect > should run ESLint plugin and create report.json 1`] = `
889
889
" message" : " 'todos.map' is missing in props validation" ,
890
890
" severity" : " warning" ,
891
891
" source" : {
892
- " file" : " src/components/TodoList.jsx" ,
892
+ " file" : " examples/react-todos-app/ src/components/TodoList.jsx" ,
893
893
" position" : {
894
894
" endColumn" : 21 ,
895
895
" endLine" : 6 ,
@@ -902,7 +902,7 @@ exports[`CLI collect > should run ESLint plugin and create report.json 1`] = `
902
902
" message" : " 'onEdit' is missing in props validation" ,
903
903
" severity" : " warning" ,
904
904
" source" : {
905
- " file" : " src/components/TodoList.jsx" ,
905
+ " file" : " examples/react-todos-app/ src/components/TodoList.jsx" ,
906
906
" position" : {
907
907
" endColumn" : 27 ,
908
908
" endLine" : 13 ,
@@ -952,7 +952,7 @@ exports[`CLI collect > should run ESLint plugin and create report.json 1`] = `
952
952
" message" : " React Hook useCallback does nothing when called with only one argument. Did you forget to pass an array of dependencies?" ,
953
953
" severity" : " warning" ,
954
954
" source" : {
955
- " file" : " src/hooks/useTodos.js" ,
955
+ " file" : " examples/react-todos-app/ src/hooks/useTodos.js" ,
956
956
" position" : {
957
957
" endColumn" : 31 ,
958
958
" endLine" : 17 ,
@@ -965,7 +965,7 @@ exports[`CLI collect > should run ESLint plugin and create report.json 1`] = `
965
965
" message" : " React Hook useCallback does nothing when called with only one argument. Did you forget to pass an array of dependencies?" ,
966
966
" severity" : " warning" ,
967
967
" source" : {
968
- " file" : " src/hooks/useTodos.js" ,
968
+ " file" : " examples/react-todos-app/ src/hooks/useTodos.js" ,
969
969
" position" : {
970
970
" endColumn" : 29 ,
971
971
" endLine" : 40 ,
0 commit comments