File tree Expand file tree Collapse file tree 8 files changed +12
-8
lines changed Expand file tree Collapse file tree 8 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 12
12
"complexity" : {
13
13
"noUselessSwitchCase" : " off"
14
14
},
15
+ "correctness" : {
16
+ "noUnusedImports" : " warn" ,
17
+ "noUnusedVariables" : " warn"
18
+ },
15
19
"suspicious" : {
16
20
"noConsoleLog" : " warn"
17
21
}
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ export default function Sample() {
66
66
</ div >
67
67
< div className = "Example__container__document" ref = { setContainerRef } >
68
68
< Document file = { file } onLoadSuccess = { onDocumentLoadSuccess } options = { options } >
69
- { Array . from ( new Array ( numPages ) , ( el , index ) => (
69
+ { Array . from ( new Array ( numPages ) , ( _el , index ) => (
70
70
< Page
71
71
key = { `page_${ index + 1 } ` }
72
72
pageNumber = { index + 1 }
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ export default function Sample() {
68
68
</ div >
69
69
< div className = "Example__container__document" ref = { setContainerRef } >
70
70
< Document file = { file } onLoadSuccess = { onDocumentLoadSuccess } options = { options } >
71
- { Array . from ( new Array ( numPages ) , ( el , index ) => (
71
+ { Array . from ( new Array ( numPages ) , ( _el , index ) => (
72
72
< Page
73
73
key = { `page_${ index + 1 } ` }
74
74
pageNumber = { index + 1 }
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ export default function Sample() {
64
64
</ div >
65
65
< div className = "Example__container__document" ref = { setContainerRef } >
66
66
< Document file = { file } onLoadSuccess = { onDocumentLoadSuccess } options = { options } >
67
- { Array . from ( new Array ( numPages ) , ( el , index ) => (
67
+ { Array . from ( new Array ( numPages ) , ( _el , index ) => (
68
68
< Page
69
69
key = { `page_${ index + 1 } ` }
70
70
pageNumber = { index + 1 }
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ export default function Sample() {
68
68
</ div >
69
69
< div className = "Example__container__document" ref = { setContainerRef } >
70
70
< Document file = { file } onLoadSuccess = { onDocumentLoadSuccess } options = { options } >
71
- { Array . from ( new Array ( numPages ) , ( el , index ) => (
71
+ { Array . from ( new Array ( numPages ) , ( _el , index ) => (
72
72
< Page
73
73
key = { `page_${ index + 1 } ` }
74
74
pageNumber = { index + 1 }
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ export default function Sample() {
66
66
</ div >
67
67
< div className = "Example__container__document" ref = { setContainerRef } >
68
68
< Document file = { file } onLoadSuccess = { onDocumentLoadSuccess } options = { options } >
69
- { Array . from ( new Array ( numPages ) , ( el , index ) => (
69
+ { Array . from ( new Array ( numPages ) , ( _el , index ) => (
70
70
< Page
71
71
key = { `page_${ index + 1 } ` }
72
72
pageNumber = { index + 1 }
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ export default function Sample() {
66
66
</ div >
67
67
< div className = "Example__container__document" ref = { setContainerRef } >
68
68
< Document file = { file } onLoadSuccess = { onDocumentLoadSuccess } options = { options } >
69
- { Array . from ( new Array ( numPages ) , ( el , index ) => (
69
+ { Array . from ( new Array ( numPages ) , ( _el , index ) => (
70
70
< Page
71
71
key = { `page_${ index + 1 } ` }
72
72
pageNumber = { index + 1 }
Original file line number Diff line number Diff line change @@ -292,7 +292,7 @@ export default function Test() {
292
292
< div className = "Test__container__content__document" >
293
293
{ render ? (
294
294
displayAll ? (
295
- Array . from ( new Array ( numPages ) , ( el , index ) => (
295
+ Array . from ( new Array ( numPages ) , ( _el , index ) => (
296
296
< Page
297
297
key = { `page_${ index + 1 } ` }
298
298
{ ...pageProps }
@@ -327,7 +327,7 @@ export default function Test() {
327
327
</ div >
328
328
) }
329
329
< div className = "Test__container__content__thumbnails" >
330
- { Array . from ( new Array ( numPages ) , ( el , index ) => (
330
+ { Array . from ( new Array ( numPages ) , ( _el , index ) => (
331
331
< Thumbnail
332
332
key = { `thumbnail_${ index + 1 } ` }
333
333
className = "custom-classname-thumbnail"
You can’t perform that action at this time.
0 commit comments