generated from mgcarbonell/pern-auth-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintcache
1 lines (1 loc) · 15 KB
/
.eslintcache
1
[{"/home/mcarbonell/sei/final-project/zerochat-pern/zerochat-frontend/src/index.js":"1","/home/mcarbonell/sei/final-project/zerochat-pern/zerochat-frontend/src/App.js":"2","/home/mcarbonell/sei/final-project/zerochat-pern/zerochat-frontend/src/config/Routes.js":"3","/home/mcarbonell/sei/final-project/zerochat-pern/zerochat-frontend/src/models/user.js":"4","/home/mcarbonell/sei/final-project/zerochat-pern/zerochat-frontend/src/pages/Home.js":"5","/home/mcarbonell/sei/final-project/zerochat-pern/zerochat-frontend/src/pages/Register.js":"6","/home/mcarbonell/sei/final-project/zerochat-pern/zerochat-frontend/src/pages/Profile.js":"7","/home/mcarbonell/sei/final-project/zerochat-pern/zerochat-frontend/src/pages/Login.js":"8","/home/mcarbonell/sei/final-project/zerochat-pern/zerochat-frontend/src/components/Footer.js":"9","/home/mcarbonell/sei/final-project/zerochat-pern/zerochat-frontend/src/components/Navbar.js":"10","/home/mcarbonell/sei/final-project/zerochat-pern/zerochat-frontend/src/components/JoinChat.js":"11","/home/mcarbonell/sei/final-project/zerochat-pern/zerochat-frontend/src/components/ConnectedUsers.js":"12","/home/mcarbonell/sei/final-project/zerochat-pern/zerochat-frontend/src/components/ChatMessages.js":"13","/home/mcarbonell/sei/final-project/zerochat-pern/zerochat-frontend/src/components/ChatMessage.js":"14","/home/mcarbonell/sei/final-project/zerochat-pern/zerochat-frontend/src/components/ChatTerminal.js":"15","/home/mcarbonell/sei/final-project/zerochat-pern/zerochat-frontend/src/components/ChatInfoBar.js":"16","/home/mcarbonell/sei/final-project/zerochat-pern/zerochat-frontend/src/components/CredentialsContainer.js":"17","/home/mcarbonell/sei/final-project/zerochat-pern/zerochat-frontend/src/components/EditProfile.js":"18","/home/mcarbonell/sei/final-project/zerochat-pern/zerochat-frontend/src/components/ConfirmDialog.js":"19","/home/mcarbonell/sei/final-project/zerochat-pern/zerochat-frontend/src/theme.js":"20","/home/mcarbonell/sei/final-project/zerochat-pern/zerochat-frontend/src/pages/Chat.js":"21","/home/mcarbonell/sei/final-project/zerochat-pern/zerochat-frontend/src/pages/Join.js":"22"},{"size":539,"mtime":1608225174466,"results":"23","hashOfConfig":"24"},{"size":1700,"mtime":1609372718401,"results":"25","hashOfConfig":"24"},{"size":1480,"mtime":1609374664914,"results":"26","hashOfConfig":"24"},{"size":1534,"mtime":1609442632608,"results":"27","hashOfConfig":"24"},{"size":1428,"mtime":1609297594741,"results":"28","hashOfConfig":"24"},{"size":5073,"mtime":1608225174470,"results":"29","hashOfConfig":"24"},{"size":4710,"mtime":1609297624089,"results":"30","hashOfConfig":"24"},{"size":3621,"mtime":1608225174470,"results":"31","hashOfConfig":"24"},{"size":585,"mtime":1608225173786,"results":"32","hashOfConfig":"24"},{"size":3027,"mtime":1608225173790,"results":"33","hashOfConfig":"24"},{"size":2294,"mtime":1608225173786,"results":"34","hashOfConfig":"24"},{"size":1213,"mtime":1609443884511,"results":"35","hashOfConfig":"24"},{"size":672,"mtime":1609443219199,"results":"36","hashOfConfig":"24"},{"size":1880,"mtime":1609443119368,"results":"37","hashOfConfig":"24"},{"size":1561,"mtime":1609444493083,"results":"38","hashOfConfig":"24"},{"size":1855,"mtime":1608225173786,"results":"39","hashOfConfig":"24"},{"size":487,"mtime":1608225173786,"results":"40","hashOfConfig":"24"},{"size":2103,"mtime":1608225173786,"results":"41","hashOfConfig":"24"},{"size":2053,"mtime":1609365012519,"results":"42","hashOfConfig":"24"},{"size":829,"mtime":1608225174470,"results":"43","hashOfConfig":"24"},{"size":2328,"mtime":1609444250939,"results":"44","hashOfConfig":"24"},{"size":181,"mtime":1608225174470,"results":"45","hashOfConfig":"24"},{"filePath":"46","messages":"47","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"48"},"13sl37d",{"filePath":"49","messages":"50","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"48"},{"filePath":"51","messages":"52","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"48"},{"filePath":"53","messages":"54","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"55","messages":"56","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"48"},{"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":"48"},{"filePath":"61","messages":"62","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"48"},{"filePath":"63","messages":"64","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"65","messages":"66","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"67","usedDeprecatedRules":"48"},{"filePath":"68","messages":"69","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"48"},{"filePath":"70","messages":"71","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"72","messages":"73","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"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,"usedDeprecatedRules":"48"},{"filePath":"80","messages":"81","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"48"},{"filePath":"82","messages":"83","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"84","usedDeprecatedRules":"48"},{"filePath":"85","messages":"86","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"48"},{"filePath":"87","messages":"88","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"48"},{"filePath":"89","messages":"90","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"91","messages":"92","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"48"},"/home/mcarbonell/sei/final-project/zerochat-pern/zerochat-frontend/src/index.js",[],["93","94"],"/home/mcarbonell/sei/final-project/zerochat-pern/zerochat-frontend/src/App.js",[],"/home/mcarbonell/sei/final-project/zerochat-pern/zerochat-frontend/src/config/Routes.js",[],"/home/mcarbonell/sei/final-project/zerochat-pern/zerochat-frontend/src/models/user.js",[],"/home/mcarbonell/sei/final-project/zerochat-pern/zerochat-frontend/src/pages/Home.js",[],"/home/mcarbonell/sei/final-project/zerochat-pern/zerochat-frontend/src/pages/Register.js",[],"/home/mcarbonell/sei/final-project/zerochat-pern/zerochat-frontend/src/pages/Profile.js",[],"/home/mcarbonell/sei/final-project/zerochat-pern/zerochat-frontend/src/pages/Login.js",[],"/home/mcarbonell/sei/final-project/zerochat-pern/zerochat-frontend/src/components/Footer.js",[],"/home/mcarbonell/sei/final-project/zerochat-pern/zerochat-frontend/src/components/Navbar.js",["95"],"import React, { useState, useEffect } from 'react';\nimport { Link } from 'react-router-dom';\nimport { \n AppBar, \n Toolbar, \n IconButton, \n MenuItem, \n Menu,\n Grid \n} from '@material-ui/core';\nimport AccountCircle from '@material-ui/icons/AccountCircle'\nimport { makeStyles } from '@material-ui/core/styles';\nimport logo from '../images/zerochatglitchedlogo.gif'\n\nconst useStyles = makeStyles((theme) => ({\n root: {\n flexGrow: 1,\n background: 'transparent', \n boxShadow: 'none'\n },\n profileButton: {\n marginLeft: '1rem'\n },\n newEntryButton: {\n marginRight: '1rem'\n },\n img: {\n maxWidth: '65px',\n }\n\n}));\n\nconst Navbar = (props) => {\n const classes = useStyles();\n\n const [anchorEl, setAnchorEl] = useState(false);\n \n const handleMenu = (event) => {\n setAnchorEl(event.currentTarget);\n };\n \n const handleClose = () => {\n setAnchorEl(false)\n };\n\n useEffect(() => {\n setAnchorEl(false)\n return () => {\n handleClose()\n }\n }, [])\n \n\n return (\n <div className={classes.root}>\n <AppBar \n position=\"static\" \n style = {{ backgroundColor: \"black\" }}\n >\n <Toolbar>\n <img className={classes.img} src={logo} alt=\"zerochat logo\" />\n <Grid\n component=\"label\"\n container\n alignItems=\"center\"\n spacing={2}\n >\n </Grid>\n <Grid\n container\n direction=\"row-reverse\"\n justify=\"flex-start\"\n alignItems=\"center\"\n >\n { props.currentUser ? \n <>\n <IconButton\n className={classes.profileButton}\n aria-label=\"account of current user\"\n aria-controls=\"menu-appbar\"\n aria-haspopup=\"true\"\n onClick={handleMenu}\n color=\"secondary\"\n fontSize=\"large\"\n >\n <AccountCircle \n color='secondary' \n style={{ fontSize: '300%' }} \n />\n </IconButton>\n <Menu\n id=\"menu-appbar\"\n anchorEl={anchorEl}\n anchorOrigin={{\n horizontal: 'right'\n }}\n keepMounted\n transformOrigin={{\n horizontal: 'right'\n }}\n open={anchorEl}\n onClose={handleClose}\n >\n <MenuItem component={ Link } to={'/profile'} onClick={handleClose}>\n Profile\n </MenuItem>\n <MenuItem component={ Link } to={'/logout'} onClick={handleClose, props.logout}>\n Logout\n </MenuItem>\n </Menu>\n </>\n :\n <>\n\n </>\n }\n </Grid>\n </Toolbar>\n </AppBar>\n </div>\n );\n};\n\nexport default Navbar;","/home/mcarbonell/sei/final-project/zerochat-pern/zerochat-frontend/src/components/JoinChat.js",[],"/home/mcarbonell/sei/final-project/zerochat-pern/zerochat-frontend/src/components/ConnectedUsers.js",[],"/home/mcarbonell/sei/final-project/zerochat-pern/zerochat-frontend/src/components/ChatMessages.js",[],"/home/mcarbonell/sei/final-project/zerochat-pern/zerochat-frontend/src/components/ChatMessage.js",[],"/home/mcarbonell/sei/final-project/zerochat-pern/zerochat-frontend/src/components/ChatTerminal.js",[],"/home/mcarbonell/sei/final-project/zerochat-pern/zerochat-frontend/src/components/ChatInfoBar.js",[],"/home/mcarbonell/sei/final-project/zerochat-pern/zerochat-frontend/src/components/CredentialsContainer.js",[],"/home/mcarbonell/sei/final-project/zerochat-pern/zerochat-frontend/src/components/EditProfile.js",["96"],"import React, { useState } from 'react';\nimport UserModel from '../models/user';\nimport { \n Button, \n Grid, \n Paper, \n TextField,\n IconButton \n} from '@material-ui/core';\nimport CloseIcon from '@material-ui/icons/Close'\n\nexport default function EditCreds(props) {\n\n const [username, setUsername] = useState('');\n const [email, setEmail] = useState('')\n const [bio, setBio] = useState('');\n\n const { setFormToggle } = props\n\n const handleSubmit = (event) => {\n event.preventDefault();\n UserModel.update({ username, email, bio })\n .then(() => {\n setFormToggle(false)\n });\n };\n\n const handleClose = () => {\n setFormToggle(false)\n }\n\n\n return (\n <div style={{ padding: 20 }}>\n <IconButton\n onClick={() => handleClose()}\n >\n <CloseIcon />\n </IconButton>\n <form\n onSubmit={handleSubmit}\n noValidate\n autoComplete=\"off\" \n >\n <Grid\n container\n direction=\"column\"\n justify=\"center\"\n alignItems=\"center\"\n >\n <TextField\n id='outlined-basic'\n label='username'\n type='text'\n value={username}\n onInput={event => setUsername(event.target.value)}\n />\n </Grid>\n <Grid\n container\n direction=\"column\"\n justify=\"center\"\n alignItems=\"center\"\n >\n <TextField\n id='outlined-basic'\n label='email'\n type='text'\n value={email}\n onInput={event => setEmail(event.target.value)}\n />\n </Grid>\n <Grid\n container\n direction=\"column\"\n justify=\"center\"\n alignItems=\"center\"\n >\n <TextField\n id='outlined-basic'\n label='bio'\n type='text'\n value={bio}\n rows={3}\n onInput={event => setBio(event.target.value)}\n />\n </Grid>\n <Button\n type=\"submit\"\n >\n submit\n </Button>\n </form>\n </div>\n )\n}\n","/home/mcarbonell/sei/final-project/zerochat-pern/zerochat-frontend/src/components/ConfirmDialog.js",[],"/home/mcarbonell/sei/final-project/zerochat-pern/zerochat-frontend/src/theme.js",[],"/home/mcarbonell/sei/final-project/zerochat-pern/zerochat-frontend/src/pages/Chat.js",["97"],"/home/mcarbonell/sei/final-project/zerochat-pern/zerochat-frontend/src/pages/Join.js",[],{"ruleId":"98","replacedBy":"99"},{"ruleId":"100","replacedBy":"101"},{"ruleId":"102","severity":1,"message":"103","line":107,"column":83,"nodeType":"104","messageId":"105","endLine":107,"endColumn":84},{"ruleId":"106","severity":1,"message":"107","line":6,"column":3,"nodeType":"108","messageId":"109","endLine":6,"endColumn":8},{"ruleId":"110","severity":1,"message":"111","line":59,"column":6,"nodeType":"112","endLine":59,"endColumn":33,"suggestions":"113"},"no-native-reassign",["114"],"no-negated-in-lhs",["115"],"no-sequences","Unexpected use of comma operator.","SequenceExpression","unexpectedCommaExpression","no-unused-vars","'Paper' is defined but never used.","Identifier","unusedVar","react-hooks/exhaustive-deps","React Hook useEffect has an unnecessary dependency: 'ENDPOINT'. Either exclude it or remove the dependency array. Outer scope values like 'ENDPOINT' aren't valid dependencies because mutating them doesn't re-render the component.","ArrayExpression",["116"],"no-global-assign","no-unsafe-negation",{"desc":"117","fix":"118"},"Update the dependencies array to be: [location.search]",{"range":"119","text":"120"},[1413,1440],"[location.search]"]