-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintcache
1 lines (1 loc) · 7.67 KB
/
.eslintcache
1
[{"F:\\codewithrafiq\\Social Network in Django and Reactjs\\code\\djreactsocial\\src\\index.js":"1","F:\\codewithrafiq\\Social Network in Django and Reactjs\\code\\djreactsocial\\src\\App.jsx":"2","F:\\codewithrafiq\\Social Network in Django and Reactjs\\code\\djreactsocial\\src\\env.js":"3","F:\\codewithrafiq\\Social Network in Django and Reactjs\\code\\djreactsocial\\src\\components\\Navbar.jsx":"4","F:\\codewithrafiq\\Social Network in Django and Reactjs\\code\\djreactsocial\\src\\page\\HomePage.jsx":"5","F:\\codewithrafiq\\Social Network in Django and Reactjs\\code\\djreactsocial\\src\\components\\AllPosts.jsx":"6","F:\\codewithrafiq\\Social Network in Django and Reactjs\\code\\djreactsocial\\src\\components\\SideBar.jsx":"7","F:\\codewithrafiq\\Social Network in Django and Reactjs\\code\\djreactsocial\\src\\components\\common\\SinglePost.jsx":"8","F:\\codewithrafiq\\Social Network in Django and Reactjs\\code\\djreactsocial\\src\\components\\common\\SingleComment.jsx":"9","F:\\codewithrafiq\\Social Network in Django and Reactjs\\code\\djreactsocial\\src\\components\\common\\SingleReply.jsx":"10","F:\\codewithrafiq\\Social Network in Django and Reactjs\\code\\djreactsocial\\src\\state\\stateProvider.jsx":"11","F:\\codewithrafiq\\Social Network in Django and Reactjs\\code\\djreactsocial\\src\\state\\reducer.js":"12","F:\\codewithrafiq\\Social Network in Django and Reactjs\\code\\djreactsocial\\src\\page\\PostDetails.jsx":"13"},{"size":391,"mtime":1613635622385,"results":"14","hashOfConfig":"15"},{"size":508,"mtime":1613653254386,"results":"16","hashOfConfig":"15"},{"size":570,"mtime":1613323642529,"results":"17","hashOfConfig":"15"},{"size":274,"mtime":1613323090879,"results":"18","hashOfConfig":"15"},{"size":541,"mtime":1613324030918,"results":"19","hashOfConfig":"15"},{"size":930,"mtime":1613635499410,"results":"20","hashOfConfig":"15"},{"size":194,"mtime":1613322352439,"results":"21","hashOfConfig":"15"},{"size":5537,"mtime":1613654802548,"results":"22","hashOfConfig":"15"},{"size":2398,"mtime":1613654269699,"results":"23","hashOfConfig":"15"},{"size":535,"mtime":1613368318912,"results":"24","hashOfConfig":"15"},{"size":400,"mtime":1613635075127,"results":"25","hashOfConfig":"15"},{"size":331,"mtime":1613634463567,"results":"26","hashOfConfig":"15"},{"size":1019,"mtime":1613658365845,"results":"27","hashOfConfig":"15"},{"filePath":"28","messages":"29","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"30"},"1k2vs75",{"filePath":"31","messages":"32","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"33","messages":"34","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"30"},{"filePath":"35","messages":"36","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"30"},{"filePath":"37","messages":"38","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"30"},{"filePath":"39","messages":"40","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"41","usedDeprecatedRules":"30"},{"filePath":"42","messages":"43","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"30"},{"filePath":"44","messages":"45","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"46","messages":"47","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"48","messages":"49","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"30"},{"filePath":"50","messages":"51","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"30"},{"filePath":"52","messages":"53","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"30"},{"filePath":"54","messages":"55","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},"F:\\codewithrafiq\\Social Network in Django and Reactjs\\code\\djreactsocial\\src\\index.js",[],["56","57"],"F:\\codewithrafiq\\Social Network in Django and Reactjs\\code\\djreactsocial\\src\\App.jsx",[],"F:\\codewithrafiq\\Social Network in Django and Reactjs\\code\\djreactsocial\\src\\env.js",[],"F:\\codewithrafiq\\Social Network in Django and Reactjs\\code\\djreactsocial\\src\\components\\Navbar.jsx",[],"F:\\codewithrafiq\\Social Network in Django and Reactjs\\code\\djreactsocial\\src\\page\\HomePage.jsx",[],"F:\\codewithrafiq\\Social Network in Django and Reactjs\\code\\djreactsocial\\src\\components\\AllPosts.jsx",["58","59"],"import { Typography } from \"@material-ui/core\";\r\nimport Axios from \"axios\";\r\nimport React, { useEffect, useState } from \"react\";\r\nimport { domain, header } from \"../env\";\r\nimport { useStateValue } from \"../state/stateProvider\";\r\nimport SinglePost from \"./common/SinglePost\";\r\n\r\nconst AllPosts = () => {\r\n const [allposts, setAllposts] = useState(null);\r\n const [{ reload }, { }] = useStateValue()\r\n\r\n useEffect(() => {\r\n const getallposts = async () => {\r\n Axios({\r\n url: `${domain}/api/posts/`,\r\n method: \"GET\",\r\n headers: header,\r\n }).then((response) => {\r\n console.log(response.data);\r\n setAllposts(response.data);\r\n });\r\n };\r\n getallposts();\r\n }, [reload]);\r\n return (\r\n allposts !== null && (\r\n <>\r\n {allposts?.map((item, i) => (\r\n <SinglePost key={i} post={item} />\r\n ))}\r\n </>\r\n )\r\n );\r\n};\r\n\r\nexport default AllPosts;\r\n","F:\\codewithrafiq\\Social Network in Django and Reactjs\\code\\djreactsocial\\src\\components\\SideBar.jsx",[],"F:\\codewithrafiq\\Social Network in Django and Reactjs\\code\\djreactsocial\\src\\components\\common\\SinglePost.jsx",["60"],"F:\\codewithrafiq\\Social Network in Django and Reactjs\\code\\djreactsocial\\src\\components\\common\\SingleComment.jsx",["61"],"F:\\codewithrafiq\\Social Network in Django and Reactjs\\code\\djreactsocial\\src\\components\\common\\SingleReply.jsx",[],"F:\\codewithrafiq\\Social Network in Django and Reactjs\\code\\djreactsocial\\src\\state\\stateProvider.jsx",[],"F:\\codewithrafiq\\Social Network in Django and Reactjs\\code\\djreactsocial\\src\\state\\reducer.js",[],"F:\\codewithrafiq\\Social Network in Django and Reactjs\\code\\djreactsocial\\src\\page\\PostDetails.jsx",["62"],{"ruleId":"63","replacedBy":"64"},{"ruleId":"65","replacedBy":"66"},{"ruleId":"67","severity":1,"message":"68","line":1,"column":10,"nodeType":"69","messageId":"70","endLine":1,"endColumn":20},{"ruleId":"71","severity":1,"message":"72","line":10,"column":22,"nodeType":"73","messageId":"74","endLine":10,"endColumn":25},{"ruleId":"71","severity":1,"message":"72","line":45,"column":10,"nodeType":"73","messageId":"74","endLine":45,"endColumn":13},{"ruleId":"71","severity":1,"message":"72","line":20,"column":10,"nodeType":"73","messageId":"74","endLine":20,"endColumn":13},{"ruleId":"75","severity":1,"message":"76","line":24,"column":8,"nodeType":"77","endLine":24,"endColumn":10,"suggestions":"78"},"no-native-reassign",["79"],"no-negated-in-lhs",["80"],"no-unused-vars","'Typography' is defined but never used.","Identifier","unusedVar","no-empty-pattern","Unexpected empty object pattern.","ObjectPattern","unexpected","react-hooks/exhaustive-deps","React Hook useEffect has a missing dependency: 'id'. Either include it or remove the dependency array.","ArrayExpression",["81"],"no-global-assign","no-unsafe-negation",{"desc":"82","fix":"83"},"Update the dependencies array to be: [id]",{"range":"84","text":"85"},[781,783],"[id]"]