forked from devan-MEC/Uni-D_2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintcache
1 lines (1 loc) · 31.4 KB
/
.eslintcache
1
[{"/Users/tobiii/Downloads/Uni-D_2-temp/src/index.js":"1","/Users/tobiii/Downloads/Uni-D_2-temp/src/App.js":"2","/Users/tobiii/Downloads/Uni-D_2-temp/src/reportWebVitals.js":"3","/Users/tobiii/Downloads/Uni-D_2-temp/src/pages/Attendence.js":"4","/Users/tobiii/Downloads/Uni-D_2-temp/src/components/Landing.js":"5","/Users/tobiii/Downloads/Uni-D_2-temp/src/pages/CardView.js":"6","/Users/tobiii/Downloads/Uni-D_2-temp/src/components/AddWidget.js":"7","/Users/tobiii/Downloads/Uni-D_2-temp/src/firebase-config.js":"8","/Users/tobiii/Downloads/Uni-D_2-temp/src/components/Navbar.js":"9","/Users/tobiii/Downloads/Uni-D_2-temp/src/components/BookShelf.js":"10","/Users/tobiii/Downloads/Uni-D_2-temp/src/pages/Loader2.js":"11","/Users/tobiii/Downloads/Uni-D_2-temp/src/pages/Loader.js":"12","/Users/tobiii/Downloads/Uni-D_2-temp/src/components/AvailIssue.js":"13","/Users/tobiii/Downloads/Uni-D_2-temp/src/components/UnavailReturn.js":"14","/Users/tobiii/Downloads/Uni-D_2-temp/src/components/SuggestedBook.js":"15","/Users/tobiii/Downloads/Uni-D_2-temp/src/components/ListOfBooks.js":"16","/Users/tobiii/Downloads/Uni-D_2-temp/src/components/BookItem.js":"17"},{"size":500,"mtime":1667578927000,"results":"18","hashOfConfig":"19"},{"size":3118,"mtime":1667687565075,"results":"20","hashOfConfig":"19"},{"size":362,"mtime":1667578927000,"results":"21","hashOfConfig":"19"},{"size":4493,"mtime":1667578927000,"results":"22","hashOfConfig":"19"},{"size":256,"mtime":1667578927000,"results":"23","hashOfConfig":"19"},{"size":7710,"mtime":1667686903568,"results":"24","hashOfConfig":"19"},{"size":4408,"mtime":1667578927000,"results":"25","hashOfConfig":"19"},{"size":743,"mtime":1667578927000,"results":"26","hashOfConfig":"19"},{"size":1970,"mtime":1667578927000,"results":"27","hashOfConfig":"19"},{"size":4018,"mtime":1667687030572,"results":"28","hashOfConfig":"19"},{"size":120,"mtime":1667578927000,"results":"29","hashOfConfig":"19"},{"size":129,"mtime":1667578927000,"results":"30","hashOfConfig":"19"},{"size":1423,"mtime":1667578927000,"results":"31","hashOfConfig":"19"},{"size":814,"mtime":1667578927000,"results":"32","hashOfConfig":"19"},{"size":850,"mtime":1667687924416,"results":"33","hashOfConfig":"19"},{"size":455,"mtime":1667578927000,"results":"34","hashOfConfig":"19"},{"size":159,"mtime":1667687796792,"results":"35","hashOfConfig":"19"},{"filePath":"36","messages":"37","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"15ws8d1",{"filePath":"38","messages":"39","errorCount":0,"warningCount":8,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"40","messages":"41","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"42","messages":"43","errorCount":0,"warningCount":22,"fixableErrorCount":0,"fixableWarningCount":0,"source":"44","usedDeprecatedRules":"45"},{"filePath":"46","messages":"47","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"45"},{"filePath":"48","messages":"49","errorCount":0,"warningCount":18,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"50","messages":"51","errorCount":0,"warningCount":6,"fixableErrorCount":0,"fixableWarningCount":0,"source":"52","usedDeprecatedRules":"45"},{"filePath":"53","messages":"54","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"55","messages":"56","errorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":"57","usedDeprecatedRules":"45"},{"filePath":"58","messages":"59","errorCount":0,"warningCount":6,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"60","messages":"61","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"45"},{"filePath":"62","messages":"63","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"45"},{"filePath":"64","messages":"65","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"66","usedDeprecatedRules":"45"},{"filePath":"67","messages":"68","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"45"},{"filePath":"69","messages":"70","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"71","messages":"72","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"45"},{"filePath":"73","messages":"74","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/Users/tobiii/Downloads/Uni-D_2-temp/src/index.js",[],"/Users/tobiii/Downloads/Uni-D_2-temp/src/App.js",["75","76","77","78","79","80","81","82"],"/Users/tobiii/Downloads/Uni-D_2-temp/src/reportWebVitals.js",[],"/Users/tobiii/Downloads/Uni-D_2-temp/src/pages/Attendence.js",["83","84","85","86","87","88","89","90","91","92","93","94","95","96","97","98","99","100","101","102","103","104"],"import React, { useState, useEffect } from \"react\";\nimport { addDoc, collection } from \"firebase/firestore\";\nimport { AddWidget } from \"../components/AddWidget\";\nimport { db } from \"../firebase-config\";\nimport {\n deleteDoc,\n doc,\n getDoc,\n getDocs,\n query,\n where,\n} from \"firebase/firestore\";\n\nexport const Attendence = (props) => {\n const [rollno, fetchedRollno] = useState(\"8947\");\n const [admno, setAdmnno] = useState(\"??\");\n const [name, setName] = useState(\"??\");\n const [card1, setCard1] = useState(\"??\");\n const [card2, setCard2] = useState(\"??\");\n const [card3, setCard3] = useState(\"??\");\n const [imgList, setImgList] = useState([]);\n const userRef = collection(db, \"users\");\n console.log(props.scanResultWebCam)\n const [currNo, setCurrNo] = useState(\"8947\");\n\n\n\n\n // const q = query(userRef, where());\n useEffect(() => {\n // const q = query(collection(db, \"users\"), where(\"admno\", \"==\", \"8947\"));\n // const querySnapshot = getDocs(q);\n // querySnapshot.forEach((doc) => {\n // // doc.data() is never undefined for query doc snapshots\n // console.log(doc.id, \" => \", doc.data());\n // });\n // if (!query.empty) {\n // const snapshot = query.docs[0];\n // const data = snapshot.data();\n // console.log(data);\n // } else {\n // console.log(\"not found\");\n // }\n // const userRef2 = doc(db, \"users\", \"dAb0YnLzD8fgdyBeRr3Z\");\n // getDoc(userRef2).then((doc) => {\n // console.log(doc.data(), doc.id);\n // });\n const getUserList = async () => {\n console.log(\"reading\");\n const data = await getDocs(userRef);\n // console.log(\"image data\", data);\n setImgList(data.docs.map((doc) => ({ ...doc.data(), id: doc.id })));\n // console.log(imgList);\n };\n setCurrNo(props.scanResultWebCam)\n\n getUserList();\n }, []);\n\n // const userRef = collection(db, \"users\");\n // useEffect(() => {\n // const getCard = async () => {\n // const data = await getDocs(userRef);\n // console.log(\"hi\", data);\n // setProductList(data.docs.map((doc) => ({ ...doc.data(), id: doc.id })));\n // };\n\n // getProducts();\n // }, []);\n\n return (\n <div className=\"flex flex-col items-center h-screen\">\n <p className=\"text-green-500 text-[64px] my-4\">UNI-ID</p>\n <div className=\"m-auto text-2xl\">\n <div className=\"bg-green-500 p-3 text-white rounded-md shadow-md\">\n {/* <p>STUDENT: DEB</p>\n <p>ADMISSION NUMBER:8947</p> */}\n <div className=\"bg-white p-3 text-green-500 mt-2 rounded-md space-y-4 space-x-4\">\n {/* <AddWidget cardnumber={\"1\"} cardstatus={card1} />\n <AddWidget cardnumber=\"2\" cardstatus={card2} />\n <AddWidget cardnumber=\"3\" cardstatus={card3} /> */}\n\n {imgList.map((item) => {\n console.log(\"ITEM LOGGED IS \", item);\n console.log(props.scanResultWebCam)\n \n\n \n // console.log(\"inside function\");\n //REPLACE 8947 WITH THE INT VALUE OBTAINED FROM QR CODE.\n if (item.admno == props.scanResultWebCam)\n return (\n <AddWidget\n key={item.id}\n name={item.name}\n admno={item.admno}\n card1={item.card1}\n card2={item.card2}\n card3={item.card3}\n />\n );\n \n }\n \n \n )}\n\n {/* <div className=\"flex flex-row justify-between items-center space-x-16\">\n <p>CARD 1: AVAILABLE</p>\n <p className=\"bg-green-500 text-white p-2 rounded-md hover:scale-105\">\n ISSUE BOOK\n </p>\n </div>\n <div className=\"flex flex-row justify-between items-center space-x-16 text-red-600\">\n <p>CARD 2: UNAVAILABLE</p>\n <p className=\"bg-red-500 text-white p-2 rounded-md hover:scale-105\">\n DETAILS\n </p>\n </div>\n <div className=\"flex flex-row justify-between items-center space-x-16\">\n <p>CARD 3: ISSUED</p>\n <p className=\"bg-green-500 text-white p-2 rounded-md hover:scale-105\">\n ISSUE BOOK\n </p>\n </div> */}\n </div>\n <div className=\"bg-green-400 rounded-md mt-4 p-2 text-center\">\n Attendence\n </div>\n </div>\n </div>\n </div>\n );\n};\n",["105","106"],"/Users/tobiii/Downloads/Uni-D_2-temp/src/components/Landing.js",[],"/Users/tobiii/Downloads/Uni-D_2-temp/src/pages/CardView.js",["107","108","109","110","111","112","113","114","115","116","117","118","119","120","121","122","123","124"],"/Users/tobiii/Downloads/Uni-D_2-temp/src/components/AddWidget.js",["125","126","127","128","129","130"],"import { arrayUnion, doc, setDoc, updateDoc } from \"firebase/firestore\";\nimport React from \"react\";\nimport { useState, useEffect } from \"react\";\nimport { db } from \"../firebase-config\";\nimport { Loader } from \"../pages/Loader\";\nimport { AvailIssue } from \"./AvailIssue\";\nimport { ListOfBooks } from \"./ListOfBooks\";\nimport { UnavailReturn } from \"./UnavailReturn\";\n\nexport const AddWidget = ({\n docid,\n name,\n admno,\n card1status,\n card2status,\n card3status,\n card1book,\n card2book,\n card3book,\n booklist,\n validbooklist,\n}) => {\n const [loading, setLoading] = useState(false);\n let visible2 = false;\n const [visible, setVisible] = useState(false);\n const [listview, setListview] = useState(false);\n console.log(booklist);\n const IssueBook = async (cnum, bname) => {\n setLoading(true);\n let cardbook = `card${cnum}book`;\n let cardstatus = `card${cnum}status`;\n let booklist = `booklist`;\n\n const docRef = doc(db, \"users\", docid);\n\n await updateDoc(docRef, {\n [cardbook]: bname,\n [cardstatus]: false,\n // \"card1.bookname\": \"Coraline\",\n });\n\n try {\n await updateDoc(docRef, {\n booklist: arrayUnion(bname),\n });\n } catch (e) {\n console.error(\"error adding\");\n }\n\n window.location.reload(false); //might have to change this way of reloading\n setLoading(false);\n };\n\n const returnBook = async (cnum) => {\n setLoading(true);\n let cardbook = `card${cnum}book`;\n let cardstatus = `card${cnum}status`;\n const docRef = doc(db, \"users\", docid);\n await updateDoc(docRef, {\n [cardbook]: \"-\",\n [cardstatus]: true,\n });\n window.location.reload(false); //might have to change this way of reloading\n setLoading(true);\n };\n\n return (\n <>\n {loading === false ? (\n <div className=\"flex flex-col space-y-2 text-gray-800\">\n {/* {console.log(\"INSIDE ADDWIDGET \", validbooklist)} */}\n <p className=\"font-xl text-center\">LIBRARY LOGS</p>\n <p>Name: {name}</p>\n <p>Admission Number: {admno}</p>\n <div className=\"flex flex-col space-y-2\">\n <div className=\"flex flex-row card bg-primary text-primary-content justify-center items-center space-x-4 rounded-md p-2\">\n <p>CARD 1</p>\n\n {card1status === true ? (\n <AvailIssue\n IssueBook={IssueBook}\n validbooklist={validbooklist}\n cnum=\"1\"\n />\n ) : (\n <UnavailReturn\n returnBook={returnBook}\n cnum=\"1\"\n cardbook={card1book}\n />\n )}\n </div>\n <div className=\"flex flex-row card bg-primary text-primary-content justify-center items-center space-x-4 bg-green-100 rounded-md p-2\">\n <p >CARD 2</p>\n {card2status === true ? (\n <AvailIssue\n IssueBook={IssueBook}\n validbooklist={validbooklist}\n cnum=\"2\"\n />\n ) : (\n <UnavailReturn\n returnBook={returnBook}\n cnum=\"2\"\n cardbook={card2book}\n />\n )}\n </div>\n <div\n // onClick={() => updateItem(docid)}\n className=\"flex flex-row card justify-center bg-primary text-primary-content items-center space-x-4 bg-green-100 rounded-md p-2\"\n >\n <p>CARD 3</p>\n {card3status === true ? (\n <AvailIssue\n IssueBook={IssueBook}\n validbooklist={validbooklist}\n cnum=\"3\"\n />\n ) : (\n <UnavailReturn\n returnBook={returnBook}\n cnum=\"3\"\n cardbook={card3book}\n />\n )}\n </div>\n <button\n className=\"rounded-md mt-4 p-2 text-center text-gray-800 hover:bg-green-300\"\n onClick={() => {\n if (visible === false) setVisible(true);\n else setVisible(false);\n }}\n >\n ISSUAL HISTORY\n </button>\n </div>\n\n {visible && <ListOfBooks booklist={booklist} />}\n </div>\n ) : (\n <Loader />\n )}\n </>\n );\n};\n","/Users/tobiii/Downloads/Uni-D_2-temp/src/firebase-config.js",[],"/Users/tobiii/Downloads/Uni-D_2-temp/src/components/Navbar.js",["131","132","133","134"],"import React from 'react'\n\nexport default function Navbar() {\n return (\n <div className=\"navbar bg-base-100\">\n <div className=\"navbar-start\">\n <div className=\"dropdown\">\n <label tabIndex={0} className=\"btn btn-ghost btn-circle\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" className=\"h-5 w-5\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\"><path strokeLinecap=\"round\" strokeLinejoin=\"round\" strokeWidth=\"2\" d=\"M4 6h16M4 12h16M4 18h7\" /></svg>\n </label>\n <ul tabIndex={0} className=\"menu menu-compact dropdown-content mt-3 p-2 shadow bg-base-100 rounded-box w-52\">\n <li><a>Homepage</a></li>\n <li><a>Portfolio</a></li>\n <li><a>About</a></li>\n </ul>\n </div>\n </div>\n <div className=\"navbar-center text-6xl\">\n <a className=\"btn btn-ghost normal-case text-8xl\">unid</a>\n </div>\n <div className=\"navbar-end\">\n <button className=\"btn btn-ghost btn-circle\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" className=\"h-5 w-5\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\"><path strokeLinecap=\"round\" strokeLinejoin=\"round\" strokeWidth=\"2\" d=\"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z\" /></svg>\n </button>\n <button className=\"btn btn-ghost btn-circle\">\n <div className=\"indicator\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" className=\"h-5 w-5\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\"><path strokeLinecap=\"round\" strokeLinejoin=\"round\" strokeWidth=\"2\" d=\"M15 17h5l-1.405-1.405A2.032 2.032 0 0118 14.158V11a6.002 6.002 0 00-4-5.659V5a2 2 0 10-4 0v.341C7.67 6.165 6 8.388 6 11v3.159c0 .538-.214 1.055-.595 1.436L4 17h5m6 0v1a3 3 0 11-6 0v-1m6 0H9\" /></svg>\n <span className=\"badge badge-xs badge-primary indicator-item\"></span>\n </div>\n </button>\n </div>\n </div>\n )\n}\n","/Users/tobiii/Downloads/Uni-D_2-temp/src/components/BookShelf.js",["135","136","137","138","139","140"],"/Users/tobiii/Downloads/Uni-D_2-temp/src/pages/Loader2.js",[],"/Users/tobiii/Downloads/Uni-D_2-temp/src/pages/Loader.js",[],"/Users/tobiii/Downloads/Uni-D_2-temp/src/components/AvailIssue.js",["141"],"import React, { useState } from \"react\";\n\nexport const AvailIssue = (props) => {\n const [bookname, setBookname] = useState(\"\");\n // const validbooklist = props.validbooklist;\n // console.log(\"INSIDE AVAILISSUE IS \" + props.validbooklist);\n let name;\n return (\n <section className=\"flex flex-row items-center justify-between space-x-20 p-2\">\n <div className=\"flex card-action items-center justify-center bg-green-500 btn\">\n <p className=\"flex items-center justify-center text-2xl p-2 bg-green-500 text-white rounded-md\">\n AVAILABLE\n </p>\n </div>\n <div className=\"flex\">\n <input\n type=\"text\"\n list=\"validbookids\"\n display=\"none\"\n className=\"flex py-1 px-2 rounded-md w-[250px] input stat placeholder:text-2xl\"\n placeholder=\"enter book id\"\n onChange={(e) => {\n name = e.target.value;\n setBookname(e.target.value);\n }}\n />\n <datalist id=\"validbookids\">\n {props.validbooklist.map((book, key) => (\n <option key={key} value={book.id} />\n ))}\n </datalist>\n </div>\n\n <button\n className=\"flex card-actions btn text-green-600 items-center text-3xl justify-center p-2 bg-base-100 hover:bg-green-600 hover:text-white\"\n onClick={() => props.IssueBook(props.cnum, bookname)}\n >\n <p className=\"text-xl\">ISSUE</p>\n </button>\n </section>\n );\n};\n","/Users/tobiii/Downloads/Uni-D_2-temp/src/components/UnavailReturn.js",[],"/Users/tobiii/Downloads/Uni-D_2-temp/src/components/SuggestedBook.js",["142","143","144"],"/Users/tobiii/Downloads/Uni-D_2-temp/src/components/ListOfBooks.js",[],"/Users/tobiii/Downloads/Uni-D_2-temp/src/components/BookItem.js",[],{"ruleId":"145","severity":1,"message":"146","line":4,"column":10,"nodeType":"147","messageId":"148","endLine":4,"endColumn":20},{"ruleId":"145","severity":1,"message":"149","line":5,"column":10,"nodeType":"147","messageId":"148","endLine":5,"endColumn":17},{"ruleId":"145","severity":1,"message":"150","line":11,"column":10,"nodeType":"147","messageId":"148","endLine":11,"endColumn":25},{"ruleId":"145","severity":1,"message":"151","line":14,"column":9,"nodeType":"147","messageId":"148","endLine":14,"endColumn":27},{"ruleId":"145","severity":1,"message":"152","line":17,"column":9,"nodeType":"147","messageId":"148","endLine":17,"endColumn":29},{"ruleId":"145","severity":1,"message":"153","line":20,"column":9,"nodeType":"147","messageId":"148","endLine":20,"endColumn":30},{"ruleId":"154","severity":1,"message":"155","line":44,"column":25,"nodeType":"156","messageId":"157","endLine":44,"endColumn":27},{"ruleId":"158","severity":1,"message":"159","line":49,"column":19,"nodeType":"160","endLine":49,"endColumn":62},{"ruleId":"145","severity":1,"message":"161","line":2,"column":10,"nodeType":"147","messageId":"148","endLine":2,"endColumn":16},{"ruleId":"145","severity":1,"message":"162","line":6,"column":3,"nodeType":"147","messageId":"148","endLine":6,"endColumn":12},{"ruleId":"145","severity":1,"message":"163","line":7,"column":3,"nodeType":"147","messageId":"148","endLine":7,"endColumn":6},{"ruleId":"145","severity":1,"message":"164","line":8,"column":3,"nodeType":"147","messageId":"148","endLine":8,"endColumn":9},{"ruleId":"145","severity":1,"message":"165","line":10,"column":3,"nodeType":"147","messageId":"148","endLine":10,"endColumn":8},{"ruleId":"145","severity":1,"message":"166","line":11,"column":3,"nodeType":"147","messageId":"148","endLine":11,"endColumn":8},{"ruleId":"145","severity":1,"message":"167","line":15,"column":10,"nodeType":"147","messageId":"148","endLine":15,"endColumn":16},{"ruleId":"145","severity":1,"message":"168","line":15,"column":18,"nodeType":"147","messageId":"148","endLine":15,"endColumn":31},{"ruleId":"145","severity":1,"message":"169","line":16,"column":10,"nodeType":"147","messageId":"148","endLine":16,"endColumn":15},{"ruleId":"145","severity":1,"message":"170","line":16,"column":17,"nodeType":"147","messageId":"148","endLine":16,"endColumn":26},{"ruleId":"145","severity":1,"message":"171","line":17,"column":10,"nodeType":"147","messageId":"148","endLine":17,"endColumn":14},{"ruleId":"145","severity":1,"message":"172","line":17,"column":16,"nodeType":"147","messageId":"148","endLine":17,"endColumn":23},{"ruleId":"145","severity":1,"message":"173","line":18,"column":10,"nodeType":"147","messageId":"148","endLine":18,"endColumn":15},{"ruleId":"145","severity":1,"message":"174","line":18,"column":17,"nodeType":"147","messageId":"148","endLine":18,"endColumn":25},{"ruleId":"145","severity":1,"message":"175","line":19,"column":10,"nodeType":"147","messageId":"148","endLine":19,"endColumn":15},{"ruleId":"145","severity":1,"message":"176","line":19,"column":17,"nodeType":"147","messageId":"148","endLine":19,"endColumn":25},{"ruleId":"145","severity":1,"message":"177","line":20,"column":10,"nodeType":"147","messageId":"148","endLine":20,"endColumn":15},{"ruleId":"145","severity":1,"message":"178","line":20,"column":17,"nodeType":"147","messageId":"148","endLine":20,"endColumn":25},{"ruleId":"145","severity":1,"message":"179","line":24,"column":10,"nodeType":"147","messageId":"148","endLine":24,"endColumn":16},{"ruleId":"180","severity":1,"message":"181","line":58,"column":6,"nodeType":"182","endLine":58,"endColumn":8,"suggestions":"183"},{"ruleId":"184","severity":1,"message":"185","line":83,"column":33,"nodeType":"186","messageId":"187","endLine":83,"endColumn":35},{"ruleId":"154","severity":1,"message":"155","line":91,"column":30,"nodeType":"156","messageId":"157","endLine":91,"endColumn":32},{"ruleId":"188","replacedBy":"189"},{"ruleId":"190","replacedBy":"191"},{"ruleId":"145","severity":1,"message":"162","line":6,"column":3,"nodeType":"147","messageId":"148","endLine":6,"endColumn":12},{"ruleId":"145","severity":1,"message":"164","line":8,"column":3,"nodeType":"147","messageId":"148","endLine":8,"endColumn":9},{"ruleId":"145","severity":1,"message":"165","line":10,"column":3,"nodeType":"147","messageId":"148","endLine":10,"endColumn":8},{"ruleId":"145","severity":1,"message":"166","line":11,"column":3,"nodeType":"147","messageId":"148","endLine":11,"endColumn":8},{"ruleId":"145","severity":1,"message":"192","line":13,"column":10,"nodeType":"147","messageId":"148","endLine":13,"endColumn":23},{"ruleId":"145","severity":1,"message":"193","line":14,"column":10,"nodeType":"147","messageId":"148","endLine":14,"endColumn":16},{"ruleId":"145","severity":1,"message":"194","line":20,"column":10,"nodeType":"147","messageId":"148","endLine":20,"endColumn":15},{"ruleId":"145","severity":1,"message":"195","line":20,"column":17,"nodeType":"147","messageId":"148","endLine":20,"endColumn":25},{"ruleId":"145","severity":1,"message":"196","line":24,"column":9,"nodeType":"147","messageId":"148","endLine":24,"endColumn":21},{"ruleId":"145","severity":1,"message":"197","line":27,"column":9,"nodeType":"147","messageId":"148","endLine":27,"endColumn":19},{"ruleId":"145","severity":1,"message":"198","line":34,"column":9,"nodeType":"147","messageId":"148","endLine":34,"endColumn":20},{"ruleId":"145","severity":1,"message":"199","line":36,"column":9,"nodeType":"147","messageId":"148","endLine":36,"endColumn":16},{"ruleId":"184","severity":1,"message":"200","line":109,"column":28,"nodeType":"186","messageId":"201","endLine":109,"endColumn":30},{"ruleId":"154","severity":1,"message":"155","line":110,"column":24,"nodeType":"156","messageId":"157","endLine":110,"endColumn":26},{"ruleId":"154","severity":1,"message":"155","line":130,"column":18,"nodeType":"156","messageId":"157","endLine":130,"endColumn":20},{"ruleId":"180","severity":1,"message":"202","line":157,"column":6,"nodeType":"182","endLine":157,"endColumn":8,"suggestions":"203"},{"ruleId":"184","severity":1,"message":"185","line":182,"column":38,"nodeType":"186","messageId":"187","endLine":182,"endColumn":40},{"ruleId":"154","severity":1,"message":"155","line":189,"column":30,"nodeType":"156","messageId":"157","endLine":189,"endColumn":32},{"ruleId":"145","severity":1,"message":"204","line":1,"column":27,"nodeType":"147","messageId":"148","endLine":1,"endColumn":33},{"ruleId":"145","severity":1,"message":"205","line":3,"column":20,"nodeType":"147","messageId":"148","endLine":3,"endColumn":29},{"ruleId":"145","severity":1,"message":"206","line":24,"column":7,"nodeType":"147","messageId":"148","endLine":24,"endColumn":15},{"ruleId":"145","severity":1,"message":"207","line":26,"column":10,"nodeType":"147","messageId":"148","endLine":26,"endColumn":18},{"ruleId":"145","severity":1,"message":"208","line":26,"column":20,"nodeType":"147","messageId":"148","endLine":26,"endColumn":31},{"ruleId":"145","severity":1,"message":"209","line":32,"column":9,"nodeType":"147","messageId":"148","endLine":32,"endColumn":17},{"ruleId":"210","severity":1,"message":"211","line":12,"column":21,"nodeType":"160","endLine":12,"endColumn":24},{"ruleId":"210","severity":1,"message":"211","line":13,"column":21,"nodeType":"160","endLine":13,"endColumn":24},{"ruleId":"210","severity":1,"message":"211","line":14,"column":21,"nodeType":"160","endLine":14,"endColumn":24},{"ruleId":"210","severity":1,"message":"211","line":19,"column":13,"nodeType":"160","endLine":19,"endColumn":63},{"ruleId":"145","severity":1,"message":"212","line":3,"column":8,"nodeType":"147","messageId":"148","endLine":3,"endColumn":13},{"ruleId":"145","severity":1,"message":"209","line":7,"column":10,"nodeType":"147","messageId":"148","endLine":7,"endColumn":18},{"ruleId":"145","severity":1,"message":"213","line":8,"column":10,"nodeType":"147","messageId":"148","endLine":8,"endColumn":15},{"ruleId":"145","severity":1,"message":"214","line":8,"column":17,"nodeType":"147","messageId":"148","endLine":8,"endColumn":25},{"ruleId":"154","severity":1,"message":"155","line":30,"column":37,"nodeType":"156","messageId":"157","endLine":30,"endColumn":39},{"ruleId":"180","severity":1,"message":"215","line":99,"column":6,"nodeType":"182","endLine":99,"endColumn":8,"suggestions":"216"},{"ruleId":"145","severity":1,"message":"171","line":23,"column":11,"nodeType":"147","messageId":"148","endLine":23,"endColumn":15},{"ruleId":"145","severity":1,"message":"217","line":5,"column":10,"nodeType":"147","messageId":"148","endLine":5,"endColumn":18},{"ruleId":"145","severity":1,"message":"218","line":5,"column":20,"nodeType":"147","messageId":"148","endLine":5,"endColumn":31},{"ruleId":"158","severity":1,"message":"159","line":22,"column":11,"nodeType":"160","endLine":22,"endColumn":67},"no-unused-vars","'Attendence' is defined but never used.","Identifier","unusedVar","'Landing' is defined but never used.","'currentFunction' is assigned a value but never used.","'handleClickLibrary' is assigned a value but never used.","'handleClickCafeteria' is assigned a value but never used.","'handleClickAttendence' is assigned a value but never used.","eqeqeq","Expected '===' and instead saw '=='.","BinaryExpression","unexpected","jsx-a11y/alt-text","img elements must have an alt prop, either with meaningful text, or an empty string for decorative images.","JSXOpeningElement","'addDoc' is defined but never used.","'deleteDoc' is defined but never used.","'doc' is defined but never used.","'getDoc' is defined but never used.","'query' is defined but never used.","'where' is defined but never used.","'rollno' is assigned a value but never used.","'fetchedRollno' is assigned a value but never used.","'admno' is assigned a value but never used.","'setAdmnno' is assigned a value but never used.","'name' is assigned a value but never used.","'setName' is assigned a value but never used.","'card1' is assigned a value but never used.","'setCard1' is assigned a value but never used.","'card2' is assigned a value but never used.","'setCard2' is assigned a value but never used.","'card3' is assigned a value but never used.","'setCard3' is assigned a value but never used.","'currNo' is assigned a value but never used.","react-hooks/exhaustive-deps","React Hook useEffect has missing dependencies: 'props.scanResultWebCam' and 'userRef'. Either include them or remove the dependency array. If 'setCurrNo' needs the current value of 'props.scanResultWebCam', you can also switch to useReducer instead of useState and read 'props.scanResultWebCam' in the reducer.","ArrayExpression",["219"],"array-callback-return","Array.prototype.map() expects a value to be returned at the end of arrow function.","ArrowFunctionExpression","expectedAtEnd","no-native-reassign",["220"],"no-negated-in-lhs",["221"],"'RepeatRounded' is defined but never used.","'Loader' is defined but never used.","'found' is assigned a value but never used.","'setFound' is assigned a value but never used.","'mysecondlist' is assigned a value but never used.","'updateItem' is assigned a value but never used.","'displayList' is assigned a value but never used.","'addItem' is assigned a value but never used.","Array.prototype.map() expects a return value from arrow function.","expectedInside","React Hook useEffect has missing dependencies: 'imgList', 'props.scanNameWebCam', 'props.scanResultWebCam', and 'userRef'. Either include them or remove the dependency array.",["222"],"'setDoc' is defined but never used.","'useEffect' is defined but never used.","'visible2' is assigned a value but never used.","'listview' is assigned a value but never used.","'setListview' is assigned a value but never used.","'booklist' is assigned a value but never used.","jsx-a11y/anchor-is-valid","The href attribute is required for an anchor to be keyboard accessible. Provide a valid, navigable address as the href value. If you cannot provide an href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md","'axios' is defined but never used.","'index' is assigned a value but never used.","'setIndex' is assigned a value but never used.","React Hook useEffect has a missing dependency: 'getList'. Either include it or remove the dependency array.",["223"],"'bookname' is assigned a value but never used.","'setBookname' is assigned a value but never used.",{"desc":"224","fix":"225"},"no-global-assign","no-unsafe-negation",{"desc":"226","fix":"227"},{"desc":"228","fix":"229"},"Update the dependencies array to be: [props.scanResultWebCam, userRef]",{"range":"230","text":"231"},"Update the dependencies array to be: [imgList, props.scanNameWebCam, props.scanResultWebCam, userRef]",{"range":"232","text":"233"},"Update the dependencies array to be: [getList]",{"range":"234","text":"235"},[1820,1822],"[props.scanResultWebCam, userRef]",[4921,4923],"[imgList, props.scanNameWebCam, props.scanResultWebCam, userRef]",[3274,3276],"[getList]"]