-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintcache
1 lines (1 loc) · 28.1 KB
/
.eslintcache
1
[{"G:\\React\\Job Task\\Fashion-Avenue\\src\\index.js":"1","G:\\React\\Job Task\\Fashion-Avenue\\src\\App.js":"2","G:\\React\\Job Task\\Fashion-Avenue\\src\\reportWebVitals.js":"3","G:\\React\\Job Task\\Fashion-Avenue\\src\\store.js":"4","G:\\React\\Job Task\\Fashion-Avenue\\src\\Navbar\\Navigations.js":"5","G:\\React\\Job Task\\Fashion-Avenue\\src\\Navbar\\Routers.js":"6","G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\PageNotFound\\PageNotFound.js":"7","G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\ShoppingCart\\Cart.js":"8","G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\Shop\\Shop.js":"9","G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\About\\About.js":"10","G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\Help\\Help.js":"11","G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\Home\\Home\\Home.js":"12","G:\\React\\Job Task\\Fashion-Avenue\\src\\reducers\\index.js":"13","G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\ShoppingCart\\Footer.js":"14","G:\\React\\Job Task\\Fashion-Avenue\\src\\actions\\cartActions.js":"15","G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\Home\\HeaderProduct\\HomePageProduct.js":"16","G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\Home\\HomeTagLine\\TagLine.js":"17","G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\Home\\FeatureProducts\\FeatureProducts.js":"18","G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\Home\\NewsLetter\\NewsLetter.js":"19","G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\Home\\Products\\ProductsPage.js":"20","G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\Home\\Products\\components\\Filter.js":"21","G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\Home\\Products\\components\\Products.js":"22","G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\Home\\Products\\components\\Basket.js":"23","G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\Home\\About\\About.js":"24","G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\Home\\Footer\\Footer\\Footer.js":"25","G:\\React\\Job Task\\Fashion-Avenue\\src\\reducers\\productReducers.js":"26","G:\\React\\Job Task\\Fashion-Avenue\\src\\reducers\\cartReducers.js":"27","G:\\React\\Job Task\\Fashion-Avenue\\src\\actions\\types.js":"28","G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\Home\\FeatureProducts\\Slider.js":"29","G:\\React\\Job Task\\Fashion-Avenue\\src\\actions\\productActions.js":"30","G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\Home\\Footer\\Right\\Right.js":"31","G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\Home\\Footer\\Left\\Left.js":"32","G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\Home\\FeatureProducts\\Card.js":"33","G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\Home\\Footer\\Right\\Discover\\Discover.js":"34","G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\Home\\Footer\\Right\\Company\\Company.js":"35","G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\Home\\Footer\\Right\\MainMenu\\MainMenu.js":"36","G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\Home\\Footer\\Right\\FindUsOn\\FindUsOn.js":"37"},{"size":562,"mtime":1611835311184,"results":"38","hashOfConfig":"39"},{"size":452,"mtime":1611835310900,"results":"40","hashOfConfig":"39"},{"size":362,"mtime":1611835311211,"results":"41","hashOfConfig":"39"},{"size":499,"mtime":1611835311217,"results":"42","hashOfConfig":"39"},{"size":3244,"mtime":1613621581694,"results":"43","hashOfConfig":"39"},{"size":1112,"mtime":1611835310916,"results":"44","hashOfConfig":"39"},{"size":175,"mtime":1611835311104,"results":"45","hashOfConfig":"39"},{"size":6160,"mtime":1612014821573,"results":"46","hashOfConfig":"39"},{"size":658,"mtime":1611835311113,"results":"47","hashOfConfig":"39"},{"size":965,"mtime":1611835310926,"results":"48","hashOfConfig":"39"},{"size":2904,"mtime":1611835310934,"results":"49","hashOfConfig":"39"},{"size":677,"mtime":1611835311045,"results":"50","hashOfConfig":"39"},{"size":222,"mtime":1611835311201,"results":"51","hashOfConfig":"39"},{"size":1667,"mtime":1611835311148,"results":"52","hashOfConfig":"39"},{"size":797,"mtime":1611835311160,"results":"53","hashOfConfig":"39"},{"size":1384,"mtime":1611835311038,"results":"54","hashOfConfig":"39"},{"size":372,"mtime":1611835311052,"results":"55","hashOfConfig":"39"},{"size":339,"mtime":1611835310956,"results":"56","hashOfConfig":"39"},{"size":1265,"mtime":1611835884749,"results":"57","hashOfConfig":"39"},{"size":583,"mtime":1611835311068,"results":"58","hashOfConfig":"39"},{"size":2451,"mtime":1611835311082,"results":"59","hashOfConfig":"39"},{"size":1394,"mtime":1611836115853,"results":"60","hashOfConfig":"39"},{"size":2475,"mtime":1611835311075,"results":"61","hashOfConfig":"39"},{"size":996,"mtime":1611835310941,"results":"62","hashOfConfig":"39"},{"size":581,"mtime":1611835310975,"results":"63","hashOfConfig":"39"},{"size":718,"mtime":1611835311205,"results":"64","hashOfConfig":"39"},{"size":348,"mtime":1611835311194,"results":"65","hashOfConfig":"39"},{"size":274,"mtime":1611835311174,"results":"66","hashOfConfig":"39"},{"size":1209,"mtime":1611835310965,"results":"67","hashOfConfig":"39"},{"size":1249,"mtime":1611835311167,"results":"68","hashOfConfig":"39"},{"size":837,"mtime":1611835311029,"results":"69","hashOfConfig":"39"},{"size":637,"mtime":1611835310985,"results":"70","hashOfConfig":"39"},{"size":340,"mtime":1611835310949,"results":"71","hashOfConfig":"39"},{"size":395,"mtime":1611835311006,"results":"72","hashOfConfig":"39"},{"size":385,"mtime":1611835310995,"results":"73","hashOfConfig":"39"},{"size":437,"mtime":1611835311023,"results":"74","hashOfConfig":"39"},{"size":391,"mtime":1611835311015,"results":"75","hashOfConfig":"39"},{"filePath":"76","messages":"77","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"78"},"19zbcnv",{"filePath":"79","messages":"80","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"78"},{"filePath":"81","messages":"82","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"78"},{"filePath":"83","messages":"84","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"78"},{"filePath":"85","messages":"86","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"87","messages":"88","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"78"},{"filePath":"89","messages":"90","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"78"},{"filePath":"91","messages":"92","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"78"},{"filePath":"93","messages":"94","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"95","usedDeprecatedRules":"78"},{"filePath":"96","messages":"97","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"78"},{"filePath":"98","messages":"99","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"78"},{"filePath":"100","messages":"101","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"78"},{"filePath":"102","messages":"103","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"78"},{"filePath":"104","messages":"105","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"78"},{"filePath":"106","messages":"107","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"78"},{"filePath":"108","messages":"109","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":"110","usedDeprecatedRules":"78"},{"filePath":"111","messages":"112","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"78"},{"filePath":"113","messages":"114","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"78"},{"filePath":"115","messages":"116","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"78"},{"filePath":"117","messages":"118","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"119","usedDeprecatedRules":"78"},{"filePath":"120","messages":"121","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"122","usedDeprecatedRules":"78"},{"filePath":"123","messages":"124","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"125","usedDeprecatedRules":"78"},{"filePath":"126","messages":"127","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"128","usedDeprecatedRules":"78"},{"filePath":"129","messages":"130","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"78"},{"filePath":"131","messages":"132","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"78"},{"filePath":"133","messages":"134","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"135","usedDeprecatedRules":"78"},{"filePath":"136","messages":"137","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"138","usedDeprecatedRules":"78"},{"filePath":"139","messages":"140","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"78"},{"filePath":"141","messages":"142","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"143","usedDeprecatedRules":"78"},{"filePath":"144","messages":"145","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"78"},{"filePath":"146","messages":"147","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"78"},{"filePath":"148","messages":"149","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"78"},{"filePath":"150","messages":"151","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"152","usedDeprecatedRules":"78"},{"filePath":"153","messages":"154","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"78"},{"filePath":"155","messages":"156","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"78"},{"filePath":"157","messages":"158","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"78"},{"filePath":"159","messages":"160","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"78"},"G:\\React\\Job Task\\Fashion-Avenue\\src\\index.js",[],["161","162"],"G:\\React\\Job Task\\Fashion-Avenue\\src\\App.js",[],"G:\\React\\Job Task\\Fashion-Avenue\\src\\reportWebVitals.js",[],"G:\\React\\Job Task\\Fashion-Avenue\\src\\store.js",[],"G:\\React\\Job Task\\Fashion-Avenue\\src\\Navbar\\Navigations.js",["163"],"G:\\React\\Job Task\\Fashion-Avenue\\src\\Navbar\\Routers.js",[],"G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\PageNotFound\\PageNotFound.js",[],"G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\ShoppingCart\\Cart.js",[],"G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\Shop\\Shop.js",["164"],"import React, {Component} from 'react';\nimport Filter from \"../Home/Products/components/Filter\";\nimport Products from \"../Home/Products/components/Products\";\nimport Basket from \"../Home/Products/components/Basket\";\n\nconst Shop = () => {\n return (\n <div className=\"mx-3 mx-md-5 mt-5 mb-3 text-dark\">\n <div className=\"row\">\n <div className=\"col-md-8\">\n <Filter/>\n <hr/>\n <Products/>\n </div>\n <div className=\"col-md-4\">\n <Basket/>\n </div>\n </div>\n </div>\n );\n}\n\nexport default Shop;\n","G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\About\\About.js",[],"G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\Help\\Help.js",[],"G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\Home\\Home\\Home.js",[],"G:\\React\\Job Task\\Fashion-Avenue\\src\\reducers\\index.js",[],"G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\ShoppingCart\\Footer.js",[],"G:\\React\\Job Task\\Fashion-Avenue\\src\\actions\\cartActions.js",[],"G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\Home\\HeaderProduct\\HomePageProduct.js",["165","166","167"],"import React from 'react';\nimport {useHistory} from 'react-router-dom';\n\nconst HomePageProduct = () => {\n\n let history = useHistory();\n\n const redirect = () => {\n history.push('/shop')\n }\n\n return (\n <div className='mt-5'>\n <div className='container'>\n <div className=\"d-flex flex-wrap justify-content-center mb-4\">\n <div className=\"card\" style={{width: '18rem'}}>\n <img className=\"card-img-top rounded\" src={`/products/pic1.png`}\n alt=\"HeaderProductCard image cap\"/>\n </div>\n <div className=\"card\" style={{width: '18rem'}}>\n <img className=\"card-img-top rounded\" src={`/products/pic2.png`}\n alt=\"HeaderProductCard image cap\"/>\n </div>\n <div className=\"card\" style={{width: '18rem'}}>\n <img className=\"card-img-top rounded\" src={`/products/pic3.png`}\n alt=\"HeaderProductCard image cap\"/>\n </div>\n </div>\n <div className='text-center'>\n <button className='btn btn-secondary mt-5' onClick={redirect}>Shop Now</button>\n </div>\n </div>\n </div>\n );\n};\n\nexport default HomePageProduct;\n","G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\Home\\HomeTagLine\\TagLine.js",[],"G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\Home\\FeatureProducts\\FeatureProducts.js",[],"G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\Home\\NewsLetter\\NewsLetter.js",[],"G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\Home\\Products\\ProductsPage.js",["168"],"import React, {Component} from 'react';\nimport Filter from \"./components/Filter\";\nimport Products from \"./components/Products\";\n\nconst ProductsPage = () => {\n return (\n <>\n <div className=\"container mt-5 mb-3 text-dark\">\n <div className=\"row\">\n <div className=\"col-md-12\">\n <Filter/>\n <hr/>\n <Products/>\n </div>\n </div>\n </div>\n <hr className='my-5'/>\n </>\n );\n}\n\nexport default ProductsPage;\n","G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\Home\\Products\\components\\Filter.js",["169"],"import React, {Component} from \"react\";\nimport {connect} from \"react-redux\";\nimport {filterProducts, sortProducts} from \"../../../../actions/productActions\";\n\n\nconst Filter = (props) => {\n return (\n <div className=\"row text-center\">\n <div className=\"col-md-4\"><h6>{`${props.filteredProducts.length} products found.`}</h6></div>\n <div className=\"col-md-4 text-left\">\n <label>\n <h6>Order By Price</h6>\n <select\n className=\"form-control\"\n value={props.sort}\n onChange={(event) => {\n props.sortProducts(\n props.filteredProducts,\n event.target.value\n );\n }}\n >\n <option value=\"\">Select</option>\n <option value=\"lowestprice\">Lowest to highest</option>\n <option value=\"highestprice\">Highest to lowest</option>\n </select>\n </label>\n </div>\n <div className=\"col-md-4 text-left\">\n <label>\n {\" \"}\n <h6>Filter Size</h6>\n <select\n className=\"form-control\"\n value={props.size}\n onChange={(event) => {\n props.filterProducts(\n props.products,\n event.target.value\n );\n }}\n >\n <option value=\"\">ALL</option>\n <option value=\"x\">XS</option>\n <option value=\"s\">S</option>\n <option value=\"m\">M</option>\n <option value=\"l\">L</option>\n <option value=\"xl\">XL</option>\n <option value=\"xxl\">XXL</option>\n </select>\n </label>\n </div>\n </div>\n );\n}\n\nconst mapStateToProps = (state) => ({\n products: state.products.items,\n filteredProducts: state.products.filteredItems,\n size: state.products.size,\n sort: state.products.sort,\n});\nexport default connect(mapStateToProps, {filterProducts, sortProducts})(\n Filter\n);\n","G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\Home\\Products\\components\\Products.js",["170"],"import React, {useEffect} from \"react\";\nimport {connect} from \"react-redux\";\nimport {fetchProducts} from \"../../../../actions/productActions\";\nimport {addToCart} from \"../../../../actions/cartActions\";\n\nconst Products = (props) => {\n useEffect(() => {\n props.fetchProducts();\n }, [])\n\n\n const productItems = props.products.map((product) => (\n <div className=\"col-md-4\" key={product.id}>\n <div className=\"img-thumbnail text-center m-2\">\n <a\n href={`#${product.id}`}\n onClick={(e) => props.addToCart(props.cartItems, product)}\n >\n <img src={`products/${product.sku}_2.jpg`} alt={product.title}/>\n <p onClick={(e) => e.preventDefault()}>{product.title}</p>\n </a>\n <b>{product.price}</b><br/>\n <button\n className=\"btn btn-primary mb-3 mt-2\"\n onClick={(e) => props.addToCart(props.cartItems, product)}\n >\n Add to cart\n </button>\n </div>\n </div>\n ));\n\n return <div className=\"row\">{productItems}</div>;\n}\n\nconst mapStateToProps = (state) => ({\n products: state.products.filteredItems,\n cartItems: state.cart.items,\n});\nexport default connect(mapStateToProps, {fetchProducts, addToCart})(Products);\n","G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\Home\\Products\\components\\Basket.js",["171"],"import React, {Component} from \"react\";\nimport {connect} from \"react-redux\";\nimport {addToCart, removeFromCart} from \"../../../../actions/cartActions\";\nimport {useHistory} from \"react-router-dom\";\n\n\nconst Basket = (props) => {\n const {cartItems} = props;\n const history = useHistory()\n const redirect = () => {\n history.push('/cart');\n }\n return (\n <div className=\"alert alert-info sticky-top\">\n {cartItems.length === 0 ? (\n \"Basket is empty\"\n ) : (\n <div>\n You have {cartItems.length} items in the basket. <hr/>\n </div>\n )}\n {cartItems.length > 0 && (\n <div>\n <table className=\"table table-striped table-bordered\">\n <thead className=\"text-dark\">\n <tr>\n <th scope=\"col\">Product</th>\n <th scope=\"col\">Price</th>\n <th scope=\"col\">Count</th>\n <th scope=\"col\">Total</th>\n <th scope=\"col\"></th>\n </tr>\n </thead>\n <tbody>\n {cartItems.map((item, index) => (\n <tr key={index}>\n <td>{item.title}</td>\n <td><strong>$</strong>{item.price}</td>\n <td>{item.count}</td>\n <td><strong>$</strong>{item.price * item.count}</td>\n <button\n className='bg-danger rounded border-0 mt-2 text-white'\n onClick={(e) => props.removeFromCart(props.cartItems, item)}>\n x\n </button>\n </tr>\n ))}\n </tbody>\n </table>\n <hr/>\n <button\n className='btn btn-secondary mt-3'\n onClick={redirect}>\n Go To Cart\n </button>\n </div>\n )}\n </div>\n );\n}\nconst mapStateToProps = (state) => ({\n cartItems: state.cart.items,\n});\nexport default connect(mapStateToProps, {addToCart, removeFromCart})(Basket);\n","G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\Home\\About\\About.js",[],"G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\Home\\Footer\\Footer\\Footer.js",[],"G:\\React\\Job Task\\Fashion-Avenue\\src\\reducers\\productReducers.js",["172"],"import {\n FETCH_PRODUCTS,\n FILTER_PRODUCTS_BY_SIZE,\n ORDER_PRODUCTS_BY_PRICE,\n} from \"../actions/types\";\n\nconst initState = { items: [], filteredItems: [], size: \"\", sort: \"\" };\nexport default function (state = initState, action) {\n switch (action.type) {\n case FETCH_PRODUCTS:\n return { ...state, items: action.payload, filteredItems: action.payload };\n case FILTER_PRODUCTS_BY_SIZE:\n return {\n ...state,\n filteredItems: action.payload.items,\n size: action.payload.size,\n };\n case ORDER_PRODUCTS_BY_PRICE:\n return {\n ...state,\n filteredItems: action.payload.items,\n sort: action.payload.sort,\n };\n\n default:\n return state;\n }\n}\n","G:\\React\\Job Task\\Fashion-Avenue\\src\\reducers\\cartReducers.js",["173"],"import { ADD_TO_CART, REMOVE_FROM_CART } from \"../actions/types\";\n\nexport default function (state = {}, action) {\n switch (action.type) {\n case ADD_TO_CART:\n return { ...state, items: action.payload.cartItems };\n case REMOVE_FROM_CART:\n return { ...state, items: action.payload.cartItems };\n\n default:\n return state;\n }\n}\n","G:\\React\\Job Task\\Fashion-Avenue\\src\\actions\\types.js",[],"G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\Home\\FeatureProducts\\Slider.js",["174"],"import React, {useState} from 'react';\nimport Carousel from 'react-elastic-carousel';\nimport Card from \"./Card\";\n\nconst Slider = () => {\n const breakPoints = [\n {width: 1, itemsToShow: 1},\n {width: 550, itemsToShow: 2, itemsToScroll: 2, pagination: false},\n {width: 850, itemsToShow: 3},\n {width: 1150, itemsToShow: 4, itemsToScroll: 2},\n {width: 1450, itemsToShow: 5},\n {width: 1750, itemsToShow: 6},\n ]\n\n return (\n <div className='my-4 container'>\n <Carousel breakPoints={breakPoints}>\n <Card id=\"1\" url={`/products/18644119330491310_1.jpg`}/>\n <Card id=\"2\" url={`/products/18532669286405344_1.jpg`}/>\n <Card id=\"3\" url={`/products/11854078013954528_1.jpg`}/>\n <Card id=\"4\" url={`/products/10547961582846888_1.jpg`}/>\n <Card id=\"5\" url={`/products/9197907543445676_1.jpg`}/>\n <Card id=\"6\" url={`/products/6090484789343891_1.jpg`}/>\n <Card id=\"7\" url={`/products/5619496040738316_1.jpg`}/>\n <Card id=\"8\" url={`/products/876661122392077_1.jpg`}/>\n </Carousel>\n </div>\n );\n};\n\nexport default Slider;\n","G:\\React\\Job Task\\Fashion-Avenue\\src\\actions\\productActions.js",[],"G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\Home\\Footer\\Right\\Right.js",[],"G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\Home\\Footer\\Left\\Left.js",[],"G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\Home\\FeatureProducts\\Card.js",["175"],"import React from 'react';\n\nconst Card = ({id, url}) => {\n return (\n <div className=''>\n <div className=\"card rounded overflow-hidden\" style={{width: '18rem'}}>\n <img className=\"card-img-top\" src={url} alt=\"HeaderProductCard image cap\"/>\n </div>\n </div>\n );\n};\n\nexport default Card;\n","G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\Home\\Footer\\Right\\Discover\\Discover.js",[],"G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\Home\\Footer\\Right\\Company\\Company.js",[],"G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\Home\\Footer\\Right\\MainMenu\\MainMenu.js",[],"G:\\React\\Job Task\\Fashion-Avenue\\src\\Pages\\Home\\Footer\\Right\\FindUsOn\\FindUsOn.js",[],{"ruleId":"176","replacedBy":"177"},{"ruleId":"178","replacedBy":"179"},{"ruleId":"180","severity":1,"message":"181","line":15,"column":59,"nodeType":"182","endLine":15,"endColumn":79},{"ruleId":"183","severity":1,"message":"184","line":1,"column":16,"nodeType":"185","messageId":"186","endLine":1,"endColumn":25},{"ruleId":"187","severity":1,"message":"188","line":17,"column":25,"nodeType":"189","endLine":18,"endColumn":65},{"ruleId":"187","severity":1,"message":"188","line":21,"column":25,"nodeType":"189","endLine":22,"endColumn":65},{"ruleId":"187","severity":1,"message":"188","line":25,"column":25,"nodeType":"189","endLine":26,"endColumn":65},{"ruleId":"183","severity":1,"message":"184","line":1,"column":16,"nodeType":"185","messageId":"186","endLine":1,"endColumn":25},{"ruleId":"183","severity":1,"message":"184","line":1,"column":16,"nodeType":"185","messageId":"186","endLine":1,"endColumn":25},{"ruleId":"190","severity":1,"message":"191","line":9,"column":8,"nodeType":"192","endLine":9,"endColumn":10,"suggestions":"193"},{"ruleId":"183","severity":1,"message":"184","line":1,"column":16,"nodeType":"185","messageId":"186","endLine":1,"endColumn":25},{"ruleId":"194","severity":1,"message":"195","line":8,"column":1,"nodeType":"196","endLine":28,"endColumn":2},{"ruleId":"194","severity":1,"message":"195","line":3,"column":1,"nodeType":"196","endLine":13,"endColumn":2},{"ruleId":"183","severity":1,"message":"197","line":1,"column":16,"nodeType":"185","messageId":"186","endLine":1,"endColumn":24},{"ruleId":"187","severity":1,"message":"188","line":7,"column":17,"nodeType":"189","endLine":7,"endColumn":92},"no-native-reassign",["198"],"no-negated-in-lhs",["199"],"react/jsx-no-duplicate-props","No duplicate props allowed","JSXAttribute","no-unused-vars","'Component' is defined but never used.","Identifier","unusedVar","jsx-a11y/img-redundant-alt","Redundant alt attribute. Screen-readers already announce `img` tags as an image. You don’t need to use the words `image`, `photo,` or `picture` (or any specified custom words) in the alt prop.","JSXOpeningElement","react-hooks/exhaustive-deps","React Hook useEffect has a missing dependency: 'props'. Either include it or remove the dependency array. However, 'props' will change when *any* prop changes, so the preferred fix is to destructure the 'props' object outside of the useEffect call and refer to those specific props inside useEffect.","ArrayExpression",["200"],"import/no-anonymous-default-export","Unexpected default export of anonymous function","ExportDefaultDeclaration","'useState' is defined but never used.","no-global-assign","no-unsafe-negation",{"desc":"201","fix":"202"},"Update the dependencies array to be: [props]",{"range":"203","text":"204"},[293,295],"[props]"]