-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintcache
1 lines (1 loc) · 24.3 KB
/
.eslintcache
1
[{"C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\index.js":"1","C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\App.js":"2","C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\reportWebVitals.js":"3","C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\containers\\BurgerBuilder\\BurgerBuilder.js":"4","C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\components\\Burger\\Burger.js":"5","C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\components\\Burger\\BurgerIngredient\\BurgerIngredient.js":"6","C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\components\\Burger\\BuildControls\\BuildControls.js":"7","C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\components\\Burger\\BuildControls\\BuildControl\\BuildControl.js":"8","C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\components\\UI\\Modal\\Modal.js":"9","C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\components\\UI\\Backdrop\\Backdrop.js":"10","C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\components\\UI\\Button\\Button.js":"11","C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\components\\Navigation\\Toolbar\\Toolbar.js":"12","C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\components\\Logo\\Logo.js":"13","C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\components\\Navigation\\NavigationItems\\NavigationItems.js":"14","C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\components\\Navigation\\NavigationItems\\NavigationItem\\NavigationItem.js":"15","C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\components\\Navigation\\SideDrawer\\SideDrawer.js":"16","C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\components\\Navigation\\ToggleButton\\Togglebutton.js":"17","C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\containers\\Layout\\Layout.js":"18","C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\components\\Burger\\OrderSummary\\OrderSummary.js":"19","C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\hoc\\Auxiliary\\Auxiliary.js":"20","C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\axios-orders.js":"21","C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\components\\UI\\Spinner\\Spinner.js":"22","C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\hoc\\withErrorHandler\\withErrorHandler.js":"23","C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\containers\\Checkout\\Checkout.js":"24","C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\components\\Order\\CheckoutSummary\\CheckoutSummary.js":"25","C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\containers\\Checkout\\ContactData\\ContactData.js":"26","C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\containers\\Orders\\Orders.js":"27","C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\components\\Order\\Order.js":"28","C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\components\\UI\\Input\\Input.js":"29","C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\store\\reducers\\burgerBuilder.js":"30","C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\store\\actions\\actionTypes.js":"31","C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\store\\actions\\burgerBuilder.js":"32","C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\store\\actions\\index.js":"33","C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\store\\actions\\order.js":"34","C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\store\\reducers\\order.js":"35","C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\containers\\Auth\\Auth.js":"36","C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\store\\actions\\auth.js":"37","C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\store\\reducers\\auth.js":"38","C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\containers\\Auth\\Logout\\Logout.js":"39","C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\shared\\utility.js":"40","C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\hoc\\asyncComponent\\asyncComponent.js":"41"},{"size":1302,"mtime":1624344260832,"results":"42","hashOfConfig":"43"},{"size":2235,"mtime":1624347477891,"results":"44","hashOfConfig":"43"},{"size":362,"mtime":499162500000,"results":"45","hashOfConfig":"43"},{"size":5357,"mtime":1624349846063,"results":"46","hashOfConfig":"43"},{"size":923,"mtime":1624344260777,"results":"47","hashOfConfig":"43"},{"size":1580,"mtime":1624344260780,"results":"48","hashOfConfig":"43"},{"size":1138,"mtime":1624344260774,"results":"49","hashOfConfig":"43"},{"size":580,"mtime":1624344260771,"results":"50","hashOfConfig":"43"},{"size":1172,"mtime":1624344260811,"results":"51","hashOfConfig":"43"},{"size":250,"mtime":1624344260803,"results":"52","hashOfConfig":"43"},{"size":297,"mtime":1624344260806,"results":"53","hashOfConfig":"43"},{"size":694,"mtime":1624344260796,"results":"54","hashOfConfig":"43"},{"size":313,"mtime":1624344260784,"results":"55","hashOfConfig":"43"},{"size":649,"mtime":1624347579174,"results":"56","hashOfConfig":"43"},{"size":417,"mtime":1624344260787,"results":"57","hashOfConfig":"43"},{"size":911,"mtime":1624344260792,"results":"58","hashOfConfig":"43"},{"size":339,"mtime":1624530856403,"results":"59","hashOfConfig":"43"},{"size":1510,"mtime":1624344260824,"results":"60","hashOfConfig":"43"},{"size":1328,"mtime":1624344260783,"results":"61","hashOfConfig":"43"},{"size":95,"mtime":1624344260827,"results":"62","hashOfConfig":"43"},{"size":170,"mtime":1624341903620,"results":"63","hashOfConfig":"43"},{"size":182,"mtime":1624344260814,"results":"64","hashOfConfig":"43"},{"size":1441,"mtime":1624344260831,"results":"65","hashOfConfig":"43"},{"size":1701,"mtime":1624347619100,"results":"66","hashOfConfig":"43"},{"size":875,"mtime":1624532103385,"results":"67","hashOfConfig":"43"},{"size":6438,"mtime":1624532252294,"results":"68","hashOfConfig":"43"},{"size":1379,"mtime":1624347370084,"results":"69","hashOfConfig":"43"},{"size":956,"mtime":1624350598431,"results":"70","hashOfConfig":"43"},{"size":1849,"mtime":1624344260808,"results":"71","hashOfConfig":"43"},{"size":2215,"mtime":1624344260840,"results":"72","hashOfConfig":"43"},{"size":967,"mtime":1624345582961,"results":"73","hashOfConfig":"43"},{"size":1252,"mtime":1624344260836,"results":"74","hashOfConfig":"43"},{"size":417,"mtime":1624345883522,"results":"75","hashOfConfig":"43"},{"size":2247,"mtime":1624346402722,"results":"76","hashOfConfig":"43"},{"size":1986,"mtime":1624347101702,"results":"77","hashOfConfig":"43"},{"size":4905,"mtime":1624350142583,"results":"78","hashOfConfig":"43"},{"size":2937,"mtime":1624345870801,"results":"79","hashOfConfig":"43"},{"size":1519,"mtime":1624347627883,"results":"80","hashOfConfig":"43"},{"size":541,"mtime":1624347597727,"results":"81","hashOfConfig":"43"},{"size":946,"mtime":1615902727441,"results":"82","hashOfConfig":"43"},{"size":552,"mtime":1624344260829,"results":"83","hashOfConfig":"43"},{"filePath":"84","messages":"85","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},"1a0dz12",{"filePath":"87","messages":"88","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"89","usedDeprecatedRules":"86"},{"filePath":"90","messages":"91","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"92","messages":"93","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"94","messages":"95","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"96","messages":"97","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"98","messages":"99","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"100","messages":"101","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"102","messages":"103","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"104","messages":"105","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"106","messages":"107","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"108","messages":"109","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"110","usedDeprecatedRules":"86"},{"filePath":"111","messages":"112","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"113","messages":"114","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"115","messages":"116","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"117","messages":"118","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":1,"source":"119","usedDeprecatedRules":"86"},{"filePath":"120","messages":"121","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"122","messages":"123","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"124","messages":"125","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"126","messages":"127","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"128","usedDeprecatedRules":"86"},{"filePath":"129","messages":"130","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"131","messages":"132","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"133","messages":"134","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"135","messages":"136","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"137","messages":"138","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"139","messages":"140","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"141","messages":"142","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"143","messages":"144","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"145","messages":"146","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"147","messages":"148","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"149","messages":"150","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"151","messages":"152","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"153","messages":"154","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"155","messages":"156","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"157","messages":"158","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"159","messages":"160","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"161","messages":"162","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"163","messages":"164","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"165","usedDeprecatedRules":"86"},{"filePath":"166","messages":"167","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"168","messages":"169","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"170","messages":"171","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":1,"source":"172","usedDeprecatedRules":"86"},"C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\index.js",[],["173","174"],"C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\App.js",["175","176"],"import React, {Component} from 'react';\r\nimport Layout from './containers/Layout/Layout';\r\nimport BurgerBuilder from \"./containers/BurgerBuilder/BurgerBuilder\";\r\nimport Checkout from './containers/Checkout/Checkout';\r\nimport { Route, Switch, withRouter, Redirect } from 'react-router-dom';\r\nimport Orders from './containers/Orders/Orders';\r\nimport Auth from './containers/Auth/Auth';\r\nimport Logout from './containers/Auth/Logout/Logout';\r\nimport { connect } from 'react-redux';\r\nimport * as actions from './store/actions/index';\r\nimport asyncComponent from \"./hoc/asyncComponent/asyncComponent\";\r\n\r\nconst asyncCheckout = asyncComponent(() => {\r\n return import('./containers/Checkout/Checkout');\r\n});\r\n\r\nconst asyncOrders = asyncComponent(() => {\r\n return import('./containers/Orders/Orders');\r\n});\r\n\r\nconst asyncAuth = asyncComponent(() => {\r\n return import('./containers/Auth/Auth');\r\n});\r\n\r\nclass App extends Component {\r\n componentDidMount() {\r\n this.props.onTryAutoSignup();\r\n }\r\n\r\n render(){\r\n let routes=(\r\n <Switch>\r\n <Route path=\"/auth\" component={Auth} />\r\n <Route path=\"/\" exact component={BurgerBuilder} />\r\n <Redirect to = \"/\" />\r\n </Switch>\r\n );\r\n if (this.props.isAuthenticated) {\r\n routes = (\r\n <Switch>\r\n <Route path=\"/checkout\" component={asyncCheckout} />\r\n <Route path=\"/orders\" component={asyncOrders} />\r\n <Route path=\"/logout\" component={Logout} />\r\n <Route path=\"/auth\" component={asyncAuth} />\r\n <Route path=\"/\" exact component={BurgerBuilder} />\r\n <Redirect to = \"/\" />\r\n </Switch>\r\n );\r\n }\r\n\r\n return (\r\n <Layout>\r\n {routes}\r\n </Layout>\r\n );\r\n }\r\n}\r\n\r\nconst mapStateToProps = state => {\r\n return {\r\n isAuthenticated: state.auth.token !== null\r\n };\r\n};\r\n\r\nconst mapDispatchToProps = dispatch => {\r\n return {\r\n onTryAutoSignup: () => dispatch(actions.authCheckState())\r\n }\r\n}\r\n\r\nexport default withRouter(connect(mapStateToProps, mapDispatchToProps)(App));\r\n","C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\reportWebVitals.js",[],"C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\containers\\BurgerBuilder\\BurgerBuilder.js",[],"C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\components\\Burger\\Burger.js",[],"C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\components\\Burger\\BurgerIngredient\\BurgerIngredient.js",[],"C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\components\\Burger\\BuildControls\\BuildControls.js",[],"C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\components\\Burger\\BuildControls\\BuildControl\\BuildControl.js",[],"C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\components\\UI\\Modal\\Modal.js",[],"C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\components\\UI\\Backdrop\\Backdrop.js",[],"C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\components\\UI\\Button\\Button.js",[],"C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\components\\Navigation\\Toolbar\\Toolbar.js",["177"],"import React from 'react';\r\nimport styles from './Toolbar.module.css';\r\nimport Logo from '../../Logo/Logo';\r\nimport NavigationItems from '../NavigationItems/NavigationItems';\r\nimport ToggleButton from \"../ToggleButton/Togglebutton\";\r\nimport Backdrop from \"../../UI/Backdrop/Backdrop\";\r\n\r\n\r\n\r\nconst toolbar =(props) => (\r\n <header className={styles.Toolbar}>\r\n \r\n <ToggleButton clicked={props.drawerToggleClicked}/>\r\n \r\n\r\n <div className={styles.Logo}>\r\n <Logo/>\r\n </div>\r\n\r\n <nav className={styles.DesktopOnly}>\r\n <NavigationItems isAuthenticated={props.isAuth}/>\r\n </nav>\r\n\r\n </header>\r\n)\r\n\r\nexport default toolbar;\r\n","C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\components\\Logo\\Logo.js",[],"C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\components\\Navigation\\NavigationItems\\NavigationItems.js",[],"C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\components\\Navigation\\NavigationItems\\NavigationItem\\NavigationItem.js",[],"C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\components\\Navigation\\SideDrawer\\SideDrawer.js",["178"],"import React from 'react';\r\nimport Logo from '../../Logo/Logo';\r\nimport NavigationItems from '../NavigationItems/NavigationItems';\r\nimport styles from './SideDrawer.module.css';\r\nimport Backdrop from '../../UI/Backdrop/Backdrop';\r\nimport Aux from '../../../hoc/Auxiliary/Auxiliary';\r\n\r\nconst sideDrawer =(props) =>{\r\n let attachedClasses =[styles.SideDrawer, styles.Close];\r\n if(props.open){\r\n attachedClasses =[ styles.SideDrawer, styles.Open];\r\n\r\n }\r\n return(\r\n <Aux>\r\n <Backdrop show={props.open} clicked={props.closed}/>\r\n <div className={attachedClasses. join(' ')} onClick={props.closed}>\r\n <div className={styles.Logo}>\r\n <Logo />\r\n </div>\r\n <nav>\r\n <NavigationItems isAuthenticated={props.isAuth} />\r\n </nav>\r\n </div>\r\n </Aux>\r\n )\r\n};\r\n\r\n\r\nexport default sideDrawer;\r\n","C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\components\\Navigation\\ToggleButton\\Togglebutton.js",[],"C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\containers\\Layout\\Layout.js",[],"C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\components\\Burger\\OrderSummary\\OrderSummary.js",[],"C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\hoc\\Auxiliary\\Auxiliary.js",["179"],"import React from 'react';\r\n\r\nconst aux = (props) => props.children;\r\n\r\nexport default aux;\r\n","C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\axios-orders.js",[],"C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\components\\UI\\Spinner\\Spinner.js",[],"C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\hoc\\withErrorHandler\\withErrorHandler.js",[],"C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\containers\\Checkout\\Checkout.js",[],"C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\components\\Order\\CheckoutSummary\\CheckoutSummary.js",[],"C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\containers\\Checkout\\ContactData\\ContactData.js",[],"C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\containers\\Orders\\Orders.js",[],"C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\components\\Order\\Order.js",[],"C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\components\\UI\\Input\\Input.js",[],"C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\store\\reducers\\burgerBuilder.js",[],"C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\store\\actions\\actionTypes.js",[],"C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\store\\actions\\burgerBuilder.js",[],"C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\store\\actions\\index.js",[],"C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\store\\actions\\order.js",[],"C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\store\\reducers\\order.js",[],"C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\containers\\Auth\\Auth.js",[],"C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\store\\actions\\auth.js",[],"C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\store\\reducers\\auth.js",["180"],"import * as actionTypes from '../actions/actionTypes';\r\nimport * as actions from '../actions/index';\r\nimport { updateObject } from '../../shared/utility';\r\n\r\nconst initialState = {\r\n token: null,\r\n userId: null,\r\n error: null,\r\n loading: false,\r\n authRedirectPath: '/'\r\n};\r\n\r\nconst authStart = (state, action) => {\r\n return updateObject(state, {error: null, loading: true});\r\n};\r\n\r\nconst authSuccess = (state, action) => {\r\n return updateObject(state, {\r\n token: action.idToken,\r\n userId: action.userId,\r\n error: null,\r\n loading: false\r\n });\r\n};\r\n\r\nconst authFail = (state, action) => {\r\n return updateObject(state, {\r\n error: action.error,\r\n loading: false\r\n });\r\n};\r\n\r\nconst authLogout = (state, action) => {\r\n return updateObject( state, {token: null, userId: null});\r\n};\r\n\r\nconst setAuthRedirectPath = (state, action) => {\r\n return updateObject(state, {authRedirectPath: action.path})\r\n\r\n}\r\n\r\nconst reducer = (state=initialState, action) => {\r\n switch(action.type){\r\n case actionTypes.AUTH_START: return authStart(state, action);\r\n case actionTypes.AUTH_FAIL: return authFail(state, action);\r\n case actionTypes.AUTH_SUCCESS: return authSuccess(state, action);\r\n case actionTypes.AUTH_LOGOUT: return authLogout(state, action);\r\n case actionTypes.SET_AUTH_REDIRECT_PATH: return setAuthRedirectPath(state, action);\r\n default:\r\n return state;\r\n\r\n }\r\n};\r\n\r\nexport default reducer;\r\n","C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\containers\\Auth\\Logout\\Logout.js",[],"C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\shared\\utility.js",[],"C:\\Users\\Home\\Documents\\Yulia\\burger-bulider\\src\\hoc\\asyncComponent\\asyncComponent.js",["181"],"import React, { Component } from 'react';\r\n\r\nconst asyncComponent = (importComponent) => {\r\n return class extends Component {\r\n state= {\r\n component: null\r\n }\r\n\r\n componentDidMount() {\r\n importComponent()\r\n .then(cmp => {\r\n this.setState ({ component: cmp.default});\r\n });\r\n }\r\n\r\n render(){\r\n const C = this. state.component;\r\n\r\n return C ? <C {...this.props} /> :null\r\n }\r\n\r\n }\r\n}\r\nexport default asyncComponent;",{"ruleId":"182","replacedBy":"183"},{"ruleId":"184","replacedBy":"185"},{"ruleId":"186","severity":1,"message":"187","line":4,"column":8,"nodeType":"188","messageId":"189","endLine":4,"endColumn":16},{"ruleId":"186","severity":1,"message":"190","line":6,"column":8,"nodeType":"188","messageId":"189","endLine":6,"endColumn":14},{"ruleId":"186","severity":1,"message":"191","line":6,"column":8,"nodeType":"188","messageId":"189","endLine":6,"endColumn":16},{"ruleId":"192","severity":1,"message":"193","line":17,"column":25,"nodeType":"194","messageId":"195","endLine":17,"endColumn":46,"fix":"196"},{"ruleId":"186","severity":1,"message":"197","line":1,"column":8,"nodeType":"188","messageId":"189","endLine":1,"endColumn":13},{"ruleId":"186","severity":1,"message":"198","line":2,"column":13,"nodeType":"188","messageId":"189","endLine":2,"endColumn":20},{"ruleId":"192","severity":1,"message":"199","line":17,"column":23,"nodeType":"194","messageId":"195","endLine":17,"endColumn":34,"fix":"200"},"no-native-reassign",["201"],"no-negated-in-lhs",["202"],"no-unused-vars","'Checkout' is defined but never used.","Identifier","unusedVar","'Orders' is defined but never used.","'Backdrop' is defined but never used.","no-whitespace-before-property","Unexpected whitespace before property join.","MemberExpression","unexpectedWhitespace",{"range":"203","text":"204"},"'React' is defined but never used.","'actions' is defined but never used.","Unexpected whitespace before property state.",{"range":"205","text":"204"},"no-global-assign","no-unsafe-negation",[598,600],".",[427,429]]