> pup-admin@0.1.0 build > react-scripts build Creating an optimized production build... Compiled with warnings. [eslint] src/components/Accounts/AccountSummary.jsx Line 2:8: 'SalesGraph' is defined but never used no-unused-vars Line 12:10: 'error' is assigned a value but never used no-unused-vars Line 45:6: React Hook useEffect has a missing dependency: 'axiosPrivate'. Either include it or remove the dependency array react-hooks/exhaustive-deps src/components/Accounts/AccountsData.jsx Line 9:10: 'expanded' is assigned a value but never used no-unused-vars Line 9:20: 'setExpanded' is assigned a value but never used no-unused-vars Line 11:11: 'auth' is assigned a value but never used no-unused-vars Line 12:9: 'params' is assigned a value but never used no-unused-vars Line 14:10: 'walletBalance' is assigned a value but never used no-unused-vars Line 37:6: React Hook useEffect has a missing dependency: 'getWalletBalance'. Either include it or remove the dependency array react-hooks/exhaustive-deps src/components/Accounts/AccountsDetails.jsx Line 14:10: 'error' is assigned a value but never used no-unused-vars Line 50:6: React Hook useEffect has a missing dependency: 'axiosPrivate'. Either include it or remove the dependency array react-hooks/exhaustive-deps src/components/Accounts/AddBalance.jsx Line 58:21: Expected '===' and instead saw '==' eqeqeq Line 65:22: Expected '===' and instead saw '==' eqeqeq Line 82:31: Expected '===' and instead saw '==' eqeqeq Line 186:17: The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 187:24: Script URL is a form of eval no-script-url src/components/Accounts/BarGraph.jsx Line 69:5: 'data' is assigned a value but never used no-unused-vars Line 121:20: Expected '!==' and instead saw '!=' eqeqeq Line 122:27: Expected '!==' and instead saw '!=' eqeqeq src/components/Accounts/BillSummary.jsx Line 1:17: 'useEffect' is defined but never used no-unused-vars Line 1:28: 'useState' is defined but never used no-unused-vars Line 46:29: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid src/components/Accounts/PartnerAccountsInfo.jsx Line 1:31: 'useRef' is defined but never used no-unused-vars Line 2:36: 'Link' is defined but never used no-unused-vars Line 4:8: 'AccountsDetails' is defined but never used no-unused-vars Line 7:8: 'Pagination' is defined but never used no-unused-vars Line 13:8: 'PartnerListing' is defined but never used no-unused-vars Line 19:9: 'navigate' is assigned a value but never used no-unused-vars Line 20:9: 'location' is assigned a value but never used no-unused-vars Line 21:9: 'axiosPrivate' is assigned a value but never used no-unused-vars Line 22:10: 'error' is assigned a value but never used no-unused-vars Line 22:17: 'seterror' is assigned a value but never used no-unused-vars Line 23:9: 'search_keyword' is assigned a value but never used no-unused-vars Line 24:10: 'currentPage' is assigned a value but never used no-unused-vars Line 25:10: 'usersPerPage' is assigned a value but never used no-unused-vars Line 25:24: 'setUsersPerPage' is assigned a value but never used no-unused-vars Line 70:31: Expected '===' and instead saw '==' eqeqeq Line 109:19: Expected '!==' and instead saw '!=' eqeqeq src/components/Accounts/PartnerAccountsListing.jsx Line 2:10: 'Link' is defined but never used no-unused-vars Line 3:10: 'Text' is defined but never used no-unused-vars Line 4:8: 'Card' is defined but never used no-unused-vars Line 9:10: 'FormatDate' is defined but never used no-unused-vars Line 11:8: 'Image' is defined but never used no-unused-vars Line 23:10: 'showMessage' is assigned a value but never used no-unused-vars Line 23:23: 'setShowMessage' is assigned a value but never used no-unused-vars Line 25:10: 'showDropDown' is assigned a value but never used no-unused-vars Line 27:10: 'showPopUP' is assigned a value but never used no-unused-vars Line 29:9: 'style' is assigned a value but never used no-unused-vars Line 38:9: 'handleDeletePartner' is assigned a value but never used no-unused-vars Line 55:10: 'showSubComponent' is assigned a value but never used no-unused-vars Line 60:9: 'subContent' is assigned a value but never used no-unused-vars Line 65:9: 'handelDropDown' is assigned a value but never used no-unused-vars Line 80:43: Array.prototype.findIndex() expects a value to be returned at the end of function array-callback-return Line 95:17: Expected '===' and instead saw '==' eqeqeq Line 115:23: 'package_info' is assigned a value but never used no-unused-vars Line 116:23: 'energy_info' is assigned a value but never used no-unused-vars Line 117:23: 'business_info' is assigned a value but never used no-unused-vars Line 118:23: 'status' is assigned a value but never used no-unused-vars Line 119:23: 'created_at' is assigned a value but never used no-unused-vars Line 120:23: 'customer_count' is assigned a value but never used no-unused-vars Line 121:23: 'wallet_id' is assigned a value but never used no-unused-vars Line 128:29: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images jsx-a11y/alt-text Line 141:29: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 160:29: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images jsx-a11y/alt-text Line 173:29: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid src/components/Accounts/PartnerAccountsProfile.jsx Line 2:10: 'useLocation' is defined but never used no-unused-vars Line 2:34: 'Link' is defined but never used no-unused-vars Line 10:8: 'AccountsDetails' is defined but never used no-unused-vars Line 19:10: 'error' is assigned a value but never used no-unused-vars Line 19:17: 'setError' is assigned a value but never used no-unused-vars Line 63:6: React Hook useEffect has missing dependencies: 'axiosPrivate' and 'params.user_id'. Either include them or remove the dependency array react-hooks/exhaustive-deps Line 127:23: The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 128:30: Script URL is a form of eval no-script-url src/components/Accounts/SalesGraph.jsx Line 10:10: 'averageCharge' is assigned a value but never used no-unused-vars Line 10:25: 'setAverageCharge' is assigned a value but never used no-unused-vars Line 11:10: 'averagePackagePrice' is assigned a value but never used no-unused-vars Line 11:31: 'setAveragePackagePrice' is assigned a value but never used no-unused-vars Line 12:10: 'packages' is assigned a value but never used no-unused-vars Line 12:20: 'setPackages' is assigned a value but never used no-unused-vars Line 13:10: 'transactionData' is assigned a value but never used no-unused-vars Line 13:27: 'setTransactionData' is assigned a value but never used no-unused-vars Line 14:10: 'transactionType' is assigned a value but never used no-unused-vars Line 14:27: 'setTransactionType' is assigned a value but never used no-unused-vars Line 15:10: 'isLoading' is assigned a value but never used no-unused-vars Line 16:10: 'totalCustomer' is assigned a value but never used no-unused-vars Line 16:25: 'setTotalCustomer' is assigned a value but never used no-unused-vars Line 18:10: 'customerData' is assigned a value but never used no-unused-vars Line 18:24: 'setCustomerData' is assigned a value but never used no-unused-vars Line 20:10: 'labelData' is assigned a value but never used no-unused-vars Line 20:21: 'setLabelData' is assigned a value but never used no-unused-vars Line 23:24: 'setSelectedSale' is assigned a value but never used no-unused-vars Line 25:10: 'openSelectSale' is assigned a value but never used no-unused-vars Line 25:26: 'setOpenSelectSale' is assigned a value but never used no-unused-vars Line 27:10: 'percentSalesChange' is assigned a value but never used no-unused-vars Line 27:30: 'setPercentSalesChange' is assigned a value but never used no-unused-vars Line 28:10: 'salesInfo' is assigned a value but never used no-unused-vars Line 185:6: React Hook useEffect has a missing dependency: 'getTransactionData'. Either include it or remove the dependency array react-hooks/exhaustive-deps Line 206:14: Expected '===' and instead saw '==' eqeqeq Line 209:21: Expected '===' and instead saw '==' eqeqeq Line 211:21: Expected '===' and instead saw '==' eqeqeq Line 213:21: Expected '===' and instead saw '==' eqeqeq Line 258:27: Expected '===' and instead saw '==' eqeqeq Line 276:43: Expected '===' and instead saw '==' eqeqeq Line 282:23: The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 282:31: Script URL is a form of eval no-script-url Line 285:43: Expected '===' and instead saw '==' eqeqeq Line 291:23: The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 291:31: Script URL is a form of eval no-script-url Line 294:43: Expected '===' and instead saw '==' eqeqeq Line 300:23: The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 300:31: Script URL is a form of eval no-script-url Line 303:43: Expected '===' and instead saw '==' eqeqeq Line 309:23: The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 309:31: Script URL is a form of eval no-script-url Line 319:27: Expected '===' and instead saw '==' eqeqeq src/components/Accounts/TransactionList.jsx Line 14:11: 'auth' is assigned a value but never used no-unused-vars Line 15:9: 'params' is assigned a value but never used no-unused-vars Line 27:10: 'fromdate' is assigned a value but never used no-unused-vars Line 28:10: 'todate' is assigned a value but never used no-unused-vars Line 61:16: Expected '===' and instead saw '==' eqeqeq Line 91:6: React Hook useEffect has a missing dependency: 'getTransactions'. Either include it or remove the dependency array react-hooks/exhaustive-deps Line 118:34: Expected '===' and instead saw '==' eqeqeq Line 157:14: Expected '===' and instead saw '==' eqeqeq Line 160:21: Expected '===' and instead saw '==' eqeqeq Line 171:21: Expected '===' and instead saw '==' eqeqeq Line 179:21: Expected '===' and instead saw '==' eqeqeq Line 212:14: Expected '===' and instead saw '==' eqeqeq Line 214:21: Expected '===' and instead saw '==' eqeqeq Line 221:21: Expected '===' and instead saw '==' eqeqeq Line 228:21: Expected '===' and instead saw '==' eqeqeq Line 248:40: Expected '===' and instead saw '==' eqeqeq Line 254:13: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 258:40: Expected '===' and instead saw '==' eqeqeq Line 264:13: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 277:25: Expected '===' and instead saw '==' eqeqeq Line 280:35: Expected '===' and instead saw '==' eqeqeq Line 295:41: Expected '===' and instead saw '==' eqeqeq Line 301:21: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 304:41: Expected '===' and instead saw '==' eqeqeq Line 310:21: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 313:41: Expected '===' and instead saw '==' eqeqeq Line 319:21: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 322:41: Expected '===' and instead saw '==' eqeqeq Line 328:21: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 339:33: Expected '===' and instead saw '==' eqeqeq Line 345:34: Expected '===' and instead saw '==' eqeqeq Line 361:49: Expected '===' and instead saw '==' eqeqeq Line 368:21: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 371:49: Expected '===' and instead saw '==' eqeqeq Line 378:21: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 381:49: Expected '===' and instead saw '==' eqeqeq Line 388:21: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 391:49: Expected '===' and instead saw '==' eqeqeq Line 398:21: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 415:37: Expected '===' and instead saw '==' eqeqeq Line 420:46: Expected '!==' and instead saw '!=' eqeqeq Line 426:40: Expected '===' and instead saw '==' eqeqeq Line 435:46: Expected '===' and instead saw '==' eqeqeq Line 445:47: Expected '===' and instead saw '==' eqeqeq Line 449:61: Expected '===' and instead saw '==' eqeqeq Line 454:42: Expected '===' and instead saw '==' eqeqeq Line 467:37: Expected '===' and instead saw '==' eqeqeq Line 467:77: Expected '===' and instead saw '==' eqeqeq src/components/Attendants/AttendantInActive.jsx Line 70:25: Expected '===' and instead saw '==' eqeqeq Line 70:48: Expected '===' and instead saw '==' eqeqeq Line 92:48: Expected '===' and instead saw '==' eqeqeq Line 132:6: React Hook useEffect has missing dependencies: 'axiosPrivate' and 'status.status'. Either include them or remove the dependency array react-hooks/exhaustive-deps Line 160:37: Expected '===' and instead saw '==' eqeqeq Line 163:26: Expected '===' and instead saw '==' eqeqeq Line 205:19: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 209:19: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid src/components/Attendants/AttendantPastBooking.jsx Line 1:27: 'useEffect' is defined but never used no-unused-vars Line 2:10: 'useLocation' is defined but never used no-unused-vars Line 2:23: 'useParams' is defined but never used no-unused-vars Line 2:34: 'Link' is defined but never used no-unused-vars Line 2:40: 'useNavigate' is defined but never used no-unused-vars Line 20:26: Expected '===' and instead saw '==' eqeqeq Line 43:41: Expected '!==' and instead saw '!=' eqeqeq Line 58:50: Expected '!==' and instead saw '!=' eqeqeq Line 62:41: Expected '!==' and instead saw '!=' eqeqeq Line 62:65: Expected '!==' and instead saw '!=' eqeqeq Line 63:46: Expected '!==' and instead saw '!=' eqeqeq Line 63:70: Expected '!==' and instead saw '!=' eqeqeq Line 68:50: Expected '===' and instead saw '==' eqeqeq Line 120:62: Array.prototype.map() expects a return value from arrow function array-callback-return Line 148:35: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 156:35: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 269:55: Expected '!==' and instead saw '!=' eqeqeq Line 307:65: Expected '!==' and instead saw '!=' eqeqeq Line 334:53: Expected '!==' and instead saw '!=' eqeqeq Line 347:53: Expected '!==' and instead saw '!=' eqeqeq Line 380:51: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 394:51: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 487:62: Array.prototype.map() expects a return value from arrow function array-callback-return Line 515:35: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 523:35: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 636:55: Expected '!==' and instead saw '!=' eqeqeq Line 674:65: Expected '!==' and instead saw '!=' eqeqeq Line 701:53: Expected '!==' and instead saw '!=' eqeqeq Line 714:53: Expected '!==' and instead saw '!=' eqeqeq Line 747:51: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 761:51: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 798:49: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 812:49: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid src/components/Attendants/AttendantProfile.jsx Line 2:34: 'Link' is defined but never used no-unused-vars Line 9:8: 'moment' is defined but never used no-unused-vars Line 22:10: 'error' is assigned a value but never used no-unused-vars Line 22:17: 'setError' is assigned a value but never used no-unused-vars Line 75:6: React Hook useEffect has missing dependencies: 'axiosPrivate', 'params.user_id', and 'state'. Either include them or remove the dependency array react-hooks/exhaustive-deps Line 90:9: 'fullName' is assigned a value but never used no-unused-vars Line 92:5: 'name' is constant no-const-assign Line 100:20: Expected '===' and instead saw '==' eqeqeq Line 161:49: Unexpected string concatenation of literals no-useless-concat Line 201:21: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 212:21: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid src/components/Attendants/AttendantUpComingBooking.jsx Line 1:17: 'useEffect' is defined but never used no-unused-vars Line 4:8: 'UpcomingBookingDetails' is defined but never used no-unused-vars Line 9:8: 'Pagination' is defined but never used no-unused-vars Line 26:9: 'axiosPrivate' is assigned a value but never used no-unused-vars Line 28:10: 'currentPage' is assigned a value but never used no-unused-vars Line 28:23: 'setCurrentPage' is assigned a value but never used no-unused-vars Line 29:10: 'usersPerPage' is assigned a value but never used no-unused-vars Line 29:24: 'setUsersPerPage' is assigned a value but never used no-unused-vars Line 31:10: 'eventInitiated' is assigned a value but never used no-unused-vars Line 31:26: 'setEventInitiated' is assigned a value but never used no-unused-vars Line 47:30: Expected '===' and instead saw '==' eqeqeq Line 69:21: 'sub_note' is assigned a value but never used no-unused-vars Line 70:21: 'puppy_status' is assigned a value but never used no-unused-vars Line 74:21: 'driver_userid' is assigned a value but never used no-unused-vars Line 87:46: Expected '===' and instead saw '==' eqeqeq Line 93:39: Expected '===' and instead saw '==' eqeqeq Line 96:42: Expected '===' and instead saw '==' eqeqeq Line 106:37: Expected '===' and instead saw '==' eqeqeq Line 129:47: Expected '===' and instead saw '==' eqeqeq Line 140:39: Expected '===' and instead saw '==' eqeqeq Line 143:42: Expected '===' and instead saw '==' eqeqeq Line 153:37: Expected '===' and instead saw '==' eqeqeq Line 176:47: Expected '===' and instead saw '==' eqeqeq src/components/Attendants/AttendantsBookings.js Line 2:10: 'useLocation' is defined but never used no-unused-vars Line 2:34: 'Link' is defined but never used no-unused-vars Line 28:10: 'fromDate' is assigned a value but never used no-unused-vars Line 28:20: 'setFromDate' is assigned a value but never used no-unused-vars Line 29:10: 'toDate' is assigned a value but never used no-unused-vars Line 29:18: 'setToDate' is assigned a value but never used no-unused-vars Line 32:10: 'reportDate' is assigned a value but never used no-unused-vars Line 32:22: 'setReportDate' is assigned a value but never used no-unused-vars Line 33:10: 'isActiveBooking' is assigned a value but never used no-unused-vars Line 33:27: 'setisActiveBooking' is assigned a value but never used no-unused-vars Line 36:10: 'fromdate' is assigned a value but never used no-unused-vars Line 37:10: 'todate' is assigned a value but never used no-unused-vars Line 53:16: Expected '!==' and instead saw '!=' eqeqeq Line 53:34: Expected '!==' and instead saw '!=' eqeqeq Line 67:18: Expected '!==' and instead saw '!=' eqeqeq Line 68:14: Expected '!==' and instead saw '!=' eqeqeq Line 69:14: Expected '!==' and instead saw '!=' eqeqeq Line 111:33: Expected '===' and instead saw '==' eqeqeq Line 120:18: Expected '===' and instead saw '==' eqeqeq Line 132:6: React Hook useEffect has missing dependencies: 'request_body', 'setJobDone', and 'total_records'. Either include them or remove the dependency array. If 'setJobDone' changes too often, find the parent component that defines it and wrap that definition in useCallback react-hooks/exhaustive-deps Line 144:36: Expected '===' and instead saw '==' eqeqeq Line 145:32: Expected '===' and instead saw '==' eqeqeq Line 156:36: Expected '===' and instead saw '==' eqeqeq Line 157:32: Expected '===' and instead saw '==' eqeqeq Line 166:32: Expected '===' and instead saw '==' eqeqeq Line 198:14: Expected '===' and instead saw '==' eqeqeq Line 201:21: Expected '===' and instead saw '==' eqeqeq Line 212:21: Expected '===' and instead saw '==' eqeqeq Line 220:21: Expected '===' and instead saw '==' eqeqeq Line 237:50: Unexpected mix of '||' and '&&'. Use parentheses to clarify the intended order of operations no-mixed-operators Line 237:95: Unexpected mix of '||' and '&&'. Use parentheses to clarify the intended order of operations no-mixed-operators Line 301:24: Expected '===' and instead saw '==' eqeqeq Line 339:35: Expected '===' and instead saw '==' eqeqeq Line 344:38: Expected '===' and instead saw '==' eqeqeq Line 360:51: Expected '===' and instead saw '==' eqeqeq Line 367:23: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 370:51: Expected '===' and instead saw '==' eqeqeq Line 377:23: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 380:51: Expected '===' and instead saw '==' eqeqeq Line 387:23: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 390:51: Expected '===' and instead saw '==' eqeqeq Line 397:23: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 423:37: Expected '!==' and instead saw '!=' eqeqeq Line 424:19: Expected '!==' and instead saw '!=' eqeqeq src/components/Attendants/AttendentUpComingBookingDetails.jsx Line 4:10: 'Link' is defined but never used no-unused-vars Line 7:10: 'JobStatus' is defined but never used no-unused-vars Line 47:9: 'pup_id' is assigned a value but never used no-unused-vars Line 85:9: 'service_status_description' is assigned a value but never used no-unused-vars Line 108:9: 'sub_note' is assigned a value but never used no-unused-vars Line 109:27: 'setregistration_no' is assigned a value but never used no-unused-vars Line 110:10: 'available_charging_capacity' is assigned a value but never used no-unused-vars Line 110:39: 'setavailable_charging_capacity' is assigned a value but never used no-unused-vars Line 150:10: 'showcancelbooking' is assigned a value but never used no-unused-vars Line 150:29: 'setshowcancelbooking' is assigned a value but never used no-unused-vars Line 170:6: React Hook useEffect has a missing dependency: 'findingsData'. Either include it or remove the dependency array react-hooks/exhaustive-deps Line 217:32: Expected '===' and instead saw '==' eqeqeq Line 301:25: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 316:28: Expected '===' and instead saw '==' eqeqeq Line 326:28: Expected '===' and instead saw '==' eqeqeq Line 337:28: Expected '===' and instead saw '==' eqeqeq Line 353:28: Expected '===' and instead saw '==' eqeqeq Line 358:26: Expected '===' and instead saw '==' eqeqeq Line 361:46: Unexpected string concatenation of literals no-useless-concat Line 370:32: Expected '===' and instead saw '==' eqeqeq Line 371:19: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 408:54: Expected '===' and instead saw '==' eqeqeq Line 410:57: Expected '===' and instead saw '==' eqeqeq Line 444:26: Expected '!==' and instead saw '!=' eqeqeq Line 513:47: Expected '===' and instead saw '==' eqeqeq Line 526:48: Expected '===' and instead saw '==' eqeqeq Line 533:55: Expected '===' and instead saw '==' eqeqeq src/components/Attendants/AttendentsDetails.jsx Line 1:31: 'useRef' is defined but never used no-unused-vars Line 7:9: 'search_by' is assigned a value but never used no-unused-vars Line 9:9: 'isMounted' is assigned a value but never used no-unused-vars Line 33:6: React Hook useEffect has a missing dependency: 'axiosPrivate'. Either include it or remove the dependency array react-hooks/exhaustive-deps Line 39:5: 'top_commission_driver' is assigned a value but never used no-unused-vars src/components/Attendants/AttendentsInfo.jsx Line 7:8: 'responseHandler' is defined but never used no-unused-vars Line 8:10: 'messages' is defined but never used no-unused-vars Line 21:9: 'axiosPrivate' is assigned a value but never used no-unused-vars Line 23:9: 'search_keyword' is assigned a value but never used no-unused-vars Line 24:10: 'currentPage' is assigned a value but never used no-unused-vars Line 24:23: 'setCurrentPage' is assigned a value but never used no-unused-vars Line 25:10: 'usersPerPage' is assigned a value but never used no-unused-vars Line 25:24: 'setUsersPerPage' is assigned a value but never used no-unused-vars Line 27:10: 'openAddPuppyForm' is assigned a value but never used no-unused-vars Line 27:28: 'setOpenAddPuppyForm' is assigned a value but never used no-unused-vars Line 29:10: 'error' is assigned a value but never used no-unused-vars Line 29:17: 'setError' is assigned a value but never used no-unused-vars Line 42:7: 'isMounted' is assigned a value but never used no-unused-vars Line 43:9: 'controller' is assigned a value but never used no-unused-vars Line 44:7: 'response' is assigned a value but never used no-unused-vars Line 48:19: Expected '!==' and instead saw '!=' eqeqeq Line 53:19: Expected '===' and instead saw '==' eqeqeq Line 56:28: Expected '!==' and instead saw '!=' eqeqeq Line 56:58: Expected '!==' and instead saw '!=' eqeqeq Line 59:28: Expected '!==' and instead saw '!=' eqeqeq Line 59:58: Expected '===' and instead saw '==' eqeqeq Line 70:34: Expected '!==' and instead saw '!=' eqeqeq Line 81:31: Expected '===' and instead saw '==' eqeqeq Line 88:18: Expected '===' and instead saw '==' eqeqeq Line 99:6: React Hook useEffect has missing dependencies: 'setAttendentInfo' and 'total_records'. Either include them or remove the dependency array. If 'setAttendentInfo' changes too often, find the parent component that defines it and wrap that definition in useCallback react-hooks/exhaustive-deps Line 148:21: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 160:21: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 172:21: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 184:21: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 209:39: Expected '!==' and instead saw '!=' eqeqeq Line 210:21: Expected '!==' and instead saw '!=' eqeqeq src/components/Attendants/AttendentsListing.jsx Line 3:20: 'useEffect' is defined but never used no-unused-vars Line 4:8: 'Image' is defined but never used no-unused-vars Line 7:8: 'VehicleInActive' is defined but never used no-unused-vars Line 9:8: 'Logo' is defined but never used no-unused-vars Line 68:26: Expected '===' and instead saw '==' eqeqeq Line 81:45: Array.prototype.findIndex() expects a value to be returned at the end of function array-callback-return Line 95:24: Expected '===' and instead saw '==' eqeqeq Line 125:38: Expected '===' and instead saw '==' eqeqeq Line 182:31: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 306:31: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid src/components/Attendants/CreateAttendant/CreateNewAttendant.jsx Line 19:10: 'phone' is assigned a value but never used no-unused-vars Line 19:17: 'setPhone' is assigned a value but never used no-unused-vars Line 20:10: 'totalRecords' is assigned a value but never used no-unused-vars Line 20:24: 'setTotalRecords' is assigned a value but never used no-unused-vars Line 26:10: 'image' is assigned a value but never used no-unused-vars Line 26:17: 'setImage' is assigned a value but never used no-unused-vars Line 27:10: 'thumbnail' is assigned a value but never used no-unused-vars Line 27:21: 'setThumbnail' is assigned a value but never used no-unused-vars Line 28:10: 'verified' is assigned a value but never used no-unused-vars Line 28:20: 'setVerified' is assigned a value but never used no-unused-vars Line 29:10: 'attendantDetails' is assigned a value but never used no-unused-vars Line 29:28: 'setAttendantDetails' is assigned a value but never used no-unused-vars Line 34:10: 'otp' is assigned a value but never used no-unused-vars Line 34:15: 'setOtp' is assigned a value but never used no-unused-vars Line 57:38: Expected '===' and instead saw '==' eqeqeq Line 62:5: React Hook useEffect has a missing dependency: 'axiosPrivate'. Either include it or remove the dependency array react-hooks/exhaustive-deps Line 92:25: Expected '===' and instead saw '==' eqeqeq Line 126:9: 'userListSearchUrl' is assigned a value but never used no-unused-vars Line 282:44: Expected '===' and instead saw '==' eqeqeq Line 371:38: Expected '!==' and instead saw '!=' eqeqeq src/components/Auth/PersistLogin.jsx Line 32:6: React Hook useEffect has missing dependencies: 'auth?.accessToken' and 'refresh'. Either include them or remove the dependency array react-hooks/exhaustive-deps src/components/Auth/Signin.jsx Line 1:20: 'useRef' is defined but never used no-unused-vars Line 3:10: 'useLocation' is defined but never used no-unused-vars Line 9:11: 'auth' is assigned a value but never used no-unused-vars Line 28:44: Expected '!==' and instead saw '!=' eqeqeq src/components/Auth/UserVerifyOtp.jsx Line 1:20: 'useEffect' is defined but never used no-unused-vars Line 13:9: 'userRef' is assigned a value but never used no-unused-vars Line 30:40: Expected '!==' and instead saw '!=' eqeqeq src/components/BookingSlots/AddJobNote.jsx Line 64:27: Expected '===' and instead saw '==' eqeqeq Line 64:46: Expected '===' and instead saw '==' eqeqeq Line 64:69: Expected '===' and instead saw '==' eqeqeq Line 71:28: Expected '!==' and instead saw '!=' eqeqeq Line 82:36: Expected '===' and instead saw '==' eqeqeq Line 98:25: Expected '!==' and instead saw '!=' eqeqeq Line 105:29: Expected '!==' and instead saw '!=' eqeqeq Line 112:29: Expected '!==' and instead saw '!=' eqeqeq Line 112:48: Expected '!==' and instead saw '!=' eqeqeq Line 115:57: Expected '===' and instead saw '==' eqeqeq Line 162:86: Array.prototype.map() expects a return value from arrow function array-callback-return Line 170:238: Unexpected string concatenation of literals no-useless-concat Line 187:27: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 209:27: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 244:13: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid src/components/BookingSlots/BookingCalendar.jsx Line 3:8: 'Calendar' is defined but never used no-unused-vars Line 8:10: 'FormatDate' is defined but never used no-unused-vars Line 10:8: 'SlotDateSummary' is defined but never used no-unused-vars Line 60:49: Expected '===' and instead saw '==' eqeqeq Line 66:40: Expected '===' and instead saw '==' eqeqeq Line 80:6: React Hook useEffect has a missing dependency: 'axiosPrivate'. Either include it or remove the dependency array react-hooks/exhaustive-deps src/components/BookingSlots/BookingSlots.jsx Line 6:8: 'loader' is defined but never used no-unused-vars Line 35:43: Expected '===' and instead saw '==' eqeqeq Line 43:48: Expected '===' and instead saw '==' eqeqeq Line 64:33: Expected '!==' and instead saw '!=' eqeqeq Line 72:46: Expected '===' and instead saw '==' eqeqeq Line 145:44: Expected '===' and instead saw '==' eqeqeq Line 147:48: Expected '===' and instead saw '==' eqeqeq Line 164:45: Expected '===' and instead saw '==' eqeqeq src/components/BookingSlots/DisplayCalendar.jsx Line 8:52: Array.prototype.map() expects a return value from arrow function array-callback-return Line 9:38: Expected '===' and instead saw '==' eqeqeq src/components/BookingSlots/ManageJob.jsx Line 53:72: Expected '!==' and instead saw '!=' eqeqeq Line 76:8: React Hook useEffect has missing dependencies: 'axiosPrivate', 'list', and 'selectedSlotData.attendant_id'. Either include them or remove the dependency array. You can also do a functional update 'setList(l => ...)' if you only need 'list' in the 'setList' call react-hooks/exhaustive-deps Line 132:25: Expected '===' and instead saw '==' eqeqeq Line 149:25: Expected '===' and instead saw '==' eqeqeq Line 149:51: Expected '===' and instead saw '==' eqeqeq Line 172:31: Expected '===' and instead saw '==' eqeqeq Line 172:43: Unexpected mix of '||' and '&&'. Use parentheses to clarify the intended order of operations no-mixed-operators Line 174:53: Unexpected mix of '||' and '&&'. Use parentheses to clarify the intended order of operations no-mixed-operators Line 178:30: Expected '===' and instead saw '==' eqeqeq Line 189:6: React Hook useEffect has a missing dependency: 'taskList'. Either include it or remove the dependency array react-hooks/exhaustive-deps Line 219:83: Expected '===' and instead saw '==' eqeqeq Line 221:28: Expected '===' and instead saw '==' eqeqeq Line 224:61: Expected '===' and instead saw '==' eqeqeq Line 295:21: Expected '===' and instead saw '==' eqeqeq Line 295:43: Expected '===' and instead saw '==' eqeqeq Line 301:68: Expected '!==' and instead saw '!=' eqeqeq Line 304:76: Array.prototype.map() expects a return value from arrow function array-callback-return Line 324:53: Array.prototype.map() expects a return value from arrow function array-callback-return Line 351:26: Expected '===' and instead saw '==' eqeqeq Line 358:40: Expected '===' and instead saw '==' eqeqeq Line 397:90: Expected '===' and instead saw '==' eqeqeq Line 408:84: Expected '===' and instead saw '==' eqeqeq Line 409:69: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 410:82: Expected '===' and instead saw '==' eqeqeq Line 433:54: Expected '===' and instead saw '==' eqeqeq Line 437:104: Expected '===' and instead saw '==' eqeqeq Line 447:85: Expected '!==' and instead saw '!=' eqeqeq Line 448:94: Expected '===' and instead saw '==' eqeqeq Line 449:69: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 451:92: Expected '===' and instead saw '==' eqeqeq Line 468:38: Expected '===' and instead saw '==' eqeqeq Line 481:114: Expected '===' and instead saw '==' eqeqeq Line 482:114: Expected '===' and instead saw '==' eqeqeq Line 492:87: Expected '===' and instead saw '==' eqeqeq Line 493:79: Expected '===' and instead saw '==' eqeqeq Line 501:78: Expected '===' and instead saw '==' eqeqeq Line 505:69: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 507:80: Expected '===' and instead saw '==' eqeqeq Line 521:74: Expected '===' and instead saw '==' eqeqeq Line 522:74: Expected '===' and instead saw '==' eqeqeq Line 541:51: Expected '!==' and instead saw '!=' eqeqeq Line 554:25: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 558:47: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid src/components/BookingSlots/ManageSlots.jsx Line 6:10: 'useEffect' is defined but never used no-unused-vars Line 7:8: 'useOutsideClick' is defined but never used no-unused-vars Line 8:10: 'Link' is defined but never used no-unused-vars Line 8:16: 'resolvePath' is defined but never used no-unused-vars Line 11:8: 'NoPriviliges' is defined but never used no-unused-vars Line 52:10: 'attendantId' is assigned a value but never used no-unused-vars Line 53:10: 'puppyVehicleId' is assigned a value but never used no-unused-vars Line 67:7: 'slot_data' is assigned a value but never used no-unused-vars Line 73:40: Expected '===' and instead saw '==' eqeqeq Line 80:38: Expected '===' and instead saw '==' eqeqeq Line 137:11: 'prev_fields' is assigned a value but never used no-unused-vars Line 150:11: 'prev_fields1' is assigned a value but never used no-unused-vars Line 179:36: Expected '===' and instead saw '==' eqeqeq Line 185:38: Expected '===' and instead saw '==' eqeqeq Line 193:22: Expected '===' and instead saw '==' eqeqeq Line 193:56: Expected '===' and instead saw '==' eqeqeq Line 198:52: Expected '===' and instead saw '==' eqeqeq Line 218:32: Expected '===' and instead saw '==' eqeqeq Line 275:49: Expected '===' and instead saw '==' eqeqeq Line 322:38: Expected '!==' and instead saw '!=' eqeqeq Line 367:64: Expected '===' and instead saw '==' eqeqeq Line 465:49: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 538:49: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 554:57: Expected '!==' and instead saw '!=' eqeqeq Line 571:29: Expected '===' and instead saw '==' eqeqeq Line 574:23: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 579:50: Expected '===' and instead saw '==' eqeqeq Line 642:51: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 715:51: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 730:59: Expected '!==' and instead saw '!=' eqeqeq Line 751:31: Expected '===' and instead saw '==' eqeqeq Line 754:25: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 764:19: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 785:48: Expected '===' and instead saw '==' eqeqeq Line 790:21: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid src/components/BookingSlots/SlotDateSummary.jsx Line 16:9: 'axiosPrivate' is assigned a value but never used no-unused-vars Line 18:10: 'slotSummary' is assigned a value but never used no-unused-vars Line 27:47: Array.prototype.map() expects a return value from arrow function array-callback-return Line 43:30: Expected '===' and instead saw '==' eqeqeq Line 48:13: Expected '===' and instead saw '==' eqeqeq Line 71:26: Expected '===' and instead saw '==' eqeqeq Line 89:31: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 162:76: Array.prototype.map() expects a return value from arrow function array-callback-return Line 182:67: Expected '===' and instead saw '==' eqeqeq Line 184:71: Expected '===' and instead saw '==' eqeqeq Line 240:54: Expected '===' and instead saw '==' eqeqeq src/components/BookingSlots/SlotDaySummaryTime.jsx Line 2:8: 'moment' is defined but never used no-unused-vars Line 3:10: 'useEffect' is defined but never used no-unused-vars Line 3:21: 'useState' is defined but never used no-unused-vars Line 10:9: 'axiosPrivate' is assigned a value but never used no-unused-vars Line 12:19: Expected '===' and instead saw '==' eqeqeq Line 63:61: Unexpected string concatenation of literals no-useless-concat Line 67:53: Array.prototype.map() expects a return value from arrow function array-callback-return Line 85:44: Expected '===' and instead saw '==' eqeqeq Line 87:48: Expected '===' and instead saw '==' eqeqeq src/components/BookingSlots/SlotTile.jsx Line 2:10: 'useState' is defined but never used no-unused-vars Line 27:68: Expected '===' and instead saw '==' eqeqeq src/components/BookingSlots/SlotTileBooked.jsx Line 2:10: 'useState' is defined but never used no-unused-vars Line 25:55: Array.prototype.map() expects a return value from arrow function array-callback-return Line 35:35: Expected '!==' and instead saw '!=' eqeqeq Line 39:17: The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 42:54: Expected '!==' and instead saw '!=' eqeqeq Line 47:57: Expected '!==' and instead saw '!=' eqeqeq src/components/BookingSlots/SlotWiseData.jsx Line 7:8: 'SlotDaySummaryTime' is defined but never used no-unused-vars Line 10:9: 'FormatDate' is defined but never used no-unused-vars Line 72:68: Expected '===' and instead saw '==' eqeqeq Line 87:10: 'toggle' is assigned a value but never used no-unused-vars Line 88:10: 'slotSummary' is assigned a value but never used no-unused-vars Line 91:28: 'setPageRecordsCount' is assigned a value but never used no-unused-vars Line 103:47: Array.prototype.map() expects a return value from arrow function array-callback-return Line 110:54: Array.prototype.map() expects a return value from arrow function array-callback-return Line 129:9: 'handlePage' is assigned a value but never used no-unused-vars Line 156:76: Expected '!==' and instead saw '!=' eqeqeq Line 166:53: Expected '===' and instead saw '==' eqeqeq Line 171:49: Expected '===' and instead saw '==' eqeqeq Line 200:29: Expected '!==' and instead saw '!=' eqeqeq Line 212:31: Array.prototype.map() expects a return value from arrow function array-callback-return Line 220:9: 'handleToggle' is assigned a value but never used no-unused-vars Line 222:30: Expected '===' and instead saw '==' eqeqeq Line 279:75: Expected '!==' and instead saw '!=' eqeqeq src/components/BookingSlots/UploadSlots.jsx Line 18:38: Expected '===' and instead saw '==' eqeqeq Line 49:25: Expected '!==' and instead saw '!=' eqeqeq Line 51:44: Expected '===' and instead saw '==' eqeqeq Line 138:33: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid src/components/Bookings/Booking.jsx Line 1:17: 'useEffect' is defined but never used no-unused-vars Line 10:8: 'DataNotFound' is defined but never used no-unused-vars Line 16:11: 'inputElement' is assigned a value but never used no-unused-vars Line 17:19: 'setError' is assigned a value but never used no-unused-vars src/components/Bookings/BookingDetails.jsx Line 6:10: 'JobStatus' is defined but never used no-unused-vars Line 19:8: 'Notification' is defined but never used no-unused-vars Line 48:10: 'notifyData' is assigned a value but never used no-unused-vars Line 48:22: 'setNotifyData' is assigned a value but never used no-unused-vars Line 57:9: 'pup_id' is assigned a value but never used no-unused-vars Line 88:9: 'driveraddOns' is assigned a value but never used no-unused-vars Line 91:9: 'service_status_description' is assigned a value but never used no-unused-vars Line 114:9: 'sub_note' is assigned a value but never used no-unused-vars Line 115:10: 'registration_no' is assigned a value but never used no-unused-vars Line 115:27: 'setregistration_no' is assigned a value but never used no-unused-vars Line 116:10: 'available_charging_capacity' is assigned a value but never used no-unused-vars Line 116:39: 'setavailable_charging_capacity' is assigned a value but never used no-unused-vars Line 161:10: 'showcancelbooking' is assigned a value but never used no-unused-vars Line 161:29: 'setshowcancelbooking' is assigned a value but never used no-unused-vars Line 249:32: Expected '===' and instead saw '==' eqeqeq Line 260:32: Expected '===' and instead saw '==' eqeqeq Line 286:32: Expected '===' and instead saw '==' eqeqeq Line 298:32: Expected '===' and instead saw '==' eqeqeq Line 306:6: React Hook useEffect has a missing dependency: 'findingsData'. Either include it or remove the dependency array react-hooks/exhaustive-deps Line 454:38: Expected '===' and instead saw '==' eqeqeq Line 507:28: Expected '===' and instead saw '==' eqeqeq Line 517:28: Expected '===' and instead saw '==' eqeqeq Line 528:28: Expected '===' and instead saw '==' eqeqeq Line 544:28: Expected '===' and instead saw '==' eqeqeq Line 549:26: Expected '===' and instead saw '==' eqeqeq Line 549:51: Expected '===' and instead saw '==' eqeqeq Line 552:46: Unexpected string concatenation of literals no-useless-concat Line 561:32: Expected '===' and instead saw '==' eqeqeq Line 599:54: Expected '===' and instead saw '==' eqeqeq Line 601:57: Expected '===' and instead saw '==' eqeqeq Line 782:47: Expected '===' and instead saw '==' eqeqeq Line 795:48: Expected '===' and instead saw '==' eqeqeq Line 802:55: Expected '===' and instead saw '==' eqeqeq src/components/Bookings/BookingHeaders.jsx Line 21:40: Expected '===' and instead saw '==' eqeqeq Line 42:8: React Hook useEffect has a missing dependency: 'getBookingCount'. Either include it or remove the dependency array react-hooks/exhaustive-deps src/components/Bookings/BookingsInfo.jsx Line 7:8: 'Pagination' is defined but never used no-unused-vars Line 13:11: 'axiosPrivate' is assigned a value but never used no-unused-vars Line 70:29: Expected '===' and instead saw '==' eqeqeq Line 79:24: Expected '===' and instead saw '==' eqeqeq Line 95:8: React Hook useEffect has missing dependencies: 'request_body', 'request_method', and 'total_records'. Either include them or remove the dependency array react-hooks/exhaustive-deps Line 110:43: Expected '!==' and instead saw '!=' eqeqeq Line 111:25: Expected '!==' and instead saw '!=' eqeqeq src/components/Bookings/BookingsListing.jsx Line 6:8: 'Pagination' is defined but never used no-unused-vars Line 7:8: 'Image' is defined but never used no-unused-vars Line 13:8: 'loader' is defined but never used no-unused-vars Line 83:21: Expected '===' and instead saw '==' eqeqeq Line 86:28: Expected '===' and instead saw '==' eqeqeq Line 89:28: Expected '===' and instead saw '==' eqeqeq Line 136:36: Expected '===' and instead saw '==' eqeqeq Line 144:35: Expected '===' and instead saw '==' eqeqeq Line 152:38: Expected '===' and instead saw '==' eqeqeq Line 160:41: Expected '===' and instead saw '==' eqeqeq Line 171:79: Expected '===' and instead saw '==' eqeqeq Line 173:58: Expected '!==' and instead saw '!=' eqeqeq Line 203:31: 'sub_note' is assigned a value but never used no-unused-vars Line 205:31: 'puppy_status' is assigned a value but never used no-unused-vars Line 241:44: Expected '===' and instead saw '==' eqeqeq Line 246:48: Expected '===' and instead saw '==' eqeqeq Line 278:48: Expected '===' and instead saw '==' eqeqeq Line 278:73: Expected '===' and instead saw '==' eqeqeq Line 278:98: Expected '===' and instead saw '==' eqeqeq Line 278:123: Expected '===' and instead saw '==' eqeqeq Line 301:52: Expected '===' and instead saw '==' eqeqeq Line 301:77: Expected '===' and instead saw '==' eqeqeq Line 301:102: Expected '===' and instead saw '==' eqeqeq Line 324:53: Expected '===' and instead saw '==' eqeqeq Line 339:44: Expected '===' and instead saw '==' eqeqeq Line 344:48: Expected '===' and instead saw '==' eqeqeq Line 379:48: Expected '===' and instead saw '==' eqeqeq Line 379:73: Expected '===' and instead saw '==' eqeqeq Line 379:98: Expected '===' and instead saw '==' eqeqeq Line 379:123: Expected '===' and instead saw '==' eqeqeq Line 402:52: Expected '===' and instead saw '==' eqeqeq Line 402:77: Expected '===' and instead saw '==' eqeqeq Line 402:102: Expected '===' and instead saw '==' eqeqeq Line 419:53: Expected '===' and instead saw '==' eqeqeq src/components/Bookings/ChangeAttendant.jsx Line 48:18: Expected '!==' and instead saw '!=' eqeqeq Line 48:40: Expected '===' and instead saw '==' eqeqeq Line 51:52: Expected '===' and instead saw '==' eqeqeq Line 75:21: Expected '===' and instead saw '==' eqeqeq Line 75:39: Expected '===' and instead saw '==' eqeqeq Line 143:31: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 158:17: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid src/components/Bookings/ChangePuppy.jsx Line 1:17: 'useReducer' is defined but never used no-unused-vars Line 45:17: Expected '!==' and instead saw '!=' eqeqeq Line 45:39: Expected '===' and instead saw '==' eqeqeq Line 49:52: Expected '===' and instead saw '==' eqeqeq Line 74:21: Expected '===' and instead saw '==' eqeqeq Line 74:39: Expected '===' and instead saw '==' eqeqeq Line 135:31: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 148:17: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid src/components/Bookings/JobDonePopUp.jsx Line 54:33: Expected '===' and instead saw '==' eqeqeq Line 72:31: Expected '===' and instead saw '==' eqeqeq Line 91:35: Expected '===' and instead saw '==' eqeqeq Line 127:30: Expected '===' and instead saw '==' eqeqeq Line 148:30: Expected '===' and instead saw '==' eqeqeq Line 180:24: Expected '===' and instead saw '==' eqeqeq Line 183:40: Expected '===' and instead saw '==' eqeqeq Line 208:73: Array.prototype.map() expects a return value from arrow function array-callback-return Line 211:59: Array.prototype.map() expects a return value from arrow function array-callback-return Line 222:8: React Hook useEffect has missing dependencies: 'addonList' and 'allserviceids'. Either include them or remove the dependency array react-hooks/exhaustive-deps Line 301:59: Expected '===' and instead saw '==' eqeqeq Line 321:33: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid src/components/Bookings/MakeNewBooking.jsx Line 5:8: 'Map' is defined but never used no-unused-vars Line 18:8: 'axios' is defined but never used no-unused-vars Line 58:30: Expected '===' and instead saw '==' eqeqeq Line 68:6: React Hook useEffect has a missing dependency: 'handelDropdown'. Either include it or remove the dependency array react-hooks/exhaustive-deps Line 91:10: 'vehicleTotalRecords' is assigned a value but never used no-unused-vars Line 126:6: React Hook useEffect has missing dependencies: 'lat' and 'lng'. Either include them or remove the dependency array. You can also replace multiple useState variables with useReducer if 'setUserProfile' needs the current value of 'lat' react-hooks/exhaustive-deps Line 204:22: Expected '===' and instead saw '==' eqeqeq Line 218:36: Expected '===' and instead saw '==' eqeqeq Line 245:9: 'handelVehicle' is assigned a value but never used no-unused-vars Line 248:9: 'handelDates' is assigned a value but never used no-unused-vars Line 251:9: 'handelTime' is assigned a value but never used no-unused-vars Line 307:19: Expected '===' and instead saw '==' eqeqeq Line 307:38: Expected '===' and instead saw '==' eqeqeq Line 333:39: Expected '===' and instead saw '==' eqeqeq Line 339:13: 'servicesArray' is already defined no-redeclare Line 354:36: Array.prototype.map() expects a return value from arrow function array-callback-return Line 357:41: Array.prototype.map() expects a return value from arrow function array-callback-return Line 385:18: Expected '!==' and instead saw '!=' eqeqeq Line 385:37: Expected '!==' and instead saw '!=' eqeqeq Line 386:25: Expected '!==' and instead saw '!=' eqeqeq Line 386:51: Expected '!==' and instead saw '!=' eqeqeq Line 389:19: Expected '!==' and instead saw '!=' eqeqeq Line 389:38: Expected '!==' and instead saw '!=' eqeqeq Line 436:36: Expected '===' and instead saw '==' eqeqeq Line 457:39: Expected '===' and instead saw '==' eqeqeq Line 485:36: Expected '===' and instead saw '==' eqeqeq Line 489:68: Array.prototype.map() expects a return value from arrow function array-callback-return Line 508:6: React Hook useEffect has a missing dependency: 'axiosPrivate'. Either include it or remove the dependency array react-hooks/exhaustive-deps Line 558:49: Array.prototype.map() expects a return value from arrow function array-callback-return Line 559:31: Expected '===' and instead saw '==' eqeqeq Line 585:26: Expected '===' and instead saw '==' eqeqeq Line 594:19: Expected '===' and instead saw '==' eqeqeq Line 653:30: Expected '===' and instead saw '==' eqeqeq Line 654:50: Expected '!==' and instead saw '!=' eqeqeq Line 683:18: Expected '===' and instead saw '==' eqeqeq Line 684:21: Expected '===' and instead saw '==' eqeqeq Line 685:18: Expected '===' and instead saw '==' eqeqeq Line 686:18: Expected '===' and instead saw '==' eqeqeq Line 686:48: Expected '===' and instead saw '==' eqeqeq Line 687:15: Expected '===' and instead saw '==' eqeqeq Line 688:20: Expected '===' and instead saw '==' eqeqeq Line 689:55: Expected '===' and instead saw '==' eqeqeq Line 690:20: Expected '===' and instead saw '==' eqeqeq Line 690:50: Expected '===' and instead saw '==' eqeqeq Line 749:43: Expected '!==' and instead saw '!=' eqeqeq Line 802:45: The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 804:52: Script URL is a form of eval no-script-url Line 882:40: Expected '!==' and instead saw '!=' eqeqeq Line 894:43: Expected '!==' and instead saw '!=' eqeqeq Line 895:39: Expected '!==' and instead saw '!=' eqeqeq Line 898:49: Expected '===' and instead saw '==' eqeqeq Line 910:45: Expected '!==' and instead saw '!=' eqeqeq Line 912:41: Expected '!==' and instead saw '!=' eqeqeq Line 926:51: Expected '===' and instead saw '==' eqeqeq Line 927:39: Expected '===' and instead saw '==' eqeqeq Line 939:53: Expected '===' and instead saw '==' eqeqeq Line 954:53: Expected '===' and instead saw '==' eqeqeq Line 1006:53: The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 1006:61: Script URL is a form of eval no-script-url Line 1025:46: Expected '===' and instead saw '==' eqeqeq Line 1032:43: Expected '===' and instead saw '==' eqeqeq Line 1034:45: Expected '!==' and instead saw '!=' eqeqeq Line 1035:42: Expected '===' and instead saw '==' eqeqeq Line 1036:39: Expected '!==' and instead saw '!=' eqeqeq Line 1098:59: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 1168:57: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 1197:64: Expected '!==' and instead saw '!=' eqeqeq Line 1247:25: The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 1248:32: Script URL is a form of eval no-script-url Line 1253:42: Expected '===' and instead saw '==' eqeqeq Line 1254:45: Expected '===' and instead saw '==' eqeqeq Line 1255:42: Expected '===' and instead saw '==' eqeqeq Line 1256:42: Expected '===' and instead saw '==' eqeqeq Line 1256:72: Expected '===' and instead saw '==' eqeqeq Line 1257:39: Expected '===' and instead saw '==' eqeqeq Line 1258:44: Expected '===' and instead saw '==' eqeqeq Line 1260:49: Expected '===' and instead saw '==' eqeqeq Line 1261:44: Expected '===' and instead saw '==' eqeqeq Line 1261:74: Expected '===' and instead saw '==' eqeqeq src/components/Brand/BrandInfo.jsx Line 31:23: Expected '!==' and instead saw '!=' eqeqeq Line 56:6: React Hook useEffect has missing dependencies: 'axiosPrivate' and 'search_keyword'. Either include them or remove the dependency array. Outer scope values like 'locals.CURRENT_PAGE' aren't valid dependencies because mutating them doesn't re-render the component react-hooks/exhaustive-deps src/components/Brand/BrandListing.jsx Line 3:10: 'Text' is defined but never used no-unused-vars Line 14:22: Expected '!==' and instead saw '!=' eqeqeq src/components/Brand/BrandModelVariantDetails.jsx Line 2:31: 'useRef' is defined but never used no-unused-vars Line 3:36: 'Link' is defined but never used no-unused-vars Line 9:9: 'navigate' is assigned a value but never used no-unused-vars Line 10:9: 'location' is assigned a value but never used no-unused-vars Line 13:10: 'error' is assigned a value but never used no-unused-vars Line 30:23: Expected '!==' and instead saw '!=' eqeqeq Line 59:6: React Hook useEffect has missing dependencies: 'axiosPrivate', 'inputElement', 'params.id', 'search_keyword', and 'usersPerPage'. Either include them or remove the dependency array react-hooks/exhaustive-deps src/components/ChargingCenters/AddDeploymentCentre.jsx Line 4:10: 'useEffect' is defined but never used no-unused-vars Line 16:11: 'navigate' is assigned a value but never used no-unused-vars Line 30:11: 'baySuccessMessage' is assigned a value but never used no-unused-vars Line 31:11: 'batterySuccessMessage' is assigned a value but never used no-unused-vars Line 77:46: Expected '===' and instead saw '==' eqeqeq Line 89:56: Expected '===' and instead saw '==' eqeqeq Line 107:46: Expected '===' and instead saw '==' eqeqeq Line 115:49: Expected '===' and instead saw '==' eqeqeq Line 148:92: Expected '===' and instead saw '==' eqeqeq Line 148:142: Expected '===' and instead saw '==' eqeqeq Line 149:37: Expected '===' and instead saw '==' eqeqeq Line 149:91: Expected '===' and instead saw '==' eqeqeq Line 149:134: Expected '===' and instead saw '==' eqeqeq Line 161:22: 'i' is already defined no-redeclare Line 172:40: Expected '===' and instead saw '==' eqeqeq Line 185:42: Array.prototype.map() expects a return value from arrow function array-callback-return Line 187:88: Array.prototype.map() expects a return value from arrow function array-callback-return Line 189:41: Expected '===' and instead saw '==' eqeqeq Line 200:51: Array.prototype.map() expects a return value from arrow function array-callback-return Line 202:85: Array.prototype.map() expects a return value from arrow function array-callback-return Line 204:45: Expected '===' and instead saw '==' eqeqeq Line 251:62: Expected '===' and instead saw '==' eqeqeq Line 258:50: Expected '===' and instead saw '==' eqeqeq Line 265:63: Expected '===' and instead saw '==' eqeqeq Line 293:91: Expected '===' and instead saw '==' eqeqeq Line 307:37: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 319:63: Expected '===' and instead saw '==' eqeqeq Line 345:91: Expected '===' and instead saw '==' eqeqeq Line 359:29: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 366:33: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid src/components/ChargingCenters/AddNewBattery.jsx Line 6:8: 'Message' is defined but never used no-unused-vars Line 13:12: 'isSubmit' is assigned a value but never used no-unused-vars Line 15:11: 'successMessage' is assigned a value but never used no-unused-vars Line 16:12: 'isBatteryCreated' is assigned a value but never used no-unused-vars Line 16:30: 'setisbatteryCreated' is assigned a value but never used no-unused-vars Line 47:46: Expected '===' and instead saw '==' eqeqeq Line 57:56: Expected '===' and instead saw '==' eqeqeq Line 86:34: Expected '===' and instead saw '==' eqeqeq Line 86:88: Expected '===' and instead saw '==' eqeqeq Line 98:40: Expected '===' and instead saw '==' eqeqeq Line 118:51: Array.prototype.map() expects a return value from arrow function array-callback-return Line 120:85: Array.prototype.map() expects a return value from arrow function array-callback-return Line 122:45: Expected '===' and instead saw '==' eqeqeq Line 170:67: Expected '===' and instead saw '==' eqeqeq Line 203:95: Expected '===' and instead saw '==' eqeqeq Line 222:37: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 228:33: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid src/components/ChargingCenters/AddNewBay.jsx Line 12:11: 'successMessage' is assigned a value but never used no-unused-vars Line 35:46: Expected '===' and instead saw '==' eqeqeq Line 43:49: Expected '===' and instead saw '==' eqeqeq Line 75:34: Expected '===' and instead saw '==' eqeqeq Line 75:84: Expected '===' and instead saw '==' eqeqeq Line 87:40: Expected '===' and instead saw '==' eqeqeq Line 107:42: Array.prototype.map() expects a return value from arrow function array-callback-return Line 109:88: Array.prototype.map() expects a return value from arrow function array-callback-return Line 111:41: Expected '===' and instead saw '==' eqeqeq Line 158:67: Expected '===' and instead saw '==' eqeqeq Line 194:95: Expected '===' and instead saw '==' eqeqeq Line 214:37: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 220:33: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid src/components/ChargingCenters/ChargingBayList.jsx Line 23:12: 'currentPage' is assigned a value but never used no-unused-vars Line 23:25: 'setCurrentPage' is assigned a value but never used no-unused-vars Line 24:12: 'usersPerPage' is assigned a value but never used no-unused-vars Line 24:26: 'setUsersPerPage' is assigned a value but never used no-unused-vars Line 49:20: Expected '===' and instead saw '==' eqeqeq Line 70:40: Expected '===' and instead saw '==' eqeqeq Line 84:40: Expected '===' and instead saw '==' eqeqeq Line 124:29: Expected '===' and instead saw '==' eqeqeq Line 133:24: Expected '===' and instead saw '==' eqeqeq Line 145:8: React Hook useEffect has a missing dependency: 'total_records'. Either include it or remove the dependency array react-hooks/exhaustive-deps Line 154:30: Expected '===' and instead saw '==' eqeqeq Line 154:113: Expected '!==' and instead saw '!=' eqeqeq Line 173:75: Expected '===' and instead saw '==' eqeqeq Line 173:125: Expected '===' and instead saw '==' eqeqeq Line 181:69: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 181:291: Expected '===' and instead saw '==' eqeqeq Line 198:75: Expected '===' and instead saw '==' eqeqeq Line 198:125: Expected '===' and instead saw '==' eqeqeq Line 206:69: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 206:291: Expected '===' and instead saw '==' eqeqeq Line 227:42: Expected '!==' and instead saw '!=' eqeqeq Line 228:29: Expected '!==' and instead saw '!=' eqeqeq src/components/ChargingCenters/DeploymentCenter.jsx Line 12:8: 'Spinner' is defined but never used no-unused-vars Line 23:28: 'setEventInitiated' is assigned a value but never used no-unused-vars Line 64:29: Expected '===' and instead saw '==' eqeqeq Line 73:24: Expected '===' and instead saw '==' eqeqeq Line 85:8: React Hook useEffect has a missing dependency: 'total_records'. Either include it or remove the dependency array react-hooks/exhaustive-deps Line 99:42: Expected '!==' and instead saw '!=' eqeqeq Line 101:29: Expected '!==' and instead saw '!=' eqeqeq src/components/ChargingCenters/DeploymentCenterDetails.jsx Line 64:19: Unexpected mix of '&&' and '||'. Use parentheses to clarify the intended order of operations no-mixed-operators Line 64:36: Expected '===' and instead saw '==' eqeqeq Line 64:43: Unexpected mix of '&&' and '||'. Use parentheses to clarify the intended order of operations no-mixed-operators Line 64:67: Expected '===' and instead saw '==' eqeqeq Line 67:40: Expected '===' and instead saw '==' eqeqeq Line 91:40: Expected '===' and instead saw '==' eqeqeq Line 118:36: Expected '===' and instead saw '==' eqeqeq Line 135:29: Expected '===' and instead saw '==' eqeqeq Line 141:8: React Hook useEffect has missing dependencies: 'getDetails' and 'state'. Either include them or remove the dependency array react-hooks/exhaustive-deps Line 166:63: Expected '===' and instead saw '==' eqeqeq Line 166:95: Expected '===' and instead saw '==' eqeqeq Line 166:140: Expected '===' and instead saw '==' eqeqeq Line 166:172: Expected '===' and instead saw '==' eqeqeq Line 178:49: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 178:150: Expected '===' and instead saw '==' eqeqeq Line 178:220: Expected '===' and instead saw '==' eqeqeq Line 190:33: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 193:33: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid src/components/ChargingCenters/DeploymentCenterListing.jsx Line 4:8: 'Pagination' is defined but never used no-unused-vars Line 46:19: Expected '===' and instead saw '==' eqeqeq Line 46:77: Expected '!==' and instead saw '!=' eqeqeq Line 60:50: Expected '===' and instead saw '==' eqeqeq Line 77:80: Expected '===' and instead saw '==' eqeqeq Line 77:135: Expected '===' and instead saw '==' eqeqeq Line 86:65: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 89:65: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 120:80: Expected '===' and instead saw '==' eqeqeq Line 120:135: Expected '===' and instead saw '==' eqeqeq Line 129:65: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 132:65: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid src/components/ChargingCenters/DeploymentCenterSummary.jsx Line 12:36: Expected '===' and instead saw '==' eqeqeq Line 19:8: React Hook useEffect has a missing dependency: 'getDeploymentCenterSummary'. Either include it or remove the dependency array react-hooks/exhaustive-deps src/components/ChargingCenters/MarkInactivePopUp.jsx Line 8:10: 'message' is defined but never used no-unused-vars Line 13:21: 'setSuccess' is assigned a value but never used no-unused-vars Line 32:22: Expected '===' and instead saw '==' eqeqeq Line 39:40: Expected '===' and instead saw '==' eqeqeq Line 40:34: Expected '===' and instead saw '==' eqeqeq Line 41:38: Expected '===' and instead saw '==' eqeqeq Line 51:34: Expected '===' and instead saw '==' eqeqeq Line 57:34: Expected '===' and instead saw '==' eqeqeq Line 126:33: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid src/components/ChargingCenters/SwappableBatteriesList.jsx Line 44:20: Expected '===' and instead saw '==' eqeqeq Line 47:40: Expected '===' and instead saw '==' eqeqeq Line 74:40: Expected '===' and instead saw '==' eqeqeq Line 114:29: Expected '===' and instead saw '==' eqeqeq Line 123:24: Expected '===' and instead saw '==' eqeqeq Line 135:8: React Hook useEffect has a missing dependency: 'total_records'. Either include it or remove the dependency array react-hooks/exhaustive-deps Line 144:24: Expected '===' and instead saw '==' eqeqeq Line 144:95: Expected '!==' and instead saw '!=' eqeqeq Line 165:71: Expected '===' and instead saw '==' eqeqeq Line 165:117: Expected '===' and instead saw '==' eqeqeq Line 173:69: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 173:273: Expected '===' and instead saw '==' eqeqeq Line 190:71: Expected '===' and instead saw '==' eqeqeq Line 190:117: Expected '===' and instead saw '==' eqeqeq Line 198:69: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 198:273: Expected '===' and instead saw '==' eqeqeq Line 217:42: Expected '!==' and instead saw '!=' eqeqeq Line 218:29: Expected '!==' and instead saw '!=' eqeqeq src/components/Customer/AssignCredits.jsx Line 38:19: Expected '!==' and instead saw '!=' eqeqeq Line 39:16: Expected '!==' and instead saw '!=' eqeqeq Line 40:24: Expected '!==' and instead saw '!=' eqeqeq Line 41:15: Expected '!==' and instead saw '!=' eqeqeq Line 45:34: Expected '===' and instead saw '==' eqeqeq Line 101:42: Expected '===' and instead saw '==' eqeqeq Line 130:39: Expected '===' and instead saw '==' eqeqeq Line 147:38: Expected '===' and instead saw '==' eqeqeq src/components/Customer/BatteryStatus.jsx Line 32:26: Expected '===' and instead saw '==' eqeqeq Line 56:33: Expected '!==' and instead saw '!=' eqeqeq Line 59:39: Expected '!==' and instead saw '!=' eqeqeq Line 60:46: Expected '===' and instead saw '==' eqeqeq Line 77:36: Expected '===' and instead saw '==' eqeqeq Line 77:68: Expected '===' and instead saw '==' eqeqeq Line 79:51: Expected '!==' and instead saw '!=' eqeqeq Line 85:30: Expected '===' and instead saw '==' eqeqeq Line 85:56: Expected '===' and instead saw '==' eqeqeq Line 85:82: Expected '===' and instead saw '==' eqeqeq Line 87:31: Expected '===' and instead saw '==' eqeqeq Line 100:27: Expected '!==' and instead saw '!=' eqeqeq Line 117:34: Expected '===' and instead saw '==' eqeqeq src/components/Customer/Bookings.js Line 2:10: 'useLocation' is defined but never used no-unused-vars Line 2:34: 'Link' is defined but never used no-unused-vars Line 13:9: 'axiosPrivate' is assigned a value but never used no-unused-vars Line 15:10: 'currentPage' is assigned a value but never used no-unused-vars Line 16:10: 'usersPerPage' is assigned a value but never used no-unused-vars Line 16:24: 'setUsersPerPage' is assigned a value but never used no-unused-vars Line 53:17: Expected '===' and instead saw '==' eqeqeq Line 70:23: Expected '===' and instead saw '==' eqeqeq Line 79:18: Expected '===' and instead saw '==' eqeqeq Line 94:6: React Hook useEffect has missing dependencies: 'request_body' and 'total_records'. Either include them or remove the dependency array react-hooks/exhaustive-deps Line 177:37: Expected '!==' and instead saw '!=' eqeqeq Line 178:19: Expected '!==' and instead saw '!=' eqeqeq src/components/Customer/Corporate/CorporateEmployees.jsx Line 5:8: 'Spinner' is defined but never used no-unused-vars Line 6:8: 'Pagination' is defined but never used no-unused-vars Line 13:43: Unexpected empty object pattern no-empty-pattern Line 14:9: 'axiosPrivate' is assigned a value but never used no-unused-vars Line 26:10: 'currentPage' is assigned a value but never used no-unused-vars Line 27:10: 'usersPerPage' is assigned a value but never used no-unused-vars Line 27:24: 'setUsersPerPage' is assigned a value but never used no-unused-vars Line 29:10: 'eventInitiated' is assigned a value but never used no-unused-vars Line 29:26: 'setEventInitiated' is assigned a value but never used no-unused-vars Line 50:31: Expected '===' and instead saw '==' eqeqeq Line 57:18: Expected '===' and instead saw '==' eqeqeq Line 67:6: React Hook useEffect has a missing dependency: 'total_records'. Either include it or remove the dependency array react-hooks/exhaustive-deps Line 93:9: 'paginate' is assigned a value but never used no-unused-vars Line 123:37: Expected '!==' and instead saw '!=' eqeqeq Line 124:19: Expected '!==' and instead saw '!=' eqeqeq src/components/Customer/Corporate/CorporateEmpoloyeesListing.jsx Line 4:10: 'Link' is defined but never used no-unused-vars Line 19:11: 'auth' is assigned a value but never used no-unused-vars Line 20:10: 'editpopup' is assigned a value but never used no-unused-vars Line 20:21: 'seteditpopup' is assigned a value but never used no-unused-vars Line 21:10: 'deletepopUp' is assigned a value but never used no-unused-vars Line 21:23: 'setdeletepopup' is assigned a value but never used no-unused-vars Line 22:10: 'addpopup' is assigned a value but never used no-unused-vars Line 22:20: 'setaddpopup' is assigned a value but never used no-unused-vars Line 23:10: 'userDetails' is assigned a value but never used no-unused-vars Line 23:23: 'setuserDetails' is assigned a value but never used no-unused-vars Line 31:10: 'notifyData' is assigned a value but never used no-unused-vars Line 31:22: 'setNotifyData' is assigned a value but never used no-unused-vars Line 50:16: Expected '===' and instead saw '==' eqeqeq Line 52:39: Expected '!==' and instead saw '!=' eqeqeq Line 73:42: Expected '===' and instead saw '==' eqeqeq Line 88:49: Expected '===' and instead saw '==' eqeqeq Line 106:49: Expected '===' and instead saw '==' eqeqeq src/components/Customer/Corporate/CorporateInfo.js Line 22:10: 'searchText' is assigned a value but never used no-unused-vars Line 22:22: 'setSearchText' is assigned a value but never used no-unused-vars Line 27:25: 'setValue' is assigned a value but never used no-unused-vars Line 67:23: Expected '===' and instead saw '==' eqeqeq Line 74:18: Expected '===' and instead saw '==' eqeqeq Line 87:6: React Hook useEffect has missing dependencies: 'setCorporateDetails' and 'total_records'. Either include them or remove the dependency array. If 'setCorporateDetails' changes too often, find the parent component that defines it and wrap that definition in useCallback react-hooks/exhaustive-deps Line 109:37: Expected '!==' and instead saw '!=' eqeqeq Line 110:19: Expected '!==' and instead saw '!=' eqeqeq src/components/Customer/Corporate/CorporateListing.jsx Line 1:17: 'useEffect' is defined but never used no-unused-vars Line 3:10: 'Text' is defined but never used no-unused-vars Line 4:8: 'Card' is defined but never used no-unused-vars Line 9:8: 'Image' is defined but never used no-unused-vars Line 10:8: 'NotificationNew' is defined but never used no-unused-vars Line 24:10: 'showMessage' is assigned a value but never used no-unused-vars Line 24:23: 'setShowMessage' is assigned a value but never used no-unused-vars Line 29:10: 'index' is assigned a value but never used no-unused-vars Line 33:9: 'style' is assigned a value but never used no-unused-vars Line 75:9: 'subContent' is assigned a value but never used no-unused-vars Line 87:45: Expected '===' and instead saw '==' eqeqeq Line 96:9: 'logo' is assigned a value but never used no-unused-vars Line 107:18: Expected '===' and instead saw '==' eqeqeq Line 135:31: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images jsx-a11y/alt-text Line 273:82: Expected '===' and instead saw '==' eqeqeq Line 379:31: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images jsx-a11y/alt-text Line 516:82: Expected '===' and instead saw '==' eqeqeq src/components/Customer/Corporate/CreateCorporate/CreateNewCorporate.jsx Line 54:9: 'createPartnerFunc' is assigned a value but never used no-unused-vars Line 56:41: Array.prototype.map() expects a return value from arrow function array-callback-return Line 58:55: Array.prototype.map() expects a return value from arrow function array-callback-return Line 66:11: 'response' is assigned a value but never used no-unused-vars Line 78:9: 'goBack' is assigned a value but never used no-unused-vars Line 96:17: The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 101:17: The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 107:17: The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 112:17: The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid src/components/Customer/Corporate/CreateCorporate/VehicleBrandDetails.jsx Line 3:31: 'useRef' is defined but never used no-unused-vars Line 4:36: 'Link' is defined but never used no-unused-vars Line 15:10: 'selected' is assigned a value but never used no-unused-vars Line 15:20: 'setSelected' is assigned a value but never used no-unused-vars Line 22:43: Array.prototype.map() expects a return value from arrow function array-callback-return Line 24:55: Array.prototype.map() expects a return value from arrow function array-callback-return Line 35:24: Expected '===' and instead saw '==' eqeqeq Line 81:9: 'location' is assigned a value but never used no-unused-vars Line 83:10: 'error' is assigned a value but never used no-unused-vars Line 106:6: React Hook useEffect has a missing dependency: 'axiosPrivate'. Either include it or remove the dependency array react-hooks/exhaustive-deps Line 112:11: 'data' is assigned a value but never used no-unused-vars Line 127:14: Expected '===' and instead saw '==' eqeqeq Line 130:14: Expected '===' and instead saw '==' eqeqeq Line 155:11: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 165:23: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 189:15: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid src/components/Customer/Corporate/CustomerCorporateDetails.jsx Line 2:10: 'useEffect' is defined but never used no-unused-vars Line 2:21: 'useState' is defined but never used no-unused-vars Line 3:10: 'useLocation' is defined but never used no-unused-vars Line 5:8: 'Pagination' is defined but never used no-unused-vars src/components/Customer/Corporate/EditCorporate/EditCompanyDetails.jsx Line 4:10: 'useLocation' is defined but never used no-unused-vars Line 6:10: 'Link' is defined but never used no-unused-vars Line 8:8: 'Message' is defined but never used no-unused-vars Line 20:10: 'counter' is assigned a value but never used no-unused-vars Line 20:19: 'setCounter' is assigned a value but never used no-unused-vars Line 21:10: 'phone' is assigned a value but never used no-unused-vars Line 21:17: 'setPhone' is assigned a value but never used no-unused-vars Line 22:10: 'totalRecords' is assigned a value but never used no-unused-vars Line 22:24: 'setTotalRecords' is assigned a value but never used no-unused-vars Line 23:10: 'successMsg' is assigned a value but never used no-unused-vars Line 23:22: 'setSuccessMsg' is assigned a value but never used no-unused-vars Line 24:10: 'otpErrorMsg' is assigned a value but never used no-unused-vars Line 25:10: 'otpSuccessMsg' is assigned a value but never used no-unused-vars Line 25:25: 'setOtpSuccessMsg' is assigned a value but never used no-unused-vars Line 27:10: 'error' is assigned a value but never used no-unused-vars Line 31:10: 'verified' is assigned a value but never used no-unused-vars Line 31:20: 'setVerified' is assigned a value but never used no-unused-vars Line 32:10: 'checkOtp' is assigned a value but never used no-unused-vars Line 32:20: 'setcheckOtp' is assigned a value but never used no-unused-vars Line 33:10: 'otp' is assigned a value but never used no-unused-vars Line 33:15: 'setOtp' is assigned a value but never used no-unused-vars Line 34:10: 'partnerList' is assigned a value but never used no-unused-vars Line 36:10: 'texterrors' is assigned a value but never used no-unused-vars Line 36:22: 'setTextErrors' is assigned a value but never used no-unused-vars Line 67:6: React Hook useEffect has missing dependencies: 'axiosPrivate' and 'params.partner_id'. Either include them or remove the dependency array react-hooks/exhaustive-deps Line 69:9: 'controller' is assigned a value but never used no-unused-vars Line 222:48: Expected '!==' and instead saw '!=' eqeqeq src/components/Customer/Corporate/EditCorporate/EditCorporateCustiomer.jsx Line 4:10: 'Link' is defined but never used no-unused-vars Line 43:9: 'axiosPrivate' is assigned a value but never used no-unused-vars Line 49:9: 'handelPage' is assigned a value but never used no-unused-vars Line 50:14: Expected '===' and instead saw '==' eqeqeq Line 53:14: Expected '===' and instead saw '==' eqeqeq Line 65:9: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 76:17: The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 81:17: The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 87:17: The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 92:17: The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid src/components/Customer/Corporate/EditCorporate/EditVehicleBrand.jsx Line 3:31: 'useRef' is defined but never used no-unused-vars Line 4:36: 'Link' is defined but never used no-unused-vars Line 17:10: 'selected' is assigned a value but never used no-unused-vars Line 17:20: 'setSelected' is assigned a value but never used no-unused-vars Line 24:43: Array.prototype.map() expects a return value from arrow function array-callback-return Line 26:55: Array.prototype.map() expects a return value from arrow function array-callback-return Line 76:9: 'location' is assigned a value but never used no-unused-vars Line 78:10: 'error' is assigned a value but never used no-unused-vars Line 101:6: React Hook useEffect has a missing dependency: 'axiosPrivate'. Either include it or remove the dependency array react-hooks/exhaustive-deps Line 107:11: 'data' is assigned a value but never used no-unused-vars Line 122:14: Expected '===' and instead saw '==' eqeqeq Line 125:14: Expected '===' and instead saw '==' eqeqeq Line 151:11: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 164:23: The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 164:31: Script URL is a form of eval no-script-url Line 188:15: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid src/components/Customer/CreateCustomer/CreateCustomer.jsx Line 36:30: Unnecessary escape character: \. no-useless-escape Line 71:15: 'res' is assigned a value but never used no-unused-vars src/components/Customer/CustomerDetails.jsx Line 2:10: 'useLocation' is defined but never used no-unused-vars Line 4:8: 'UpComingBookings' is defined but never used no-unused-vars Line 5:8: 'PastBookings' is defined but never used no-unused-vars Line 21:17: 'setAuth' is assigned a value but never used no-unused-vars Line 23:10: 'error' is assigned a value but never used no-unused-vars Line 23:17: 'setError' is assigned a value but never used no-unused-vars Line 47:32: Expected '===' and instead saw '==' eqeqeq Line 88:6: React Hook useEffect has missing dependencies: 'axiosPrivate' and 'params.user_id'. Either include them or remove the dependency array react-hooks/exhaustive-deps Line 144:23: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 149:23: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 202:28: Expected '===' and instead saw '==' eqeqeq Line 214:28: Expected '===' and instead saw '==' eqeqeq Line 214:43: Expected '===' and instead saw '==' eqeqeq src/components/Customer/CustomerInfo.jsx Line 19:10: 'searchText' is assigned a value but never used no-unused-vars Line 19:22: 'setSearchText' is assigned a value but never used no-unused-vars Line 24:25: 'setValue' is assigned a value but never used no-unused-vars Line 61:31: Expected '===' and instead saw '==' eqeqeq Line 68:18: Expected '===' and instead saw '==' eqeqeq Line 78:6: React Hook useEffect has missing dependencies: 'setUsers' and 'total_records'. Either include them or remove the dependency array. If 'setUsers' changes too often, find the parent component that defines it and wrap that definition in useCallback react-hooks/exhaustive-deps Line 108:37: Expected '!==' and instead saw '!=' eqeqeq Line 109:19: Expected '!==' and instead saw '!=' eqeqeq src/components/Customer/CustomerListing.jsx Line 3:8: 'Image' is defined but never used no-unused-vars Line 4:10: 'FormatDate' is defined but never used no-unused-vars Line 8:10: 'DataF' is defined but never used no-unused-vars Line 19:14: Expected '===' and instead saw '==' eqeqeq src/components/Customer/CustomerPlanData.jsx Line 41:25: Script URL is a form of eval no-script-url Line 51:23: The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 52:30: Script URL is a form of eval no-script-url Line 71:60: Expected '===' and instead saw '==' eqeqeq src/components/Customer/EditBookingPopUp.jsx Line 7:10: 'ISO_8601' is defined but never used no-unused-vars Line 23:10: 'serviceHighlights' is assigned a value but never used no-unused-vars Line 23:29: 'setServiceHighlights' is assigned a value but never used no-unused-vars Line 32:7: 'bookingArray' is assigned a value but never used no-unused-vars Line 226:33: The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 227:40: Script URL is a form of eval no-script-url Line 267:17: The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 268:24: Script URL is a form of eval no-script-url src/components/Customer/FindingsPopUp.jsx Line 1:17: 'useState' is defined but never used no-unused-vars src/components/Customer/JobDetailsDescription.jsx Line 23:45: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 30:91: Expected '===' and instead saw '==' eqeqeq Line 31:83: Expected '===' and instead saw '==' eqeqeq Line 32:82: Expected '===' and instead saw '==' eqeqeq Line 67:49: 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/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 82:98: Expected '===' and instead saw '==' eqeqeq Line 89:90: Expected '===' and instead saw '==' eqeqeq Line 96:79: Expected '!==' and instead saw '!=' eqeqeq Line 106:71: Expected '!==' and instead saw '!=' eqeqeq Line 108:130: Array.prototype.map() expects a value to be returned at the end of arrow function array-callback-return Line 115:85: Expected '===' and instead saw '==' eqeqeq Line 120:97: Expected '===' and instead saw '==' eqeqeq Line 132:102: Expected '===' and instead saw '==' eqeqeq Line 138:94: Expected '===' and instead saw '==' eqeqeq Line 156:130: Unexpected string concatenation of literals no-useless-concat Line 182:97: Expected '===' and instead saw '==' eqeqeq Line 184:101: Expected '===' and instead saw '==' eqeqeq Line 196:102: Expected '===' and instead saw '==' eqeqeq Line 198:105: Expected '===' and instead saw '==' eqeqeq Line 204:94: Expected '===' and instead saw '==' eqeqeq Line 204:124: Expected '===' and instead saw '==' eqeqeq Line 218:118: Unexpected string concatenation of literals no-useless-concat Line 239:79: Expected '===' and instead saw '==' eqeqeq Line 242:89: Expected '===' and instead saw '==' eqeqeq Line 254:94: Expected '===' and instead saw '==' eqeqeq Line 260:86: Expected '===' and instead saw '==' eqeqeq Line 267:89: Expected '===' and instead saw '==' eqeqeq Line 269:93: Expected '===' and instead saw '==' eqeqeq Line 281:94: Expected '===' and instead saw '==' eqeqeq Line 283:97: Expected '===' and instead saw '==' eqeqeq Line 289:86: Expected '===' and instead saw '==' eqeqeq Line 289:116: Expected '===' and instead saw '==' eqeqeq src/components/Customer/Map.jsx Line 9:11: