-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintcache
1 lines (1 loc) · 13 KB
/
.eslintcache
1
[{"/Users/anansi/Development/code/projects/myPhotoShop/iggsphotoshop/src/pages/login.js":"1","/Users/anansi/Development/code/projects/myPhotoShop/iggsphotoshop/src/App.js":"2","/Users/anansi/Development/code/projects/myPhotoShop/iggsphotoshop/src/Actions/auth.js":"3","/Users/anansi/Development/code/projects/myPhotoShop/iggsphotoshop/src/Reducers/cart.js":"4","/Users/anansi/Development/code/projects/myPhotoShop/iggsphotoshop/src/pages/home.js":"5","/Users/anansi/Development/code/projects/myPhotoShop/iggsphotoshop/src/components/navbar.js":"6","/Users/anansi/Development/code/projects/myPhotoShop/iggsphotoshop/src/pages/cart.js":"7","/Users/anansi/Development/code/projects/myPhotoShop/iggsphotoshop/src/index.js":"8","/Users/anansi/Development/code/projects/myPhotoShop/iggsphotoshop/src/Actions/photos.js":"9","/Users/anansi/Development/code/projects/myPhotoShop/iggsphotoshop/src/Reducers/photos.js":"10","/Users/anansi/Development/code/projects/myPhotoShop/iggsphotoshop/src/pages/about.js":"11","/Users/anansi/Development/code/projects/myPhotoShop/iggsphotoshop/src/Reducers/photo.js":"12","/Users/anansi/Development/code/projects/myPhotoShop/iggsphotoshop/src/Reducers/auth.js":"13","/Users/anansi/Development/code/projects/myPhotoShop/iggsphotoshop/src/components/PhotoCard.js":"14","/Users/anansi/Development/code/projects/myPhotoShop/iggsphotoshop/src/Reducers/index.js":"15","/Users/anansi/Development/code/projects/myPhotoShop/iggsphotoshop/src/reportWebVitals.js":"16"},{"size":4741,"mtime":1614702587757,"results":"17","hashOfConfig":"18"},{"size":1985,"mtime":1616014840132,"results":"19","hashOfConfig":"18"},{"size":313,"mtime":1608758058865,"results":"20","hashOfConfig":"18"},{"size":459,"mtime":1609876894755,"results":"21","hashOfConfig":"18"},{"size":1275,"mtime":1616014577070,"results":"22","hashOfConfig":"18"},{"size":1143,"mtime":1609878006216,"results":"23","hashOfConfig":"18"},{"size":2483,"mtime":1614702587755,"results":"24","hashOfConfig":"18"},{"size":953,"mtime":1615672468698,"results":"25","hashOfConfig":"18"},{"size":533,"mtime":1609881687926,"results":"26","hashOfConfig":"18"},{"size":271,"mtime":1616011902311,"results":"27","hashOfConfig":"18"},{"size":1070,"mtime":1614702587754,"results":"28","hashOfConfig":"18"},{"size":244,"mtime":1608758191031,"results":"29","hashOfConfig":"18"},{"size":329,"mtime":1608322672225,"results":"30","hashOfConfig":"18"},{"size":2474,"mtime":1615997713083,"results":"31","hashOfConfig":"18"},{"size":229,"mtime":1608749070206,"results":"32","hashOfConfig":"18"},{"size":362,"mtime":1608234283483,"results":"33","hashOfConfig":"18"},{"filePath":"34","messages":"35","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"36"},"bpx4vi",{"filePath":"37","messages":"38","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"39","messages":"40","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"36"},{"filePath":"41","messages":"42","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"36"},{"filePath":"43","messages":"44","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"45","messages":"46","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"47","usedDeprecatedRules":"48"},{"filePath":"49","messages":"50","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":"51","usedDeprecatedRules":"48"},{"filePath":"52","messages":"53","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"36"},{"filePath":"54","messages":"55","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"56"},{"filePath":"57","messages":"58","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"48"},{"filePath":"59","messages":"60","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"61"},{"filePath":"62","messages":"63","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"64","messages":"65","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"66","messages":"67","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"68","messages":"69","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"70","messages":"71","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/Users/anansi/Development/code/projects/myPhotoShop/iggsphotoshop/src/pages/login.js",[],["72","73"],"/Users/anansi/Development/code/projects/myPhotoShop/iggsphotoshop/src/App.js",["74","75","76"],"/Users/anansi/Development/code/projects/myPhotoShop/iggsphotoshop/src/Actions/auth.js",[],"/Users/anansi/Development/code/projects/myPhotoShop/iggsphotoshop/src/Reducers/cart.js",[],"/Users/anansi/Development/code/projects/myPhotoShop/iggsphotoshop/src/pages/home.js",[],"/Users/anansi/Development/code/projects/myPhotoShop/iggsphotoshop/src/components/navbar.js",["77"],"import React from 'react'\nimport { useDispatch, useSelector } from 'react-redux'\nimport { Link } from 'react-router-dom'\nimport { logoutUser } from '../Actions/auth'\n\nexport const NavBar = () => {\n const cart = useSelector(state => state.cart, prev => prev.length === cart)\n const auth = useSelector(state => state.auth)\n const dispatch = useDispatch()\n\n const handleLogout = () => {\n localStorage.removeItem('myToken')\n dispatch(logoutUser())\n }\n \n return(\n <div className=\"ui menu inverted\">\n <Link to='/'>\n <div className=\"header item\">\n Igg's Photo Shop\n </div>\n </Link>\n <Link to='/about' className='item'>\n About\n </Link>\n <Link className=\"item\" to='/cart'>\n <>Cart</><div className=\"ui circular label white\">{cart.length}</div>\n </Link>\n { auth.id ? \n <a onClick={handleLogout} className=\"right menu item\">Logout</a>\n : \n <Link className=\"right menu item\" to='/login'>Login</Link>\n }\n </div>\n )\n}",["78","79"],"/Users/anansi/Development/code/projects/myPhotoShop/iggsphotoshop/src/pages/cart.js",["80","81","82"],"import React, { useState } from 'react'\nimport { connect, useDispatch, useSelector } from 'react-redux'\n// import { PayPalButton } from \"react-paypal-button-v2\";\nimport { useHistory } from 'react-router-dom'\nimport { clearCart } from '../Actions/photos'\nimport { removeFromCart } from '../Actions/photos'\n\n\nexport const Cart = () => {\n const [ paypalButton, setPaypalButton ] = useState(false)\n const cart = useSelector(state => state.cart, prev => prev.length === cart)\n\n\n const dispatch = useDispatch()\n\n\n const history = useHistory()\n const total = cart.map(photo => parseInt(photo.price)).reduce((a, b) => a + b, 0)\n\n const renderCart = () => {\n return cart.map((photo, i) => {\n return <div className='cart-item'>{photo.title}: ${photo.price}.00\n <button onClick={() => dispatch(removeFromCart(i))} style={{float: 'right'}} className=\"circular mini ui icon button black\">\n <i className=\"x icon\"></i>\n </button></div>\n })\n }\n\n const handleCheckout = () => {\n dispatch(clearCart())\n history.push('/')\n }\n\n return(\n <>\n { !paypalButton ? \n <>\n <div style={{ fontSize: '20px'}} className='login-form'>Please Read the About page before you checkout</div>\n <div className='cart-cont'>\n <div className='your-cart'>Your cart</div>\n { cart.length !== 0 ? <div className='cart'>{renderCart()}</div> : null }\n <div className='total'>Total: ${total}.00</div>\n <a href='https://www.buymeacoffee.com/AnansiOmega' target='_blank'><button onClick={handleCheckout} style={{ marginLeft: '5px', width: '497px', color: 'black' }} className='massive ui button'>Make a Donation</button></a>\n </div>\n </>\n :\n <>\n {/* <div className='total-paypal'>Total: ${total}.00</div> */}\n\n {/* <PayPalButton\n amount={total}\n shippingPreference= \"NO_SHIPPING\"\n options={{\n clientId: \"ASenCKzw7AEnV5LN5wv2E8TLaZdIpCKZIZYePB0et7L1JA-zippvq-5HFKgUi-BKXCaXtPd24I34I_SM\"\n }}\n onSuccess={(details, data) => { \n alert(\"Thanks for donating \" + details.payer.name.given_name)\n dispatch(clearCart())\n history.push('/')\n }}\n /> */}\n </>\n }\n </>\n )\n}\n","/Users/anansi/Development/code/projects/myPhotoShop/iggsphotoshop/src/index.js",[],"/Users/anansi/Development/code/projects/myPhotoShop/iggsphotoshop/src/Actions/photos.js",[],["83","84"],"/Users/anansi/Development/code/projects/myPhotoShop/iggsphotoshop/src/Reducers/photos.js",[],"/Users/anansi/Development/code/projects/myPhotoShop/iggsphotoshop/src/pages/about.js",[],["85","86"],"/Users/anansi/Development/code/projects/myPhotoShop/iggsphotoshop/src/Reducers/photo.js",[],"/Users/anansi/Development/code/projects/myPhotoShop/iggsphotoshop/src/Reducers/auth.js",[],"/Users/anansi/Development/code/projects/myPhotoShop/iggsphotoshop/src/components/PhotoCard.js",["87"],"/Users/anansi/Development/code/projects/myPhotoShop/iggsphotoshop/src/Reducers/index.js",[],"/Users/anansi/Development/code/projects/myPhotoShop/iggsphotoshop/src/reportWebVitals.js",[],{"ruleId":"88","replacedBy":"89"},{"ruleId":"90","replacedBy":"91"},{"ruleId":"92","severity":1,"message":"93","line":29,"column":6,"nodeType":"94","endLine":29,"endColumn":20,"suggestions":"95"},{"ruleId":"92","severity":1,"message":"96","line":37,"column":5,"nodeType":"94","endLine":37,"endColumn":14,"suggestions":"97"},{"ruleId":"92","severity":1,"message":"96","line":52,"column":5,"nodeType":"94","endLine":52,"endColumn":7,"suggestions":"98"},{"ruleId":"99","severity":1,"message":"100","line":30,"column":13,"nodeType":"101","endLine":30,"endColumn":67},{"ruleId":"88","replacedBy":"102"},{"ruleId":"90","replacedBy":"103"},{"ruleId":"104","severity":1,"message":"105","line":2,"column":10,"nodeType":"106","messageId":"107","endLine":2,"endColumn":17},{"ruleId":"104","severity":1,"message":"108","line":10,"column":27,"nodeType":"106","messageId":"107","endLine":10,"endColumn":42},{"ruleId":"109","severity":1,"message":"110","line":43,"column":68,"nodeType":"111","endLine":43,"endColumn":83},{"ruleId":"88","replacedBy":"112"},{"ruleId":"90","replacedBy":"113"},{"ruleId":"88","replacedBy":"114"},{"ruleId":"90","replacedBy":"115"},{"ruleId":"92","severity":1,"message":"116","line":25,"column":7,"nodeType":"94","endLine":25,"endColumn":14,"suggestions":"117"},"no-native-reassign",["118"],"no-negated-in-lhs",["119"],"react-hooks/exhaustive-deps","React Hook useEffect has missing dependencies: 'fetchHeight' and 'pageNum'. Either include them or remove the dependency array. You can also do a functional update 'setFetchHeight(f => ...)' if you only need 'fetchHeight' in the 'setFetchHeight' call.","ArrayExpression",["120"],"React Hook useEffect has a missing dependency: 'dispatch'. Either include it or remove the dependency array.",["121"],["122"],"jsx-a11y/anchor-is-valid","The href attribute is required for an anchor to be keyboard accessible. Provide a valid, navigable address as the href value. If you cannot provide an href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md","JSXOpeningElement",["118"],["119"],"no-unused-vars","'connect' is defined but never used.","Identifier","unusedVar","'setPaypalButton' is assigned a value but never used.","react/jsx-no-target-blank","Using target=\"_blank\" without rel=\"noreferrer\" is a security risk: see https://html.spec.whatwg.org/multipage/links.html#link-type-noopener","JSXAttribute",["118"],["119"],["118"],["119"],"React Hook useEffect has missing dependencies: 'id' and 'likes'. Either include them or remove the dependency array.",["123"],"no-global-assign","no-unsafe-negation",{"desc":"124","fix":"125"},{"desc":"126","fix":"127"},{"desc":"128","fix":"129"},{"desc":"130","fix":"131"},"Update the dependencies array to be: [fetchHeight, pageNum, scrollHeight]",{"range":"132","text":"133"},"Update the dependencies array to be: [dispatch, pageNum]",{"range":"134","text":"135"},"Update the dependencies array to be: [dispatch]",{"range":"136","text":"137"},"Update the dependencies array to be: [id, liked, likes]",{"range":"138","text":"139"},[1025,1039],"[fetchHeight, pageNum, scrollHeight]",[1271,1280],"[dispatch, pageNum]",[1663,1665],"[dispatch]",[839,846],"[id, liked, likes]"]