-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintcache
1 lines (1 loc) · 19.3 KB
/
.eslintcache
1
[{"/Users/patxol/Projects/raclette-mern-front/src/index.js":"1","/Users/patxol/Projects/raclette-mern-front/src/App.js":"2","/Users/patxol/Projects/raclette-mern-front/src/reportWebVitals.js":"3","/Users/patxol/Projects/raclette-mern-front/src/components/Routes/index.js":"4","/Users/patxol/Projects/raclette-mern-front/src/pages/Home.js":"5","/Users/patxol/Projects/raclette-mern-front/src/pages/Connoisseurs.js":"6","/Users/patxol/Projects/raclette-mern-front/src/pages/Parties.js":"7","/Users/patxol/Projects/raclette-mern-front/src/pages/Profile.js":"8","/Users/patxol/Projects/raclette-mern-front/src/components/Login/index.js":"9","/Users/patxol/Projects/raclette-mern-front/src/components/Login/SignUpForm.js":"10","/Users/patxol/Projects/raclette-mern-front/src/components/Login/SignInForm.js":"11","/Users/patxol/Projects/raclette-mern-front/src/components/AppContext.js":"12","/Users/patxol/Projects/raclette-mern-front/src/reducers/index.js":"13","/Users/patxol/Projects/raclette-mern-front/src/reducers/user.reducer.js":"14","/Users/patxol/Projects/raclette-mern-front/src/actions/user.actions.js":"15","/Users/patxol/Projects/raclette-mern-front/src/components/Home/Timeline.js":"16","/Users/patxol/Projects/raclette-mern-front/src/actions/post.actions.js":"17","/Users/patxol/Projects/raclette-mern-front/src/reducers/posts.reducer.js":"18","/Users/patxol/Projects/raclette-mern-front/src/Utils.js":"19","/Users/patxol/Projects/raclette-mern-front/src/reducers/userList.reducer.js":"20","/Users/patxol/Projects/raclette-mern-front/src/components/Post/CreatePost.js":"21","/Users/patxol/Projects/raclette-mern-front/src/components/Post/DeletePost.js":"22","/Users/patxol/Projects/raclette-mern-front/src/components/Post/CheesyLike.js":"23","/Users/patxol/Projects/raclette-mern-front/src/components/Connoisseur/Me.js":"24","/Users/patxol/Projects/raclette-mern-front/src/reducers/parties.reducer.js":"25","/Users/patxol/Projects/raclette-mern-front/src/actions/party.action.js":"26","/Users/patxol/Projects/raclette-mern-front/src/components/Party/CreateParty.js":"27","/Users/patxol/Projects/raclette-mern-front/src/components/Connoisseur/Woo.js":"28","/Users/patxol/Projects/raclette-mern-front/src/components/Party/Invite.js":"29","/Users/patxol/Projects/raclette-mern-front/src/components/Navigation.js":"30","/Users/patxol/Projects/raclette-mern-front/src/components/Post/PostCard.js":"31","/Users/patxol/Projects/raclette-mern-front/src/components/Party/PartyCard.js":"32","/Users/patxol/Projects/raclette-mern-front/src/components/Party/DeleteParty.js":"33","/Users/patxol/Projects/raclette-mern-front/src/components/Party/PartiesTimeline.js":"34","/Users/patxol/Projects/raclette-mern-front/src/reducers/products.reducer.js":"35","/Users/patxol/Projects/raclette-mern-front/src/actions/products.action.js":"36","/Users/patxol/Projects/raclette-mern-front/src/components/Products/ProductsList.js":"37","/Users/patxol/Projects/raclette-mern-front/src/components/Connoisseur/Profile.js":"38","/Users/patxol/Projects/raclette-mern-front/src/pages/Connoisseur.js":"39","/Users/patxol/Projects/raclette-mern-front/src/pages/AnonHome.js":"40","/Users/patxol/Projects/raclette-mern-front/src/components/Routes/PrivateRoute.js":"41"},{"size":1301,"mtime":1614112721901,"results":"42","hashOfConfig":"43"},{"size":1013,"mtime":1614286341494,"results":"44","hashOfConfig":"43"},{"size":362,"mtime":1611091573615,"results":"45","hashOfConfig":"43"},{"size":1405,"mtime":1614288271897,"results":"46","hashOfConfig":"43"},{"size":1170,"mtime":1614286034816,"results":"47","hashOfConfig":"43"},{"size":179,"mtime":1611520863664,"results":"48","hashOfConfig":"43"},{"size":472,"mtime":1613054027264,"results":"49","hashOfConfig":"43"},{"size":459,"mtime":1612049215390,"results":"50","hashOfConfig":"43"},{"size":1323,"mtime":1613247895950,"results":"51","hashOfConfig":"43"},{"size":3903,"mtime":1614116545148,"results":"52","hashOfConfig":"43"},{"size":2493,"mtime":1614116481704,"results":"53","hashOfConfig":"43"},{"size":83,"mtime":1614287421294,"results":"54","hashOfConfig":"43"},{"size":400,"mtime":1613082571192,"results":"55","hashOfConfig":"43"},{"size":619,"mtime":1612476902601,"results":"56","hashOfConfig":"43"},{"size":1863,"mtime":1612540789698,"results":"57","hashOfConfig":"43"},{"size":1121,"mtime":1613683716492,"results":"58","hashOfConfig":"43"},{"size":2834,"mtime":1613684310603,"results":"59","hashOfConfig":"43"},{"size":1025,"mtime":1613684412538,"results":"60","hashOfConfig":"43"},{"size":337,"mtime":1612045885403,"results":"61","hashOfConfig":"43"},{"size":740,"mtime":1613684711556,"results":"62","hashOfConfig":"43"},{"size":1683,"mtime":1613662772042,"results":"63","hashOfConfig":"43"},{"size":652,"mtime":1612994742981,"results":"64","hashOfConfig":"43"},{"size":953,"mtime":1612994742980,"results":"65","hashOfConfig":"43"},{"size":125,"mtime":1614118575350,"results":"66","hashOfConfig":"43"},{"size":919,"mtime":1614030867662,"results":"67","hashOfConfig":"43"},{"size":2108,"mtime":1614030751303,"results":"68","hashOfConfig":"43"},{"size":2813,"mtime":1613247786397,"results":"69","hashOfConfig":"43"},{"size":2776,"mtime":1613247957203,"results":"70","hashOfConfig":"43"},{"size":558,"mtime":1613247742752,"results":"71","hashOfConfig":"43"},{"size":2397,"mtime":1614114370847,"results":"72","hashOfConfig":"43"},{"size":2132,"mtime":1614289092939,"results":"73","hashOfConfig":"43"},{"size":2464,"mtime":1614113687587,"results":"74","hashOfConfig":"43"},{"size":626,"mtime":1612996236469,"results":"75","hashOfConfig":"43"},{"size":874,"mtime":1613247731587,"results":"76","hashOfConfig":"43"},{"size":295,"mtime":1613082583493,"results":"77","hashOfConfig":"43"},{"size":581,"mtime":1613082526330,"results":"78","hashOfConfig":"43"},{"size":1592,"mtime":1614114858065,"results":"79","hashOfConfig":"43"},{"size":4707,"mtime":1614120866473,"results":"80","hashOfConfig":"43"},{"size":263,"mtime":1614119066160,"results":"81","hashOfConfig":"43"},{"size":631,"mtime":1614285953142,"results":"82","hashOfConfig":"43"},{"size":663,"mtime":1614287671049,"results":"83","hashOfConfig":"43"},{"filePath":"84","messages":"85","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},"1gp0d5i",{"filePath":"87","messages":"88","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"89","messages":"90","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"91","messages":"92","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"93","messages":"94","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"95","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":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"110","messages":"111","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"112","messages":"113","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"114","messages":"115","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"116","messages":"117","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"118","messages":"119","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"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":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"128","messages":"129","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"130","messages":"131","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"132"},{"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":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"149","usedDeprecatedRules":"86"},{"filePath":"150","messages":"151","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"152","messages":"153","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"154","messages":"155","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"156","messages":"157","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"158","messages":"159","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"160","messages":"161","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"162","messages":"163","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"86"},{"filePath":"164","messages":"165","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"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"},"/Users/patxol/Projects/raclette-mern-front/src/index.js",[],["170","171"],"/Users/patxol/Projects/raclette-mern-front/src/App.js",[],"/Users/patxol/Projects/raclette-mern-front/src/reportWebVitals.js",[],"/Users/patxol/Projects/raclette-mern-front/src/components/Routes/index.js",[],"/Users/patxol/Projects/raclette-mern-front/src/pages/Home.js",["172","173"],"import React, { useContext } from \"react\";\nimport { Button, Col, Jumbotron, Row } from \"react-bootstrap\";\nimport Container from \"react-bootstrap/Container\";\nimport { UidContext } from \"../components/AppContext\";\nimport Timeline from \"../components/Home/Timeline\";\nimport CreateParty from \"../components/Party/CreateParty\";\nimport PartiesTimeline from \"../components/Party/PartiesTimeline\";\nimport CreatePost from \"../components/Post/CreatePost\";\nimport ProductsList from \"../components/Products/ProductsList\";\nconst Home = () => {\n const uid = useContext(UidContext);\n\n return (\n uid && (\n <>\n <Container fluid=\"lg\" className=\"pt-3\">\n <Row>\n <Col sm={3} className=\"d-xs-none\">\n <ProductsList />\n </Col>\n <Col>\n <CreatePost />\n <Timeline />\n </Col>\n <Col lg={3} className=\"d-sm-none d-md-block\">\n <CreateParty />\n <Container className=\"bg-light rounded p-2\">\n <PartiesTimeline />\n </Container>\n </Col>\n </Row>\n </Container>\n </>\n )\n );\n};\n\nexport default Home;\n","/Users/patxol/Projects/raclette-mern-front/src/pages/Connoisseurs.js",[],"/Users/patxol/Projects/raclette-mern-front/src/pages/Parties.js",[],"/Users/patxol/Projects/raclette-mern-front/src/pages/Profile.js",[],"/Users/patxol/Projects/raclette-mern-front/src/components/Login/index.js",[],"/Users/patxol/Projects/raclette-mern-front/src/components/Login/SignUpForm.js",[],"/Users/patxol/Projects/raclette-mern-front/src/components/Login/SignInForm.js",[],"/Users/patxol/Projects/raclette-mern-front/src/components/AppContext.js",[],"/Users/patxol/Projects/raclette-mern-front/src/reducers/index.js",[],"/Users/patxol/Projects/raclette-mern-front/src/reducers/user.reducer.js",[],"/Users/patxol/Projects/raclette-mern-front/src/actions/user.actions.js",[],"/Users/patxol/Projects/raclette-mern-front/src/components/Home/Timeline.js",[],"/Users/patxol/Projects/raclette-mern-front/src/actions/post.actions.js",[],"/Users/patxol/Projects/raclette-mern-front/src/reducers/posts.reducer.js",[],"/Users/patxol/Projects/raclette-mern-front/src/Utils.js",[],"/Users/patxol/Projects/raclette-mern-front/src/reducers/userList.reducer.js",[],"/Users/patxol/Projects/raclette-mern-front/src/components/Post/CreatePost.js",[],"/Users/patxol/Projects/raclette-mern-front/src/components/Post/DeletePost.js",[],"/Users/patxol/Projects/raclette-mern-front/src/components/Post/CheesyLike.js",[],["174","175"],"/Users/patxol/Projects/raclette-mern-front/src/components/Connoisseur/Me.js",[],"/Users/patxol/Projects/raclette-mern-front/src/reducers/parties.reducer.js",[],"/Users/patxol/Projects/raclette-mern-front/src/actions/party.action.js",[],"/Users/patxol/Projects/raclette-mern-front/src/components/Party/CreateParty.js",[],"/Users/patxol/Projects/raclette-mern-front/src/components/Connoisseur/Woo.js",[],"/Users/patxol/Projects/raclette-mern-front/src/components/Party/Invite.js",[],"/Users/patxol/Projects/raclette-mern-front/src/components/Navigation.js",[],"/Users/patxol/Projects/raclette-mern-front/src/components/Post/PostCard.js",["176"],"import React, { useContext } from \"react\";\nimport { Media } from \"react-bootstrap\";\nimport Card from \"react-bootstrap/Card\";\nimport { useSelector } from \"react-redux\";\nimport { LinkContainer } from \"react-router-bootstrap\";\nimport { fromNow, isEmpty } from \"../../Utils\";\nimport { UidContext } from \"../AppContext\";\nimport CheesyLike from \"./CheesyLike\";\nimport DeletePost from \"./DeletePost\";\n\nconst PostCard = ({ post }) => {\n const uid = useContext(UidContext);\n const userListData = useSelector((state) => state.userListReducer);\n const author =\n !isEmpty(userListData[0]) &&\n userListData.find((user) => user._id === post.authorId);\n return (\n <Card className=\"mb-3\" id={post._id}>\n <Card.Header className=\"p-1\">\n <Card.Title className=\"mb-0\">\n <Media>\n <img\n src={\n author.picture\n ? author.picture\n : `https://robohash.org/${author._id}.png?size=120x120&set=set5`\n }\n alt={author.name}\n className=\"rounded-circle border\"\n height={36}\n />\n <Media.Body className=\"align-self-center ml-1\">\n <LinkContainer to={`/connoisseur/${post.authorId}`}>\n <a>{author && author.name}</a>\n </LinkContainer>\n </Media.Body>\n {uid === post.authorId && <DeletePost id={post._id} />}\n </Media>\n </Card.Title>\n </Card.Header>\n <Card.Body>\n <Card.Text className=\"mb-2\">{post.message}</Card.Text>\n </Card.Body>\n {post.picture && (\n <Card.Img\n src={post.picture}\n alt=\"\"\n variant=\"botton\"\n className=\"img-fluid\"\n />\n )}\n <Card.Footer className=\"p-1\">\n <span>\n {uid && <CheesyLike id={post._id} likers={post.likers} />}\n <span> {post.likers ? post.likers.length : \"0\"} cheese(s)</span>\n </span>\n\n <small className=\"text-muted float-right\">\n {fromNow(post.createdAt)}\n </small>\n </Card.Footer>\n </Card>\n );\n};\n\nexport default PostCard;\n","/Users/patxol/Projects/raclette-mern-front/src/components/Party/PartyCard.js",[],"/Users/patxol/Projects/raclette-mern-front/src/components/Party/DeleteParty.js",[],"/Users/patxol/Projects/raclette-mern-front/src/components/Party/PartiesTimeline.js",[],"/Users/patxol/Projects/raclette-mern-front/src/reducers/products.reducer.js",[],"/Users/patxol/Projects/raclette-mern-front/src/actions/products.action.js",[],"/Users/patxol/Projects/raclette-mern-front/src/components/Products/ProductsList.js",[],"/Users/patxol/Projects/raclette-mern-front/src/components/Connoisseur/Profile.js",[],"/Users/patxol/Projects/raclette-mern-front/src/pages/Connoisseur.js",[],"/Users/patxol/Projects/raclette-mern-front/src/pages/AnonHome.js",[],"/Users/patxol/Projects/raclette-mern-front/src/components/Routes/PrivateRoute.js",[],{"ruleId":"177","replacedBy":"178"},{"ruleId":"179","replacedBy":"180"},{"ruleId":"181","severity":1,"message":"182","line":2,"column":10,"nodeType":"183","messageId":"184","endLine":2,"endColumn":16},{"ruleId":"181","severity":1,"message":"185","line":2,"column":23,"nodeType":"183","messageId":"184","endLine":2,"endColumn":32},{"ruleId":"177","replacedBy":"186"},{"ruleId":"179","replacedBy":"187"},{"ruleId":"188","severity":1,"message":"189","line":34,"column":17,"nodeType":"190","endLine":34,"endColumn":20},"no-native-reassign",["191"],"no-negated-in-lhs",["192"],"no-unused-vars","'Button' is defined but never used.","Identifier","unusedVar","'Jumbotron' is defined but never used.",["191"],["192"],"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","no-global-assign","no-unsafe-negation"]