-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintcache
1 lines (1 loc) · 29.2 KB
/
.eslintcache
1
[{"D:\\REACT\\ecommerce2\\src\\reducers\\cartReducers.js":"1","D:\\REACT\\ecommerce2\\src\\screens\\ProductEditScreen.js":"2","D:\\REACT\\ecommerce2\\src\\constants\\productsConstants.js":"3","D:\\REACT\\ecommerce2\\src\\reducers\\productReducers.js":"4","D:\\REACT\\ecommerce2\\src\\screens\\ProductListScreen.js":"5","D:\\REACT\\ecommerce2\\src\\reportWebVitals.js":"6","D:\\REACT\\ecommerce2\\src\\reducers\\userReducers.js":"7","D:\\REACT\\ecommerce2\\src\\screens\\LoginScreen.js":"8","D:\\REACT\\ecommerce2\\src\\screens\\PlaceOrderScreen.js":"9","D:\\REACT\\ecommerce2\\src\\constants\\cartConstants.js":"10","D:\\REACT\\ecommerce2\\src\\products.js":"11","D:\\REACT\\ecommerce2\\src\\actions\\userActions.js":"12","D:\\REACT\\ecommerce2\\src\\index.js":"13","D:\\REACT\\ecommerce2\\src\\actions\\cartActions.js":"14","D:\\REACT\\ecommerce2\\src\\screens\\HomeScreen.js":"15","D:\\REACT\\ecommerce2\\src\\screens\\RegisterScreen.js":"16","D:\\REACT\\ecommerce2\\src\\screens\\UserListScreen.js":"17","D:\\REACT\\ecommerce2\\src\\components\\FormContainer.js":"18","D:\\REACT\\ecommerce2\\src\\actions\\productActions.js":"19","D:\\REACT\\ecommerce2\\src\\constants\\orderConstants.js":"20","D:\\REACT\\ecommerce2\\src\\reducers\\orderReducers.js":"21","D:\\REACT\\ecommerce2\\src\\store.js":"22","D:\\REACT\\ecommerce2\\src\\actions\\orderActions.js":"23","D:\\REACT\\ecommerce2\\src\\screens\\OrderListScreen.js":"24","D:\\REACT\\ecommerce2\\src\\components\\Footer.js":"25","D:\\REACT\\ecommerce2\\src\\screens\\PaymentScreen.js":"26","D:\\REACT\\ecommerce2\\src\\components\\CheckoutSteps.js":"27","D:\\REACT\\ecommerce2\\src\\screens\\OrderScreen.js":"28","D:\\REACT\\ecommerce2\\src\\screens\\CartScreen.js":"29","D:\\REACT\\ecommerce2\\src\\screens\\UserEditScreen.js":"30","D:\\REACT\\ecommerce2\\src\\screens\\ProductScreen.js":"31"},{"size":1308,"mtime":1625452820990,"results":"32","hashOfConfig":"33"},{"size":6301,"mtime":1627192972681,"results":"34","hashOfConfig":"33"},{"size":1431,"mtime":1627952744422,"results":"35","hashOfConfig":"33"},{"size":3870,"mtime":1627954225016,"results":"36","hashOfConfig":"33"},{"size":3772,"mtime":1626936439705,"results":"37","hashOfConfig":"33"},{"size":362,"mtime":1611429724644,"results":"38","hashOfConfig":"33"},{"size":4135,"mtime":1626655354435,"results":"39","hashOfConfig":"33"},{"size":2243,"mtime":1625103750124,"results":"40","hashOfConfig":"33"},{"size":5233,"mtime":1625629214261,"results":"41","hashOfConfig":"33"},{"size":236,"mtime":1625452753864,"results":"42","hashOfConfig":"33"},{"size":2486,"mtime":1599578386000,"results":"43","hashOfConfig":"33"},{"size":8144,"mtime":1626934632408,"results":"44","hashOfConfig":"33"},{"size":687,"mtime":1625888176967,"results":"45","hashOfConfig":"33"},{"size":1499,"mtime":1625452795055,"results":"46","hashOfConfig":"33"},{"size":1118,"mtime":1624329001507,"results":"47","hashOfConfig":"33"},{"size":3151,"mtime":1625268299035,"results":"48","hashOfConfig":"33"},{"size":2851,"mtime":1626934596174,"results":"49","hashOfConfig":"33"},{"size":396,"mtime":1625099569657,"results":"50","hashOfConfig":"33"},{"size":5108,"mtime":1627953505374,"results":"51","hashOfConfig":"33"},{"size":986,"mtime":1627600140687,"results":"52","hashOfConfig":"33"},{"size":2901,"mtime":1627600173582,"results":"53","hashOfConfig":"33"},{"size":2331,"mtime":1627954257013,"results":"54","hashOfConfig":"33"},{"size":5819,"mtime":1627602568763,"results":"55","hashOfConfig":"33"},{"size":2942,"mtime":1627274117748,"results":"56","hashOfConfig":"33"},{"size":376,"mtime":1611431723225,"results":"57","hashOfConfig":"33"},{"size":1601,"mtime":1625628427696,"results":"58","hashOfConfig":"33"},{"size":1266,"mtime":1625451253183,"results":"59","hashOfConfig":"33"},{"size":6558,"mtime":1627603243756,"results":"60","hashOfConfig":"33"},{"size":4118,"mtime":1624672434015,"results":"61","hashOfConfig":"33"},{"size":3148,"mtime":1626663504574,"results":"62","hashOfConfig":"33"},{"size":6772,"mtime":1627958265984,"results":"63","hashOfConfig":"33"},{"filePath":"64","messages":"65","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"66"},"xvdhna",{"filePath":"67","messages":"68","errorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"69","messages":"70","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"71","messages":"72","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"73","messages":"74","errorCount":0,"warningCount":5,"fixableErrorCount":0,"fixableWarningCount":0,"source":"75","usedDeprecatedRules":"76"},{"filePath":"77","messages":"78","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"66"},{"filePath":"79","messages":"80","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"66"},{"filePath":"81","messages":"82","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"83","messages":"84","errorCount":0,"warningCount":11,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"85","messages":"86","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"76"},{"filePath":"87","messages":"88","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"89","messages":"90","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"91","messages":"92","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"93","messages":"94","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"95","messages":"96","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"97","messages":"98","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"99","messages":"100","errorCount":0,"warningCount":7,"fixableErrorCount":0,"fixableWarningCount":0,"source":"101","usedDeprecatedRules":"76"},{"filePath":"102","messages":"103","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"104","messages":"105","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"106","messages":"107","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"108","messages":"109","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"110","messages":"111","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"112","messages":"113","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"114","messages":"115","errorCount":0,"warningCount":9,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"116","messages":"117","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"118","messages":"119","errorCount":0,"warningCount":7,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"120","messages":"121","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"122","messages":"123","errorCount":0,"warningCount":18,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"124","messages":"125","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"126","messages":"127","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"128","messages":"129","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},"D:\\REACT\\ecommerce2\\src\\reducers\\cartReducers.js",[],["130","131"],"D:\\REACT\\ecommerce2\\src\\screens\\ProductEditScreen.js",["132","133","134","135"],"D:\\REACT\\ecommerce2\\src\\constants\\productsConstants.js",[],"D:\\REACT\\ecommerce2\\src\\reducers\\productReducers.js",[],"D:\\REACT\\ecommerce2\\src\\screens\\ProductListScreen.js",["136","137","138","139","140"],"import React, { useState, useEffect } from \"react\";\r\nimport { Form, Button, Row, Col, Table } from \"react-bootstrap\";\r\nimport { Link } from \"react-router-dom\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { listProducts,deleteProduct,createProduct } from \"../actions/productActions\";\r\nimport { FormContainer } from \"../components/FormContainer\";\r\nimport { LinkContainer } from \"react-router-bootstrap\";\r\nimport { PRODUCT_CREATE_RESET, PRODUCT_DETAILS_RESET } from \"../constants/productsConstants\";\r\n\r\nexport const ProductListScreen = ({ history, match }) => {\r\n const dispatch = useDispatch();\r\n\r\n const productList = useSelector((state) => state.productList);\r\n const { loading, error, products } = productList;\r\n\r\n const productDelete = useSelector((state) => state.productDelete);\r\n\r\n const { loading:loadingDelete, error:errorDelete, success:successDelete } = productDelete;\r\n\r\n const productCreate = useSelector((state) => state.productCreate);\r\n\r\n const { loading:loadingCreate, error:errorCreate, success:successCreate,product:createdProduct } = productCreate;\r\n\r\n const userLogin = useSelector((state) => state.userLogin);\r\n const { userInfo } = userLogin;\r\n\r\n useEffect(() => {\r\n dispatch({type:PRODUCT_CREATE_RESET})\r\n \r\n if (!userInfo.isAdmin) {\r\n history.push('/login')\r\n \r\n }\r\n \r\n if (successCreate) {\r\n history.push(`/admin/product/${createdProduct._id}/edit`)\r\n }else{\r\n dispatch(listProducts());\r\n }\r\n }, [dispatch, history, userInfo,successDelete,successCreate,createdProduct]);\r\n\r\n const deleteHandler = (id) => {\r\n if (window.confirm(\"are you sure\")) {\r\n dispatch(deleteProduct(id))\r\n }\r\n };\r\n\r\n const createProductHandler= () =>{\r\n dispatch(createProduct())\r\n }\r\n \r\n\r\n return (\r\n <>\r\n <Row className=\"align-items-center\">\r\n <Col>\r\n <h1>products</h1>\r\n </Col>\r\n <Col className=\"text-right\">\r\n <Button onClick={createProductHandler}>\r\n <i className=\"fa fa-plus\"></i>Create product\r\n </Button>\r\n </Col>\r\n </Row>\r\n <h1>Users</h1>\r\n\r\n \r\n\r\n\r\n {loadingDelete && <p>loading...</p>}\r\n {errorDelete && <p>{errorDelete}</p>}\r\n\r\n {loadingCreate && <p>loading...</p>}\r\n {errorCreate && <p>{errorCreate}</p>}\r\n\r\n {loading ? (\r\n <p>loading...</p>\r\n ) : error ? (\r\n <p>{error}</p>\r\n ) : (\r\n <Table striped bordered hover responsive className=\"table-sm\">\r\n <thead>\r\n <tr>\r\n <th>ID</th>\r\n <th>NAME</th>\r\n <th>PRICE</th>\r\n <th>CATEGORY</th>\r\n <th>BRAND</th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n {products.map((product) => (\r\n <tr key={product._id}>\r\n <td>{product._id}</td>\r\n <td>{product.name}</td>\r\n <td>${product.price}</td>\r\n <td>\r\n {product.category}\r\n \r\n </td>\r\n <td>{product.brand}</td>\r\n <td>\r\n <LinkContainer to={`/admin/product/${product._id}/edit`}>\r\n <Button variant=\"light\" className=\"btn-sm\">\r\n <i className=\"fas fa-edit\"></i>\r\n </Button>\r\n </LinkContainer>\r\n <Button\r\n variant=\"danger\"\r\n className=\"btn-sm\"\r\n onClick={() => deleteHandler(product._id)}\r\n >\r\n <i className=\"fas fa-trash\"></i>\r\n </Button>\r\n </td>\r\n </tr>\r\n ))}\r\n </tbody>\r\n </Table>\r\n )}\r\n </>\r\n );\r\n};\r\n",["141","142"],"D:\\REACT\\ecommerce2\\src\\reportWebVitals.js",[],"D:\\REACT\\ecommerce2\\src\\reducers\\userReducers.js",[],"D:\\REACT\\ecommerce2\\src\\screens\\LoginScreen.js",["143"],"D:\\REACT\\ecommerce2\\src\\screens\\PlaceOrderScreen.js",["144","145","146","147","148","149","150","151","152","153","154"],"D:\\REACT\\ecommerce2\\src\\constants\\cartConstants.js",[],"D:\\REACT\\ecommerce2\\src\\products.js",[],"D:\\REACT\\ecommerce2\\src\\actions\\userActions.js",["155"],"D:\\REACT\\ecommerce2\\src\\index.js",["156","157"],"D:\\REACT\\ecommerce2\\src\\actions\\cartActions.js",["158"],"D:\\REACT\\ecommerce2\\src\\screens\\HomeScreen.js",["159","160"],"D:\\REACT\\ecommerce2\\src\\screens\\RegisterScreen.js",["161"],"D:\\REACT\\ecommerce2\\src\\screens\\UserListScreen.js",["162","163","164","165","166","167","168"],"import React, { useState, useEffect } from \"react\";\r\nimport { Form, Button, Row, Col, Table } from \"react-bootstrap\";\r\nimport { Link } from \"react-router-dom\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { listUsers, register,deleteUser } from \"../actions/userActions\";\r\nimport { FormContainer } from \"../components/FormContainer\";\r\nimport { LinkContainer } from \"react-router-bootstrap\";\r\n\r\nexport const UserListScreen = ({ history}) => {\r\n const dispatch = useDispatch();\r\n\r\n const userList = useSelector((state) => state.userList);\r\n const { loading, error, users } = userList;\r\n\r\n const userLogin = useSelector(state => state.userLogin)\r\n const { userInfo } = userLogin;\r\n\r\n const userDelete = useSelector(state => state.userDelete)\r\n const { success:successDelete} = userDelete;\r\n\r\n\r\n useEffect(() => {\r\n\r\n if (userInfo && userInfo.isAdmin) {\r\n console.log('is admin');\r\n dispatch(listUsers());\r\n \r\n } else {\r\n history.push('/login')\r\n }\r\n\r\n\r\n \r\n }, [dispatch,history,successDelete,userInfo]);\r\n\r\n const deleteHandler = (id) => {\r\n\r\n console.log('id delete',id);\r\n\r\n if (window.confirm('are you sure')) {\r\n dispatch(deleteUser(id))\r\n\r\n \r\n }\r\n }\r\n\r\n return (\r\n <>\r\n <h1>Users</h1>\r\n {loading ? (\r\n <p>loading...</p>\r\n ) : error ? (\r\n <p>{error}</p>\r\n ) : (\r\n <Table striped bordered hover responsive className=\"table-sm\">\r\n <thead>\r\n <tr>\r\n <th>ID</th>\r\n <th>NAME</th>\r\n <th>EMAIL</th>\r\n <th>ADMIN</th>\r\n <th></th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n {users.map((user) => (\r\n <tr key={user._id}>\r\n <td>{user._id}</td>\r\n <td>{user.name}</td>\r\n <td>{user.email}</td>\r\n <td>\r\n {user.isAdmin ? (\r\n <i className=\"fas fa-check\" style={{ color: \"green\" }}></i>\r\n ) : (\r\n <i className=\"fas fa-times\" style={{ color: \"red\" }}></i>\r\n )}\r\n </td>\r\n <td>\r\n <LinkContainer to={`/admin/user/${user._id}/edit`}>\r\n <Button variant=\"light\" className=\"btn-sm\">\r\n <i className=\"fas fa-edit\"></i>\r\n </Button>\r\n </LinkContainer>\r\n <Button\r\n variant=\"danger\"\r\n className=\"btn-sm\"\r\n onClick={() => deleteHandler(user._id)}\r\n >\r\n <i className=\"fas fa-trash\"></i>\r\n </Button>\r\n </td>\r\n </tr>\r\n ))}\r\n </tbody>\r\n </Table>\r\n )}\r\n </>\r\n );\r\n};\r\n","D:\\REACT\\ecommerce2\\src\\components\\FormContainer.js",["169","170"],"D:\\REACT\\ecommerce2\\src\\actions\\productActions.js",[],"D:\\REACT\\ecommerce2\\src\\constants\\orderConstants.js",[],"D:\\REACT\\ecommerce2\\src\\reducers\\orderReducers.js",["171"],"D:\\REACT\\ecommerce2\\src\\store.js",[],"D:\\REACT\\ecommerce2\\src\\actions\\orderActions.js",[],"D:\\REACT\\ecommerce2\\src\\screens\\OrderListScreen.js",["172","173","174","175","176","177","178","179","180"],"D:\\REACT\\ecommerce2\\src\\components\\Footer.js",[],"D:\\REACT\\ecommerce2\\src\\screens\\PaymentScreen.js",["181","182","183","184","185","186","187"],"D:\\REACT\\ecommerce2\\src\\components\\CheckoutSteps.js",[],"D:\\REACT\\ecommerce2\\src\\screens\\OrderScreen.js",["188","189","190","191","192","193","194","195","196","197","198","199","200","201","202","203","204","205"],"D:\\REACT\\ecommerce2\\src\\screens\\CartScreen.js",["206"],"D:\\REACT\\ecommerce2\\src\\screens\\UserEditScreen.js",["207"],"D:\\REACT\\ecommerce2\\src\\screens\\ProductScreen.js",["208"],{"ruleId":"209","replacedBy":"210"},{"ruleId":"211","replacedBy":"212"},{"ruleId":"213","severity":1,"message":"214","line":5,"column":10,"nodeType":"215","messageId":"216","endLine":5,"endColumn":24},{"ruleId":"213","severity":1,"message":"217","line":5,"column":25,"nodeType":"215","messageId":"216","endLine":5,"endColumn":35},{"ruleId":"213","severity":1,"message":"218","line":7,"column":10,"nodeType":"215","messageId":"216","endLine":7,"endColumn":27},{"ruleId":"213","severity":1,"message":"219","line":16,"column":7,"nodeType":"215","messageId":"216","endLine":16,"endColumn":15},{"ruleId":"213","severity":1,"message":"220","line":1,"column":17,"nodeType":"215","messageId":"216","endLine":1,"endColumn":25},{"ruleId":"213","severity":1,"message":"221","line":2,"column":10,"nodeType":"215","messageId":"216","endLine":2,"endColumn":14},{"ruleId":"213","severity":1,"message":"222","line":3,"column":10,"nodeType":"215","messageId":"216","endLine":3,"endColumn":14},{"ruleId":"213","severity":1,"message":"223","line":6,"column":10,"nodeType":"215","messageId":"216","endLine":6,"endColumn":23},{"ruleId":"213","severity":1,"message":"224","line":8,"column":32,"nodeType":"215","messageId":"216","endLine":8,"endColumn":53},{"ruleId":"209","replacedBy":"225"},{"ruleId":"211","replacedBy":"226"},{"ruleId":"213","severity":1,"message":"227","line":19,"column":12,"nodeType":"215","messageId":"216","endLine":19,"endColumn":19},{"ruleId":"213","severity":1,"message":"220","line":1,"column":28,"nodeType":"215","messageId":"216","endLine":1,"endColumn":36},{"ruleId":"213","severity":1,"message":"228","line":3,"column":3,"nodeType":"215","messageId":"216","endLine":3,"endColumn":16},{"ruleId":"213","severity":1,"message":"221","line":4,"column":3,"nodeType":"215","messageId":"216","endLine":4,"endColumn":7},{"ruleId":"213","severity":1,"message":"229","line":12,"column":10,"nodeType":"215","messageId":"216","endLine":12,"endColumn":19},{"ruleId":"213","severity":1,"message":"230","line":12,"column":21,"nodeType":"215","messageId":"216","endLine":12,"endColumn":24},{"ruleId":"213","severity":1,"message":"231","line":12,"column":26,"nodeType":"215","messageId":"216","endLine":12,"endColumn":32},{"ruleId":"213","severity":1,"message":"232","line":12,"column":34,"nodeType":"215","messageId":"216","endLine":12,"endColumn":45},{"ruleId":"213","severity":1,"message":"233","line":14,"column":10,"nodeType":"215","messageId":"216","endLine":14,"endColumn":27},{"ruleId":"213","severity":1,"message":"234","line":15,"column":10,"nodeType":"215","messageId":"216","endLine":15,"endColumn":16},{"ruleId":"213","severity":1,"message":"223","line":17,"column":10,"nodeType":"215","messageId":"216","endLine":17,"endColumn":23},{"ruleId":"235","severity":1,"message":"236","line":47,"column":6,"nodeType":"237","endLine":47,"endColumn":23,"suggestions":"238"},{"ruleId":"213","severity":1,"message":"239","line":267,"column":13,"nodeType":"215","messageId":"216","endLine":267,"endColumn":16},{"ruleId":"213","severity":1,"message":"240","line":9,"column":10,"nodeType":"215","messageId":"216","endLine":9,"endColumn":30},{"ruleId":"213","severity":1,"message":"241","line":9,"column":32,"nodeType":"215","messageId":"216","endLine":9,"endColumn":45},{"ruleId":"213","severity":1,"message":"242","line":1,"column":8,"nodeType":"215","messageId":"216","endLine":1,"endColumn":13},{"ruleId":"213","severity":1,"message":"220","line":1,"column":15,"nodeType":"215","messageId":"216","endLine":1,"endColumn":23},{"ruleId":"213","severity":1,"message":"243","line":4,"column":8,"nodeType":"215","messageId":"216","endLine":4,"endColumn":16},{"ruleId":"213","severity":1,"message":"227","line":20,"column":11,"nodeType":"215","messageId":"216","endLine":20,"endColumn":18},{"ruleId":"213","severity":1,"message":"220","line":1,"column":17,"nodeType":"215","messageId":"216","endLine":1,"endColumn":25},{"ruleId":"213","severity":1,"message":"221","line":2,"column":10,"nodeType":"215","messageId":"216","endLine":2,"endColumn":14},{"ruleId":"213","severity":1,"message":"244","line":2,"column":24,"nodeType":"215","messageId":"216","endLine":2,"endColumn":27},{"ruleId":"213","severity":1,"message":"245","line":2,"column":29,"nodeType":"215","messageId":"216","endLine":2,"endColumn":32},{"ruleId":"213","severity":1,"message":"222","line":3,"column":10,"nodeType":"215","messageId":"216","endLine":3,"endColumn":14},{"ruleId":"213","severity":1,"message":"246","line":5,"column":21,"nodeType":"215","messageId":"216","endLine":5,"endColumn":29},{"ruleId":"213","severity":1,"message":"223","line":6,"column":10,"nodeType":"215","messageId":"216","endLine":6,"endColumn":23},{"ruleId":"213","severity":1,"message":"221","line":2,"column":10,"nodeType":"215","messageId":"216","endLine":2,"endColumn":14},{"ruleId":"213","severity":1,"message":"247","line":2,"column":15,"nodeType":"215","messageId":"216","endLine":2,"endColumn":21},{"ruleId":"213","severity":1,"message":"242","line":1,"column":8,"nodeType":"215","messageId":"216","endLine":1,"endColumn":13},{"ruleId":"213","severity":1,"message":"220","line":1,"column":17,"nodeType":"215","messageId":"216","endLine":1,"endColumn":25},{"ruleId":"213","severity":1,"message":"221","line":2,"column":10,"nodeType":"215","messageId":"216","endLine":2,"endColumn":14},{"ruleId":"213","severity":1,"message":"244","line":2,"column":24,"nodeType":"215","messageId":"216","endLine":2,"endColumn":27},{"ruleId":"213","severity":1,"message":"245","line":2,"column":29,"nodeType":"215","messageId":"216","endLine":2,"endColumn":32},{"ruleId":"213","severity":1,"message":"222","line":3,"column":10,"nodeType":"215","messageId":"216","endLine":3,"endColumn":14},{"ruleId":"213","severity":1,"message":"248","line":5,"column":10,"nodeType":"215","messageId":"216","endLine":5,"endColumn":19},{"ruleId":"213","severity":1,"message":"246","line":5,"column":21,"nodeType":"215","messageId":"216","endLine":5,"endColumn":29},{"ruleId":"213","severity":1,"message":"249","line":5,"column":30,"nodeType":"215","messageId":"216","endLine":5,"endColumn":40},{"ruleId":"213","severity":1,"message":"223","line":6,"column":10,"nodeType":"215","messageId":"216","endLine":6,"endColumn":23},{"ruleId":"213","severity":1,"message":"250","line":1,"column":17,"nodeType":"215","messageId":"216","endLine":1,"endColumn":26},{"ruleId":"213","severity":1,"message":"228","line":2,"column":10,"nodeType":"215","messageId":"216","endLine":2,"endColumn":23},{"ruleId":"213","severity":1,"message":"229","line":3,"column":10,"nodeType":"215","messageId":"216","endLine":3,"endColumn":19},{"ruleId":"213","severity":1,"message":"230","line":3,"column":21,"nodeType":"215","messageId":"216","endLine":3,"endColumn":24},{"ruleId":"213","severity":1,"message":"231","line":3,"column":26,"nodeType":"215","messageId":"216","endLine":3,"endColumn":32},{"ruleId":"213","severity":1,"message":"232","line":3,"column":42,"nodeType":"215","messageId":"216","endLine":3,"endColumn":53},{"ruleId":"213","severity":1,"message":"234","line":6,"column":10,"nodeType":"215","messageId":"216","endLine":6,"endColumn":16},{"ruleId":"213","severity":1,"message":"228","line":3,"column":3,"nodeType":"215","messageId":"216","endLine":3,"endColumn":16},{"ruleId":"213","severity":1,"message":"221","line":4,"column":3,"nodeType":"215","messageId":"216","endLine":4,"endColumn":7},{"ruleId":"213","severity":1,"message":"229","line":12,"column":10,"nodeType":"215","messageId":"216","endLine":12,"endColumn":19},{"ruleId":"213","severity":1,"message":"230","line":12,"column":21,"nodeType":"215","messageId":"216","endLine":12,"endColumn":24},{"ruleId":"213","severity":1,"message":"231","line":12,"column":26,"nodeType":"215","messageId":"216","endLine":12,"endColumn":32},{"ruleId":"213","severity":1,"message":"232","line":12,"column":34,"nodeType":"215","messageId":"216","endLine":12,"endColumn":45},{"ruleId":"213","severity":1,"message":"233","line":14,"column":10,"nodeType":"215","messageId":"216","endLine":14,"endColumn":27},{"ruleId":"213","severity":1,"message":"234","line":15,"column":10,"nodeType":"215","messageId":"216","endLine":15,"endColumn":16},{"ruleId":"213","severity":1,"message":"251","line":16,"column":10,"nodeType":"215","messageId":"216","endLine":16,"endColumn":23},{"ruleId":"213","severity":1,"message":"223","line":17,"column":10,"nodeType":"215","messageId":"216","endLine":17,"endColumn":23},{"ruleId":"213","severity":1,"message":"252","line":21,"column":10,"nodeType":"215","messageId":"216","endLine":21,"endColumn":22},{"ruleId":"213","severity":1,"message":"253","line":32,"column":10,"nodeType":"215","messageId":"216","endLine":32,"endColumn":18},{"ruleId":"213","severity":1,"message":"254","line":32,"column":20,"nodeType":"215","messageId":"216","endLine":32,"endColumn":31},{"ruleId":"213","severity":1,"message":"255","line":33,"column":10,"nodeType":"215","messageId":"216","endLine":33,"endColumn":22},{"ruleId":"213","severity":1,"message":"256","line":33,"column":24,"nodeType":"215","messageId":"216","endLine":33,"endColumn":39},{"ruleId":"213","severity":1,"message":"257","line":45,"column":20,"nodeType":"215","messageId":"216","endLine":45,"endColumn":30},{"ruleId":"213","severity":1,"message":"258","line":52,"column":9,"nodeType":"215","messageId":"216","endLine":52,"endColumn":24},{"ruleId":"235","severity":1,"message":"259","line":81,"column":6,"nodeType":"237","endLine":81,"endColumn":59,"suggestions":"260"},{"ruleId":"213","severity":1,"message":"261","line":6,"column":10,"nodeType":"215","messageId":"216","endLine":6,"endColumn":23},{"ruleId":"213","severity":1,"message":"219","line":12,"column":7,"nodeType":"215","messageId":"216","endLine":12,"endColumn":15},{"ruleId":"262","severity":1,"message":"263","line":127,"column":40,"nodeType":"264","messageId":"265","endLine":127,"endColumn":41},"no-native-reassign",["266"],"no-negated-in-lhs",["267"],"no-unused-vars","'getUserDetails' is defined but never used.","Identifier","unusedVar","'updateUser' is defined but never used.","'USER_UPDATE_RESET' is defined but never used.","'location' is assigned a value but never used.","'useState' is defined but never used.","'Form' is defined but never used.","'Link' is defined but never used.","'FormContainer' is defined but never used.","'PRODUCT_DETAILS_RESET' is defined but never used.",["266"],["267"],"'loading' is assigned a value but never used.","'LinkContainer' is defined but never used.","'Container' is defined but never used.","'Nav' is defined but never used.","'Navbar' is defined but never used.","'NavDropdown' is defined but never used.","'savePaymentMethod' is defined but never used.","'logout' is defined but never used.","react-hooks/exhaustive-deps","React Hook useEffect has a missing dependency: 'order._id'. Either include it or remove the dependency array.","ArrayExpression",["268"],"'res' is assigned a value but never used.","'PayPalScriptProvider' is defined but never used.","'PayPalButtons' is defined but never used.","'React' is defined but never used.","'products' is defined but never used.","'Row' is defined but never used.","'Col' is defined but never used.","'register' is defined but never used.","'Button' is defined but never used.","'listUsers' is defined but never used.","'deleteUser' is defined but never used.","'useEffect' is defined but never used.","'CheckoutSteps' is defined but never used.","'PayPalButton' is defined but never used.","'sdkReady' is assigned a value but never used.","'setsdkReady' is assigned a value but never used.","'paypalLoaded' is assigned a value but never used.","'setPaypalLoaded' is assigned a value but never used.","'loadingPay' is assigned a value but never used.","'addPayPalScript' is assigned a value but never used.","React Hook useEffect has missing dependencies: 'history' and 'userInfo'. Either include them or remove the dependency array.",["269"],"'CART_ADD_ITEM' is defined but never used.","no-sequences","Unexpected use of comma operator.","SequenceExpression","unexpectedCommaExpression","no-global-assign","no-unsafe-negation",{"desc":"270","fix":"271"},{"desc":"272","fix":"273"},"Update the dependencies array to be: [history, order._id, success]",{"range":"274","text":"275"},"Update the dependencies array to be: [dispatch, orderId, successPay, order, successDeliver, userInfo, history]",{"range":"276","text":"277"},[1382,1399],"[history, order._id, success]",[2299,2352],"[dispatch, orderId, successPay, order, successDeliver, userInfo, history]"]