-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintcache
1 lines (1 loc) · 11.4 KB
/
.eslintcache
1
[{"C:\\Users\\clien\\Documents\\GitHub\\axerve-tokenization\\src\\App.tsx":"1","C:\\Users\\clien\\Documents\\GitHub\\axerve-tokenization\\src\\index.tsx":"2","C:\\Users\\clien\\Documents\\GitHub\\axerve-tokenization\\src\\Utils\\AxerveAPI.ts":"3","C:\\Users\\clien\\Documents\\GitHub\\axerve-tokenization\\src\\Components\\Home\\Home.tsx":"4","C:\\Users\\clien\\Documents\\GitHub\\axerve-tokenization\\src\\Components\\Product\\Product.tsx":"5","C:\\Users\\clien\\Documents\\GitHub\\axerve-tokenization\\src\\Components\\MenuBar\\MenuBar.tsx":"6","C:\\Users\\clien\\Documents\\GitHub\\axerve-tokenization\\src\\Components\\Cart\\Cart.tsx":"7","C:\\Users\\clien\\Documents\\GitHub\\axerve-tokenization\\src\\Components\\Footer\\Footer.tsx":"8","C:\\Users\\clien\\Documents\\GitHub\\axerve-tokenization\\src\\components\\Home\\Home.tsx":"9","C:\\Users\\clien\\Documents\\GitHub\\axerve-tokenization\\src\\components\\Footer\\Footer.tsx":"10","C:\\Users\\clien\\Documents\\GitHub\\axerve-tokenization\\src\\components\\Product\\Product.tsx":"11","C:\\Users\\clien\\Documents\\GitHub\\axerve-tokenization\\src\\components\\Cart\\Cart.tsx":"12","C:\\Users\\clien\\Documents\\GitHub\\axerve-tokenization\\src\\utils\\AxerveAPI.ts":"13","C:\\Users\\clien\\Documents\\GitHub\\axerve-tokenization\\src\\components\\Checkout\\Checkout.tsx":"14","C:\\Users\\clien\\Documents\\GitHub\\axerve-tokenization\\src\\components\\Payment\\Payment.tsx":"15","C:\\Users\\clien\\Documents\\GitHub\\axerve-tokenization\\src\\components\\MenuBar\\MenuBar.tsx":"16","C:\\Users\\clien\\Documents\\GitHub\\axerve-tokenization\\src\\components\\Buy\\Buy.tsx":"17","C:\\Users\\clien\\Documents\\GitHub\\axerve-tokenization\\src\\hooks\\UseCart.ts":"18","C:\\Users\\clien\\Documents\\GitHub\\axerve-tokenization\\src\\hooks\\UseAppContext.tsx":"19","C:\\Users\\clien\\Documents\\GitHub\\axerve-tokenization\\src\\components\\Loader\\Loader.tsx":"20"},{"size":1150,"mtime":1607705281074,"results":"21","hashOfConfig":"22"},{"size":518,"mtime":1607852119149,"results":"23","hashOfConfig":"22"},{"size":3330,"mtime":1606586363580,"results":"24","hashOfConfig":"22"},{"size":707,"mtime":1607420079616,"results":"25","hashOfConfig":"22"},{"size":1910,"mtime":1607255318261,"results":"26","hashOfConfig":"22"},{"size":637,"mtime":1607252292042,"results":"27","hashOfConfig":"22"},{"size":2876,"mtime":1607421629837,"results":"28","hashOfConfig":"22"},{"size":477,"mtime":1607426372108,"results":"29","hashOfConfig":"22"},{"size":707,"mtime":1607420079616,"results":"30","hashOfConfig":"22"},{"size":883,"mtime":1607852119125,"results":"31","hashOfConfig":"22"},{"size":1847,"mtime":1607796521993,"results":"32","hashOfConfig":"22"},{"size":2141,"mtime":1607856015801,"results":"33","hashOfConfig":"22"},{"size":5366,"mtime":1607800133387,"results":"34","hashOfConfig":"22"},{"size":864,"mtime":1607696505635,"results":"35","hashOfConfig":"22"},{"size":3056,"mtime":1607852119135,"results":"36","hashOfConfig":"22"},{"size":640,"mtime":1607800133052,"results":"37","hashOfConfig":"22"},{"size":4514,"mtime":1607800813068,"results":"38","hashOfConfig":"22"},{"size":657,"mtime":1607796509795,"results":"39","hashOfConfig":"22"},{"size":3391,"mtime":1607852119146,"results":"40","hashOfConfig":"22"},{"size":587,"mtime":1607800133137,"results":"41","hashOfConfig":"22"},{"filePath":"42","messages":"43","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"96q8oh",{"filePath":"44","messages":"45","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"46","messages":"47","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"48","messages":"49","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"50","messages":"51","errorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":"52"},{"filePath":"53","messages":"54","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"55","messages":"56","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"57","messages":"58","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"59"},{"filePath":"60","messages":"61","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"62","messages":"63","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"64","messages":"65","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"66","messages":"67","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"68","messages":"69","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"70","messages":"71","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"72","messages":"73","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"74","messages":"75","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"76","messages":"77","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"78","messages":"79","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"80","messages":"81","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"82","messages":"83","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},"C:\\Users\\clien\\Documents\\GitHub\\axerve-tokenization\\src\\App.tsx",[],"C:\\Users\\clien\\Documents\\GitHub\\axerve-tokenization\\src\\index.tsx",[],"C:\\Users\\clien\\Documents\\GitHub\\axerve-tokenization\\src\\Utils\\AxerveAPI.ts",[],"C:\\Users\\clien\\Documents\\GitHub\\axerve-tokenization\\src\\Components\\Home\\Home.tsx",[],"C:\\Users\\clien\\Documents\\GitHub\\axerve-tokenization\\src\\Components\\Product\\Product.tsx",["84","85","86","87"],"import React, { useContext } from 'react';\r\nimport './Product.scss';\r\nimport watch from '../../Img/watch.png';\r\nimport Button from '@material-ui/core/Button/Button';\r\nimport { AppContext } from '../../State/AppContext';\r\nimport { ProductType } from '../../Model/ProductType';\r\nimport { useState } from 'react';\r\n\r\ninterface Props {\r\n className?: string;\r\n product: ProductType;\r\n}\r\n\r\nfunction Product(props: Props) {\r\n const { setPaymentID, productsImgs } = useContext(AppContext);\r\n const { cart, setProductInCart, removeProductFroMCart } = useContext(AppContext);\r\n const getImg = (imgName: string) => {\r\n //@ts-ignore\r\n return productsImgs[imgName].default\r\n }\r\n\r\n return (\r\n <div className={`Product ${props.className}`}>\r\n <h3 className=\"ProductName\">{props.product.name}</h3>\r\n <div className=\"Body\">\r\n <img width={20 + '%'} height={20 + '%'} src={getImg(props.product.imgName)} alt={\"Watch\"} />\r\n <h4>Description</h4>\r\n <p>{props.product.description}</p>\r\n <h4>Price</h4>\r\n <p>{`${props.product.price}€`}</p>\r\n </div>\r\n <div className=\"ButtonContainer\">\r\n <Button variant=\"contained\"\r\n color=\"primary\"\r\n onClick={() => {\r\n setProductInCart({\r\n ...props.product,\r\n })\r\n }}\r\n >\r\n Add\r\n </Button>\r\n <Button variant=\"contained\"\r\n color=\"primary\"\r\n onClick={() => {\r\n removeProductFroMCart(props.product.id);\r\n }}\r\n >\r\n Remove\r\n </Button>\r\n </div>\r\n </div>)\r\n\r\n}\r\n\r\nexport default Product;","C:\\Users\\clien\\Documents\\GitHub\\axerve-tokenization\\src\\Components\\MenuBar\\MenuBar.tsx",[],"C:\\Users\\clien\\Documents\\GitHub\\axerve-tokenization\\src\\Components\\Cart\\Cart.tsx",[],"C:\\Users\\clien\\Documents\\GitHub\\axerve-tokenization\\src\\Components\\Footer\\Footer.tsx",["88"],"import { useLocation } from \"react-router-dom\";\r\nimport \"./Footer.scss\";\r\n\r\nfunction Footer() {\r\n let location = useLocation();\r\n\r\n const getLocation = () => {\r\n return location.pathname;\r\n }\r\n\r\n return (\r\n <div className=\"Footer\">\r\n {\r\n getLocation() === '/cart' ? <div> Cart </div> : <a target=\"_blank\" href=\"https://6fixesunder.com\">6fixesunder.com</a> \r\n }\r\n </div>\r\n )\r\n\r\n}\r\nexport default Footer;","C:\\Users\\clien\\Documents\\GitHub\\axerve-tokenization\\src\\components\\Home\\Home.tsx",[],"C:\\Users\\clien\\Documents\\GitHub\\axerve-tokenization\\src\\components\\Footer\\Footer.tsx",["89"],"C:\\Users\\clien\\Documents\\GitHub\\axerve-tokenization\\src\\components\\Product\\Product.tsx",[],"C:\\Users\\clien\\Documents\\GitHub\\axerve-tokenization\\src\\components\\Cart\\Cart.tsx",[],"C:\\Users\\clien\\Documents\\GitHub\\axerve-tokenization\\src\\utils\\AxerveAPI.ts",[],"C:\\Users\\clien\\Documents\\GitHub\\axerve-tokenization\\src\\components\\Checkout\\Checkout.tsx",[],"C:\\Users\\clien\\Documents\\GitHub\\axerve-tokenization\\src\\components\\Payment\\Payment.tsx",["90"],"C:\\Users\\clien\\Documents\\GitHub\\axerve-tokenization\\src\\components\\MenuBar\\MenuBar.tsx",[],"C:\\Users\\clien\\Documents\\GitHub\\axerve-tokenization\\src\\components\\Buy\\Buy.tsx",[],"C:\\Users\\clien\\Documents\\GitHub\\axerve-tokenization\\src\\hooks\\UseCart.ts",[],"C:\\Users\\clien\\Documents\\GitHub\\axerve-tokenization\\src\\hooks\\UseAppContext.tsx",[],"C:\\Users\\clien\\Documents\\GitHub\\axerve-tokenization\\src\\components\\Loader\\Loader.tsx",["91"],{"ruleId":"92","severity":1,"message":"93","line":3,"column":8,"nodeType":"94","messageId":"95","endLine":3,"endColumn":13},{"ruleId":"92","severity":1,"message":"96","line":7,"column":10,"nodeType":"94","messageId":"95","endLine":7,"endColumn":18},{"ruleId":"92","severity":1,"message":"97","line":15,"column":13,"nodeType":"94","messageId":"95","endLine":15,"endColumn":25},{"ruleId":"92","severity":1,"message":"98","line":16,"column":13,"nodeType":"94","messageId":"95","endLine":16,"endColumn":17},{"ruleId":"99","severity":1,"message":"100","line":14,"column":70,"nodeType":"101","endLine":14,"endColumn":85},{"ruleId":"92","severity":1,"message":"102","line":2,"column":8,"nodeType":"94","messageId":"95","endLine":2,"endColumn":14},{"ruleId":"103","severity":1,"message":"104","line":49,"column":29,"nodeType":"105","messageId":"106","endLine":49,"endColumn":31},{"ruleId":"92","severity":1,"message":"96","line":2,"column":22,"nodeType":"94","messageId":"95","endLine":2,"endColumn":30},"@typescript-eslint/no-unused-vars","'watch' is defined but never used.","Identifier","unusedVar","'useState' is defined but never used.","'setPaymentID' is assigned a value but never used.","'cart' 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","'Button' is defined but never used.","eqeqeq","Expected '===' and instead saw '=='.","BinaryExpression","unexpected"]