-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintcache
1 lines (1 loc) · 22.4 KB
/
.eslintcache
1
[{"D:\\webDev\\travel\\src\\index.js":"1","D:\\webDev\\travel\\src\\App.js":"2","D:\\webDev\\travel\\src\\components\\navbar\\Navbar.js":"3","D:\\webDev\\travel\\src\\components\\pages\\Services\\Services.js":"4","D:\\webDev\\travel\\src\\components\\pages\\Home\\Home.js":"5","D:\\webDev\\travel\\src\\components\\pages\\SignUp\\SignUp.js":"6","D:\\webDev\\travel\\src\\components\\pages\\Login\\Login.js":"7","D:\\webDev\\travel\\src\\context.js":"8","D:\\webDev\\travel\\src\\components\\pages\\Dashboard\\Dashboard.js":"9","D:\\webDev\\travel\\src\\components\\pages\\Profile\\Profile.js":"10","D:\\webDev\\travel\\src\\components\\CardItems.js":"11","D:\\webDev\\travel\\src\\components\\pages\\Dashboard\\DashboardCard.js":"12","D:\\webDev\\travel\\src\\components\\pages\\Home\\HeroSection.js":"13","D:\\webDev\\travel\\src\\components\\Cards.js":"14","D:\\webDev\\travel\\src\\components\\pages\\Dashboard\\Banner.js":"15","D:\\webDev\\travel\\src\\components\\footer\\Footer.js":"16","D:\\webDev\\travel\\src\\action\\general-action.js":"17","D:\\webDev\\travel\\src\\components\\results\\SearchResult.js":"18","D:\\webDev\\Online-train-ticketing-system\\Travel\\src\\index.js":"19","D:\\webDev\\Online-train-ticketing-system\\Travel\\src\\App.js":"20","D:\\webDev\\Online-train-ticketing-system\\Travel\\src\\context.js":"21","D:\\webDev\\Online-train-ticketing-system\\Travel\\src\\components\\pages\\Home\\Home.js":"22","D:\\webDev\\Online-train-ticketing-system\\Travel\\src\\components\\pages\\Services\\Services.js":"23","D:\\webDev\\Online-train-ticketing-system\\Travel\\src\\components\\pages\\Login\\Login.js":"24","D:\\webDev\\Online-train-ticketing-system\\Travel\\src\\components\\navbar\\Navbar.js":"25","D:\\webDev\\Online-train-ticketing-system\\Travel\\src\\components\\pages\\SignUp\\SignUp.js":"26","D:\\webDev\\Online-train-ticketing-system\\Travel\\src\\components\\pages\\Profile\\Profile.js":"27","D:\\webDev\\Online-train-ticketing-system\\Travel\\src\\components\\pages\\Dashboard\\Dashboard.js":"28","D:\\webDev\\Online-train-ticketing-system\\Travel\\src\\action\\general-action.js":"29","D:\\webDev\\Online-train-ticketing-system\\Travel\\src\\components\\Cards.js":"30","D:\\webDev\\Online-train-ticketing-system\\Travel\\src\\components\\pages\\Home\\HeroSection.js":"31","D:\\webDev\\Online-train-ticketing-system\\Travel\\src\\components\\CardItems.js":"32","D:\\webDev\\Online-train-ticketing-system\\Travel\\src\\components\\pages\\Dashboard\\DashboardCard.js":"33","D:\\webDev\\Online-train-ticketing-system\\Travel\\src\\components\\pages\\Dashboard\\Banner.js":"34","D:\\webDev\\Online-train-ticketing-system\\Travel\\src\\components\\footer\\Footer.js":"35","D:\\webDev\\Online-train-ticketing-system\\Travel\\src\\components\\results\\SearchResult.js":"36","D:\\webDev\\Online-train-ticketing-system\\Travel\\src\\components\\pages\\Payment\\Payment.js":"37","D:\\webDev\\Online-train-ticketing-system\\Travel\\src\\components\\pages\\Payment\\components\\payment-form.js":"38","D:\\webDev\\Online-train-ticketing-system\\Travel\\src\\components\\pages\\Payment\\components\\app-title.js":"39"},{"size":151,"mtime":1615100172165,"results":"40","hashOfConfig":"41"},{"size":1253,"mtime":1615959455415,"results":"42","hashOfConfig":"41"},{"size":3164,"mtime":1615960833826,"results":"43","hashOfConfig":"41"},{"size":1562,"mtime":1615286619439,"results":"44","hashOfConfig":"41"},{"size":310,"mtime":1615100213590,"results":"45","hashOfConfig":"41"},{"size":6414,"mtime":1615959478443,"results":"46","hashOfConfig":"41"},{"size":3603,"mtime":1615959478440,"results":"47","hashOfConfig":"41"},{"size":1141,"mtime":1615976388904,"results":"48","hashOfConfig":"41"},{"size":7762,"mtime":1615971646125,"results":"49","hashOfConfig":"41"},{"size":2854,"mtime":1615976360310,"results":"50","hashOfConfig":"41"},{"size":664,"mtime":1615100172107,"results":"51","hashOfConfig":"41"},{"size":401,"mtime":1615100213493,"results":"52","hashOfConfig":"41"},{"size":629,"mtime":1615959478438,"results":"53","hashOfConfig":"41"},{"size":1578,"mtime":1615100213489,"results":"54","hashOfConfig":"41"},{"size":381,"mtime":1615959478434,"results":"55","hashOfConfig":"41"},{"size":3208,"mtime":1615959478432,"results":"56","hashOfConfig":"41"},{"size":2198,"mtime":1615987062740,"results":"57","hashOfConfig":"41"},{"size":3634,"mtime":1615977461849,"results":"58","hashOfConfig":"41"},{"size":151,"mtime":1636700560691,"results":"59","hashOfConfig":"60"},{"size":1366,"mtime":1636732547050,"results":"61","hashOfConfig":"60"},{"size":1141,"mtime":1636700560691,"results":"62","hashOfConfig":"60"},{"size":310,"mtime":1636700560676,"results":"63","hashOfConfig":"60"},{"size":1923,"mtime":1636703908439,"results":"64","hashOfConfig":"60"},{"size":3603,"mtime":1636700560677,"results":"65","hashOfConfig":"60"},{"size":3164,"mtime":1636700560660,"results":"66","hashOfConfig":"60"},{"size":6414,"mtime":1636700560686,"results":"67","hashOfConfig":"60"},{"size":2854,"mtime":1636700560680,"results":"68","hashOfConfig":"60"},{"size":9346,"mtime":1636794908668,"results":"69","hashOfConfig":"60"},{"size":2262,"mtime":1636727593969,"results":"70","hashOfConfig":"60"},{"size":1759,"mtime":1636703225802,"results":"71","hashOfConfig":"60"},{"size":629,"mtime":1636700560673,"results":"72","hashOfConfig":"60"},{"size":664,"mtime":1636700560654,"results":"73","hashOfConfig":"60"},{"size":401,"mtime":1636700560669,"results":"74","hashOfConfig":"60"},{"size":389,"mtime":1636721168486,"results":"75","hashOfConfig":"60"},{"size":3208,"mtime":1636700560657,"results":"76","hashOfConfig":"60"},{"size":3634,"mtime":1636700560690,"results":"77","hashOfConfig":"60"},{"size":2454,"mtime":1636799171742,"results":"78","hashOfConfig":"60"},{"size":8748,"mtime":1636737381290,"results":"79","hashOfConfig":"80"},{"size":460,"mtime":1636737486860,"results":"81","hashOfConfig":"80"},{"filePath":"82","messages":"83","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"84"},"qdxd12",{"filePath":"85","messages":"86","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"84"},{"filePath":"87","messages":"88","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"84"},{"filePath":"89","messages":"90","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"84"},{"filePath":"91","messages":"92","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"84"},{"filePath":"93","messages":"94","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"84"},{"filePath":"95","messages":"96","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"97","usedDeprecatedRules":"84"},{"filePath":"98","messages":"99","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"84"},{"filePath":"100","messages":"101","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"84"},{"filePath":"102","messages":"103","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"104","usedDeprecatedRules":"84"},{"filePath":"105","messages":"106","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"84"},{"filePath":"107","messages":"108","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"84"},{"filePath":"109","messages":"110","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"84"},{"filePath":"111","messages":"112","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"84"},{"filePath":"113","messages":"114","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"84"},{"filePath":"115","messages":"116","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"84"},{"filePath":"117","messages":"118","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"119","messages":"120","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"84"},{"filePath":"121","messages":"122","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1db8oh6",{"filePath":"123","messages":"124","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"125","messages":"126","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"127","messages":"128","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"129","messages":"130","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"131","messages":"132","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"133","messages":"134","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"135","messages":"136","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"137","messages":"138","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"139","messages":"140","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"141","messages":"142","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"143","messages":"144","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"145","messages":"146","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"147","messages":"148","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"149","messages":"150","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"151","messages":"152","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"153","messages":"154","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"155","messages":"156","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"157","messages":"158","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"159","messages":"160","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},"hwk2yw",{"filePath":"161","messages":"162","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"D:\\webDev\\travel\\src\\index.js",[],["163","164"],"D:\\webDev\\travel\\src\\App.js",[],"D:\\webDev\\travel\\src\\components\\navbar\\Navbar.js",[],"D:\\webDev\\travel\\src\\components\\pages\\Services\\Services.js",[],"D:\\webDev\\travel\\src\\components\\pages\\Home\\Home.js",[],"D:\\webDev\\travel\\src\\components\\pages\\SignUp\\SignUp.js",[],"D:\\webDev\\travel\\src\\components\\pages\\Login\\Login.js",["165"],"import React, { useContext } from \"react\";\r\nimport \"./Login.css\";\r\nimport { useFormik } from \"formik\";\r\nimport { loginUser } from \"../../../action/general-action\";\r\nimport { useToasts } from \"react-toast-notifications\";\r\nimport { useHistory } from \"react-router-dom\";\r\nimport { TravelContext } from \"../../../context\";\r\n\r\nfunction Login() {\r\n //context\r\n const { TOKEN, Auth } = useContext(TravelContext);\r\n //AUTH\r\n const [token, setToken] = TOKEN;\r\n\r\n //backend stuff\r\n const { addToast } = useToasts();\r\n let history = useHistory();\r\n\r\n //compont code\r\n const validate = (values) => {\r\n const errors = {};\r\n\r\n if (!values.email) {\r\n errors.email = \"Required\";\r\n } else if (\r\n !/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,4}$/i.test(values.email)\r\n ) {\r\n errors.email = \"Invalid email address\";\r\n }\r\n if (!values.password) {\r\n errors.password = \"Required\";\r\n } else if (values.password.length < 6) {\r\n errors.password = \"Password must be atleast 6 characters\";\r\n } else if (values.password.length > 20) {\r\n errors.password = \"Must be 20 characters or less\";\r\n }\r\n return errors;\r\n };\r\n const formik = useFormik({\r\n initialValues: {\r\n email: \"\",\r\n password: \"\",\r\n },\r\n validate,\r\n onSubmit: (values) => {\r\n loginUser(values.email, values.password)\r\n .then((res) => {\r\n if (res) {\r\n addToast(res.message, {\r\n appearance: \"success\",\r\n });\r\n setTimeout(() => {\r\n sessionStorage.setItem(\"token\", JSON.stringify(values.email));\r\n setToken(Auth);\r\n Auth && history.push(\"/dashboard\");\r\n }, 1500);\r\n }\r\n })\r\n .catch((err) => {\r\n addToast(err.response.data.message, {\r\n appearance: \"error\",\r\n });\r\n });\r\n },\r\n });\r\n return (\r\n <div className=\"login\">\r\n <img\r\n className=\"login__backgroundImage\"\r\n src=\"/images/loginBg.jpg\"\r\n alt=\"background\"\r\n />\r\n <form className=\"login__form\" onSubmit={formik.handleSubmit}>\r\n <div className=\"login__title f-head\">LOGIN</div>\r\n <div className=\"login__fields\">\r\n <div className=\"login__form--inputArea\">\r\n <label className=\"login__label f-text\">Email Address</label>\r\n <input\r\n className=\"login__input\"\r\n name=\"email\"\r\n type=\"email\"\r\n onChange={formik.handleChange}\r\n onBlur={formik.handleBlur}\r\n value={formik.values.email}\r\n autoFocus\r\n />\r\n </div>\r\n {formik.touched.email && formik.errors.email ? (\r\n <div className=\"login--error\">{formik.errors.email}</div>\r\n ) : null}\r\n </div>\r\n <div className=\"login__fields\">\r\n <div className=\"login__form--inputArea\">\r\n <label className=\"login__label f-text\">Password</label>\r\n <input\r\n className=\"login__input\"\r\n name=\"password\"\r\n type=\"password\"\r\n onChange={formik.handleChange}\r\n onBlur={formik.handleBlur}\r\n value={formik.values.password}\r\n />\r\n </div>\r\n {formik.touched.password && formik.errors.password ? (\r\n <div className=\"login--error\">{formik.errors.password}</div>\r\n ) : null}\r\n </div>\r\n <button className=\"login__button f-text\" type=\"submit\">\r\n SUBMIT\r\n </button>\r\n </form>\r\n </div>\r\n );\r\n}\r\n\r\nexport default Login;\r\n","D:\\webDev\\travel\\src\\context.js",[],"D:\\webDev\\travel\\src\\components\\pages\\Dashboard\\Dashboard.js",[],"D:\\webDev\\travel\\src\\components\\pages\\Profile\\Profile.js",["166","167"],"import React, { useEffect, useState, useContext, Fragment } from \"react\";\r\nimport \"./Profile.css\";\r\nimport EmailIcon from \"@material-ui/icons/Email\";\r\nimport PhoneIcon from \"@material-ui/icons/Phone\";\r\nimport SearchResult from \"../../results/SearchResult\";\r\nimport { getUser } from \"../../../action/general-action\";\r\nimport { TravelContext } from \"../../../context\";\r\nfunction Profile() {\r\n //context\r\n const { USER, TOKEN, BOOKINGS, FETCH_BOOKINGS } = useContext(TravelContext);\r\n const [token] = TOKEN;\r\n const [user, setUser] = USER;\r\n const [bookingResults] = BOOKINGS;\r\n\r\n useEffect(() => {\r\n async function fetchData() {\r\n getUser(token).then((res) => {\r\n if (res) {\r\n setUser(res[0]);\r\n } else {\r\n console.log(\"this is getuser error from profile\");\r\n }\r\n });\r\n }\r\n fetchData();\r\n // console.log(bookingResults);\r\n FETCH_BOOKINGS();\r\n }, []);\r\n return (\r\n <div className=\"profile\">\r\n <div className=\"profile_head\">\r\n <img src=\"/images/img-7.jpg\" className=\"profile__headImage\" alt=\"\" />\r\n <div className=\"profile_headData\">\r\n <h2 className=\"f-shead\">{user.name}</h2>\r\n <div className=\"profile__info f-text\">\r\n <EmailIcon />\r\n <p>{user.email}</p>\r\n </div>\r\n <div className=\"profile__info f-text\">\r\n <PhoneIcon /> <p>{user.phone}</p>\r\n </div>\r\n </div>\r\n </div>\r\n <div className=\"profile__body\">\r\n <div className=\"profile__bookings\">\r\n <h1>BOOKINGS</h1>\r\n <div className=\"profile__results\">\r\n {bookingResults.length > 0 && (\r\n <Fragment>\r\n {bookingResults.map((result) => (\r\n <SearchResult\r\n key={result.id}\r\n img=\"https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcQ_wbPYTxQPMcBh7SPzLFActXnP3uhifeVT_g&usqp=CAU\"\r\n hotelID={result.hotel_id}\r\n location={result.arrival_location}\r\n booking_id={result.id}\r\n title={result.name}\r\n description={result.ameneties}\r\n from={result.arrival_date}\r\n to={result.departure_date}\r\n star={result.rating}\r\n price={result.price}\r\n // fetchBookings={fetchBookings}\r\n />\r\n ))}\r\n </Fragment>\r\n )}\r\n {!bookingResults.length > 0 && (\r\n <Fragment>\r\n <h2>\r\n You have no Bookings, checkout the available hotels to make a\r\n booking\r\n </h2>\r\n </Fragment>\r\n )}\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n );\r\n}\r\n\r\nexport default Profile;\r\n","D:\\webDev\\travel\\src\\components\\CardItems.js",[],"D:\\webDev\\travel\\src\\components\\pages\\Dashboard\\DashboardCard.js",[],"D:\\webDev\\travel\\src\\components\\pages\\Home\\HeroSection.js",[],"D:\\webDev\\travel\\src\\components\\Cards.js",[],"D:\\webDev\\travel\\src\\components\\pages\\Dashboard\\Banner.js",[],"D:\\webDev\\travel\\src\\components\\footer\\Footer.js",[],"D:\\webDev\\travel\\src\\action\\general-action.js",[],"D:\\webDev\\travel\\src\\components\\results\\SearchResult.js",[],"D:\\webDev\\Online-train-ticketing-system\\Travel\\src\\index.js",[],"D:\\webDev\\Online-train-ticketing-system\\Travel\\src\\App.js",[],"D:\\webDev\\Online-train-ticketing-system\\Travel\\src\\context.js",[],"D:\\webDev\\Online-train-ticketing-system\\Travel\\src\\components\\pages\\Home\\Home.js",[],"D:\\webDev\\Online-train-ticketing-system\\Travel\\src\\components\\pages\\Services\\Services.js",[],"D:\\webDev\\Online-train-ticketing-system\\Travel\\src\\components\\pages\\Login\\Login.js",["168"],"D:\\webDev\\Online-train-ticketing-system\\Travel\\src\\components\\navbar\\Navbar.js",[],"D:\\webDev\\Online-train-ticketing-system\\Travel\\src\\components\\pages\\SignUp\\SignUp.js",[],"D:\\webDev\\Online-train-ticketing-system\\Travel\\src\\components\\pages\\Profile\\Profile.js",["169","170"],"D:\\webDev\\Online-train-ticketing-system\\Travel\\src\\components\\pages\\Dashboard\\Dashboard.js",["171"],"D:\\webDev\\Online-train-ticketing-system\\Travel\\src\\action\\general-action.js",[],"D:\\webDev\\Online-train-ticketing-system\\Travel\\src\\components\\Cards.js",[],"D:\\webDev\\Online-train-ticketing-system\\Travel\\src\\components\\pages\\Home\\HeroSection.js",[],"D:\\webDev\\Online-train-ticketing-system\\Travel\\src\\components\\CardItems.js",[],"D:\\webDev\\Online-train-ticketing-system\\Travel\\src\\components\\pages\\Dashboard\\DashboardCard.js",[],"D:\\webDev\\Online-train-ticketing-system\\Travel\\src\\components\\pages\\Dashboard\\Banner.js",[],"D:\\webDev\\Online-train-ticketing-system\\Travel\\src\\components\\footer\\Footer.js",[],"D:\\webDev\\Online-train-ticketing-system\\Travel\\src\\components\\results\\SearchResult.js",[],"D:\\webDev\\Online-train-ticketing-system\\Travel\\src\\components\\pages\\Payment\\Payment.js",[],"D:\\webDev\\Online-train-ticketing-system\\Travel\\src\\components\\pages\\Payment\\components\\payment-form.js",["172"],"D:\\webDev\\Online-train-ticketing-system\\Travel\\src\\components\\pages\\Payment\\components\\app-title.js",[],{"ruleId":"173","replacedBy":"174"},{"ruleId":"175","replacedBy":"176"},{"ruleId":"177","severity":1,"message":"178","line":13,"column":10,"nodeType":"179","messageId":"180","endLine":13,"endColumn":15},{"ruleId":"177","severity":1,"message":"181","line":1,"column":28,"nodeType":"179","messageId":"180","endLine":1,"endColumn":36},{"ruleId":"182","severity":1,"message":"183","line":28,"column":6,"nodeType":"184","endLine":28,"endColumn":8,"suggestions":"185"},{"ruleId":"177","severity":1,"message":"178","line":13,"column":10,"nodeType":"179","messageId":"180","endLine":13,"endColumn":15},{"ruleId":"177","severity":1,"message":"181","line":1,"column":28,"nodeType":"179","messageId":"180","endLine":1,"endColumn":36},{"ruleId":"182","severity":1,"message":"183","line":28,"column":6,"nodeType":"184","endLine":28,"endColumn":8,"suggestions":"186"},{"ruleId":"177","severity":1,"message":"187","line":2,"column":8,"nodeType":"179","messageId":"180","endLine":2,"endColumn":14},{"ruleId":"188","severity":1,"message":"189","line":220,"column":15,"nodeType":"190","endLine":220,"endColumn":48},"no-native-reassign",["191"],"no-negated-in-lhs",["192"],"no-unused-vars","'token' is assigned a value but never used.","Identifier","unusedVar","'useState' is defined but never used.","react-hooks/exhaustive-deps","React Hook useEffect has missing dependencies: 'FETCH_BOOKINGS', 'setUser', and 'token'. Either include them or remove the dependency array.","ArrayExpression",["193"],["194"],"'Banner' is defined but never used.","jsx-a11y/alt-text","img elements must have an alt prop, either with meaningful text, or an empty string for decorative images.","JSXOpeningElement","no-global-assign","no-unsafe-negation",{"desc":"195","fix":"196"},{"desc":"195","fix":"197"},"Update the dependencies array to be: [FETCH_BOOKINGS, setUser, token]",{"range":"198","text":"199"},{"range":"200","text":"199"},[915,917],"[FETCH_BOOKINGS, setUser, token]",[915,917]]