-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintcache
1 lines (1 loc) · 11.5 KB
/
.eslintcache
1
[{"C:\\web development\\vonlunter-network-client\\src\\index.js":"1","C:\\web development\\vonlunter-network-client\\src\\App.js":"2","C:\\web development\\vonlunter-network-client\\src\\reportWebVitals.js":"3","C:\\web development\\vonlunter-network-client\\src\\Components\\Header\\Header.js":"4","C:\\web development\\vonlunter-network-client\\src\\Components\\CourseItem\\CourseItem.js":"5","C:\\web development\\vonlunter-network-client\\src\\Components\\FakeData\\FakeData.js":"6","C:\\web development\\vonlunter-network-client\\src\\Components\\RegisterForm\\RegisterForm.js":"7","C:\\web development\\vonlunter-network-client\\src\\Components\\NotFound\\NotFound.js":"8","C:\\web development\\vonlunter-network-client\\src\\Components\\Home\\Home.js":"9","C:\\web development\\vonlunter-network-client\\src\\Components\\Login\\Login.js":"10","C:\\web development\\vonlunter-network-client\\src\\Components\\Login\\firebase.config.js":"11","C:\\web development\\vonlunter-network-client\\src\\Components\\PrivateRoute\\PrivateRoute.js":"12","C:\\web development\\vonlunter-network-client\\src\\Components\\RegistrationList\\RegistrationList.js":"13","C:\\web development\\vonlunter-network-client\\src\\Components\\EventCard\\EventCard.js":"14","C:\\web development\\vonlunter-network-client\\src\\Components\\AddEventForm\\AddEventForm.js":"15"},{"size":546,"mtime":1610371181787,"results":"16","hashOfConfig":"17"},{"size":2016,"mtime":1610902498273,"results":"18","hashOfConfig":"17"},{"size":362,"mtime":499162500000,"results":"19","hashOfConfig":"17"},{"size":5692,"mtime":1611128768251,"results":"20","hashOfConfig":"17"},{"size":1531,"mtime":1611128757957,"results":"21","hashOfConfig":"17"},{"size":1839,"mtime":1610368718885,"results":"22","hashOfConfig":"17"},{"size":3085,"mtime":1611128807887,"results":"23","hashOfConfig":"17"},{"size":182,"mtime":1610388837693,"results":"24","hashOfConfig":"17"},{"size":2360,"mtime":1611128738758,"results":"25","hashOfConfig":"17"},{"size":2121,"mtime":1611128732387,"results":"26","hashOfConfig":"17"},{"size":378,"mtime":1610436661670,"results":"27","hashOfConfig":"17"},{"size":645,"mtime":1610452450206,"results":"28","hashOfConfig":"17"},{"size":4941,"mtime":1611128870342,"results":"29","hashOfConfig":"17"},{"size":2280,"mtime":1611128750506,"results":"30","hashOfConfig":"17"},{"size":1980,"mtime":1611128789201,"results":"31","hashOfConfig":"17"},{"filePath":"32","messages":"33","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"34"},"1i16f1z",{"filePath":"35","messages":"36","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"37","usedDeprecatedRules":"34"},{"filePath":"38","messages":"39","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"34"},{"filePath":"40","messages":"41","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"42","messages":"43","errorCount":0,"warningCount":5,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"44","messages":"45","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"34"},{"filePath":"46","messages":"47","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"48","messages":"49","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"34"},{"filePath":"50","messages":"51","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"52","messages":"53","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"54","messages":"55","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"34"},{"filePath":"56","messages":"57","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"58","usedDeprecatedRules":"34"},{"filePath":"59","messages":"60","errorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"61","messages":"62","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"63","messages":"64","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},"C:\\web development\\vonlunter-network-client\\src\\index.js",[],["65","66"],"C:\\web development\\vonlunter-network-client\\src\\App.js",["67"],"import React, { createContext, useState } from 'react';\nimport Header from './Components/Header/Header';\nimport {\n BrowserRouter as Router,\n Switch,\n Route,\n} from \"react-router-dom\";\nimport RegisterForm from './Components/RegisterForm/RegisterForm';\nimport NotFound from './Components/NotFound/NotFound';\nimport Home from './Components/Home/Home';\nimport Login from './Components/Login/Login';\nimport PrivateRoute from './Components/PrivateRoute/PrivateRoute';\nimport RegistrationList from '../src/Components/RegistrationList/RegistrationList';\nimport EventCard from './Components/EventCard/EventCard';\nimport AddEventForm from './Components/AddEventForm/AddEventForm';\n\n\n\n\n\n\nexport const UserContext = createContext();\nexport const UserCardData = createContext();\n\nconst App = () => {\n const [loggedInUser, setLoggedInUser] = useState({});\n const [cardData, setCardData] = useState({});\n\n return (\n \n <UserContext.Provider value = {[loggedInUser, setLoggedInUser]}>\n <UserCardData.Provider value={[cardData, setCardData]}>\n <Router> \n <Switch>\n <Route path=\"/home\">\n <Home></Home>\n </Route>\n\n \n <Route exact path=\"/\">\n <Home></Home>\n </Route>\n\n <Route path=\"/login\">\n <Login></Login>\n </Route>\n\n <Route path=\"/eventCard\">\n <EventCard></EventCard>\n </Route>\n\n <PrivateRoute path=\"/addEventForm\">\n <AddEventForm></AddEventForm>\n </PrivateRoute>\n\n <PrivateRoute path=\"/registrationList\">\n <RegistrationList></RegistrationList>\n </PrivateRoute>\n\n \n <PrivateRoute path=\"/registerForm\">\n <RegisterForm></RegisterForm>\n </PrivateRoute>\n\n \n\n <Route path=\"*\">\n <NotFound></NotFound>\n </Route>\n </Switch>\n </Router>\n </UserCardData.Provider>\n </UserContext.Provider>\n \n );\n};\n\nexport default App;","C:\\web development\\vonlunter-network-client\\src\\reportWebVitals.js",[],"C:\\web development\\vonlunter-network-client\\src\\Components\\Header\\Header.js",[],"C:\\web development\\vonlunter-network-client\\src\\Components\\CourseItem\\CourseItem.js",["68","69","70","71","72"],"C:\\web development\\vonlunter-network-client\\src\\Components\\FakeData\\FakeData.js",[],"C:\\web development\\vonlunter-network-client\\src\\Components\\RegisterForm\\RegisterForm.js",["73","74","75"],"C:\\web development\\vonlunter-network-client\\src\\Components\\NotFound\\NotFound.js",[],"C:\\web development\\vonlunter-network-client\\src\\Components\\Home\\Home.js",["76","77"],"C:\\web development\\vonlunter-network-client\\src\\Components\\Login\\Login.js",["78"],"C:\\web development\\vonlunter-network-client\\src\\Components\\Login\\firebase.config.js",[],"C:\\web development\\vonlunter-network-client\\src\\Components\\PrivateRoute\\PrivateRoute.js",["79"],"import React, { useContext } from 'react';\r\nimport { Redirect, Route } from 'react-router-dom';\r\nimport { UserContext } from '../../App';\r\n\r\nconst PrivateRoute = ({ children, ...rest }) => {\r\n const [loggedInUser, setLoggedInUser] = useContext(UserContext)\r\n return (\r\n \r\n <Route\r\n {...rest}\r\n render={({ location }) =>\r\n loggedInUser.email ? (\r\n children\r\n ) : (\r\n <Redirect\r\n to={{\r\n pathname: \"/login\",\r\n state: { from: location }\r\n }}\r\n />\r\n )\r\n }\r\n />\r\n \r\n );\r\n};\r\n\r\nexport default PrivateRoute;","C:\\web development\\vonlunter-network-client\\src\\Components\\RegistrationList\\RegistrationList.js",["80","81","82","83"],"C:\\web development\\vonlunter-network-client\\src\\Components\\EventCard\\EventCard.js",["84"],"C:\\web development\\vonlunter-network-client\\src\\Components\\AddEventForm\\AddEventForm.js",["85"],{"ruleId":"86","replacedBy":"87"},{"ruleId":"88","replacedBy":"89"},{"ruleId":"90","severity":1,"message":"91","line":2,"column":8,"nodeType":"92","messageId":"93","endLine":2,"endColumn":14},{"ruleId":"90","severity":1,"message":"94","line":1,"column":29,"nodeType":"92","messageId":"93","endLine":1,"endColumn":37},{"ruleId":"90","severity":1,"message":"95","line":5,"column":5,"nodeType":"92","messageId":"93","endLine":5,"endColumn":16},{"ruleId":"90","severity":1,"message":"96","line":10,"column":10,"nodeType":"92","messageId":"93","endLine":10,"endColumn":22},{"ruleId":"90","severity":1,"message":"97","line":10,"column":24,"nodeType":"92","messageId":"93","endLine":10,"endColumn":39},{"ruleId":"90","severity":1,"message":"98","line":12,"column":10,"nodeType":"92","messageId":"93","endLine":12,"endColumn":18},{"ruleId":"90","severity":1,"message":"99","line":2,"column":10,"nodeType":"92","messageId":"93","endLine":2,"endColumn":14},{"ruleId":"90","severity":1,"message":"97","line":9,"column":24,"nodeType":"92","messageId":"93","endLine":9,"endColumn":39},{"ruleId":"90","severity":1,"message":"100","line":13,"column":20,"nodeType":"92","messageId":"93","endLine":13,"endColumn":31},{"ruleId":"90","severity":1,"message":"101","line":1,"column":17,"nodeType":"92","messageId":"93","endLine":1,"endColumn":27},{"ruleId":"90","severity":1,"message":"102","line":8,"column":10,"nodeType":"92","messageId":"93","endLine":8,"endColumn":22},{"ruleId":"90","severity":1,"message":"96","line":16,"column":10,"nodeType":"92","messageId":"93","endLine":16,"endColumn":22},{"ruleId":"90","severity":1,"message":"97","line":6,"column":26,"nodeType":"92","messageId":"93","endLine":6,"endColumn":41},{"ruleId":"90","severity":1,"message":"99","line":2,"column":10,"nodeType":"92","messageId":"93","endLine":2,"endColumn":14},{"ruleId":"90","severity":1,"message":"103","line":2,"column":16,"nodeType":"92","messageId":"93","endLine":2,"endColumn":26},{"ruleId":"90","severity":1,"message":"96","line":13,"column":10,"nodeType":"92","messageId":"93","endLine":13,"endColumn":22},{"ruleId":"90","severity":1,"message":"97","line":13,"column":24,"nodeType":"92","messageId":"93","endLine":13,"endColumn":39},{"ruleId":"90","severity":1,"message":"97","line":8,"column":24,"nodeType":"92","messageId":"93","endLine":8,"endColumn":39},{"ruleId":"90","severity":1,"message":"94","line":1,"column":17,"nodeType":"92","messageId":"93","endLine":1,"endColumn":25},"no-native-reassign",["104"],"no-negated-in-lhs",["105"],"no-unused-vars","'Header' is defined but never used.","Identifier","unusedVar","'useState' is defined but never used.","'randomColor' is assigned a value but never used.","'loggedInUser' is assigned a value but never used.","'setLoggedInUser' is assigned a value but never used.","'cardData' is assigned a value but never used.","'Link' is defined but never used.","'setCardData' is assigned a value but never used.","'useContext' is defined but never used.","'UserCardData' is defined but never used.","'useHistory' is defined but never used.","no-global-assign","no-unsafe-negation"]