-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintcache
1 lines (1 loc) · 6.72 KB
/
.eslintcache
1
[{"D:\\linkden-clone\\src\\App.tsx":"1","D:\\linkden-clone\\src\\components\\Header\\Header.tsx":"2","D:\\linkden-clone\\src\\components\\Header\\HeaderOptions.tsx":"3","D:\\linkden-clone\\src\\components\\SideBar\\SideBar.tsx":"4","D:\\linkden-clone\\src\\components\\Feed\\Feed.tsx":"5","D:\\linkden-clone\\src\\components\\Feed\\InputOption.tsx":"6","D:\\linkden-clone\\src\\index.tsx":"7","D:\\linkden-clone\\src\\components\\Widget\\Widget.tsx":"8","D:\\linkden-clone\\src\\components\\Feed\\Posts.tsx":"9","D:\\linkden-clone\\src\\components\\Types\\Types.ts":"10","D:\\linkden-clone\\src\\components\\Firebase\\Firebase.js":"11","D:\\linkden-clone\\src\\reportWebVitals.ts":"12","D:\\linkden-clone\\src\\redux\\userSlice.ts":"13","D:\\linkden-clone\\src\\components\\Login\\Login.tsx":"14","D:\\linkden-clone\\src\\app\\store.js":"15"},{"size":1200,"mtime":1609343021323,"results":"16","hashOfConfig":"17"},{"size":1779,"mtime":1609343765771,"results":"18","hashOfConfig":"17"},{"size":574,"mtime":1609343740147,"results":"19","hashOfConfig":"17"},{"size":1636,"mtime":1609343128827,"results":"20","hashOfConfig":"17"},{"size":2840,"mtime":1609346163687,"results":"21","hashOfConfig":"17"},{"size":389,"mtime":1609069649487,"results":"22","hashOfConfig":"17"},{"size":620,"mtime":1609322164565,"results":"23","hashOfConfig":"17"},{"size":840,"mtime":1609347972150,"results":"24","hashOfConfig":"17"},{"size":1504,"mtime":1609346281563,"results":"25","hashOfConfig":"17"},{"size":117,"mtime":1609071424815,"results":"26","hashOfConfig":"27"},{"size":532,"mtime":1609326025760,"results":"28","hashOfConfig":"17"},{"size":425,"mtime":1608893507825,"results":"29","hashOfConfig":"17"},{"size":571,"mtime":1609321600595,"results":"30","hashOfConfig":"17"},{"size":3093,"mtime":1609339364958,"results":"31","hashOfConfig":"17"},{"size":184,"mtime":1609321610611,"results":"32","hashOfConfig":"17"},{"filePath":"33","messages":"34","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"35"},"1u82usw",{"filePath":"36","messages":"37","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"38","messages":"39","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"40","messages":"41","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"42"},{"filePath":"43","messages":"44","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"45"},{"filePath":"46","messages":"47","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"48"},{"filePath":"49","messages":"50","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"51","messages":"52","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"45"},{"filePath":"53","messages":"54","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"55","messages":"56","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1yh1xzz",{"filePath":"57","messages":"58","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"59"},{"filePath":"60","messages":"61","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"62"},{"filePath":"63","messages":"64","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"45"},{"filePath":"65","messages":"66","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"67","messages":"68","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"59"},"D:\\linkden-clone\\src\\App.tsx",["69"],"import React, { useEffect } from \"react\";\nimport \"./App.css\";\nimport Feed from \"./components/Feed/Feed\";\nimport Header from \"./components/Header/Header\";\nimport SideBar from \"./components/SideBar/SideBar\";\nimport Widget from \"./components/Widget/Widget\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { login, logout, selectUser } from \"./redux/userSlice\";\nimport Login from \"./components/Login/Login\";\nimport { auth } from \"./components/Firebase/Firebase\";\n\nfunction App() {\n const dispatch = useDispatch();\n const user = useSelector(selectUser);\n\n useEffect(() => {\n auth.onAuthStateChanged((userAuth) => {\n if (userAuth) {\n dispatch(\n login({\n email: userAuth.email,\n uid: userAuth.uid,\n displayName: userAuth.displayName,\n photoUrl: userAuth.photoURL,\n })\n );\n } else {\n dispatch(logout());\n }\n });\n }, []);\n return (\n <div className=\"app\">\n <Header />\n\n {!user ? (\n <Login />\n ) : (\n <div className=\"app__body\">\n <SideBar />\n <Feed />\n <Widget />\n </div>\n )}\n </div>\n );\n}\n\nexport default App;\n","D:\\linkden-clone\\src\\components\\Header\\Header.tsx",[],"D:\\linkden-clone\\src\\components\\Header\\HeaderOptions.tsx",[],"D:\\linkden-clone\\src\\components\\SideBar\\SideBar.tsx",[],["70","71"],"D:\\linkden-clone\\src\\components\\Feed\\Feed.tsx",[],["72","73"],"D:\\linkden-clone\\src\\components\\Feed\\InputOption.tsx",[],["74","75"],"D:\\linkden-clone\\src\\index.tsx",[],"D:\\linkden-clone\\src\\components\\Widget\\Widget.tsx",[],"D:\\linkden-clone\\src\\components\\Feed\\Posts.tsx",[],"D:\\linkden-clone\\src\\components\\Types\\Types.ts",[],"D:\\linkden-clone\\src\\components\\Firebase\\Firebase.js",[],["76","77"],"D:\\linkden-clone\\src\\reportWebVitals.ts",[],["78","79"],"D:\\linkden-clone\\src\\redux\\userSlice.ts",[],"D:\\linkden-clone\\src\\components\\Login\\Login.tsx",[],"D:\\linkden-clone\\src\\app\\store.js",[],{"ruleId":"80","severity":1,"message":"81","line":31,"column":6,"nodeType":"82","endLine":31,"endColumn":8,"suggestions":"83"},{"ruleId":"84","replacedBy":"85"},{"ruleId":"86","replacedBy":"87"},{"ruleId":"84","replacedBy":"88"},{"ruleId":"86","replacedBy":"89"},{"ruleId":"84","replacedBy":"90"},{"ruleId":"86","replacedBy":"91"},{"ruleId":"84","replacedBy":"85"},{"ruleId":"86","replacedBy":"87"},{"ruleId":"84","replacedBy":"92"},{"ruleId":"86","replacedBy":"93"},"react-hooks/exhaustive-deps","React Hook useEffect has a missing dependency: 'dispatch'. Either include it or remove the dependency array.","ArrayExpression",["94"],"no-native-reassign",["95"],"no-negated-in-lhs",["96"],["95"],["96"],["95"],["96"],["95"],["96"],{"desc":"97","fix":"98"},"no-global-assign","no-unsafe-negation","Update the dependencies array to be: [dispatch]",{"range":"99","text":"100"},[932,934],"[dispatch]"]