.eslintcache 15.4 KB
Newer Older
Lee SeoYeon's avatar
.    
Lee SeoYeon committed
1
[{"C:\\Users\\hello\\Desktop\\project\\search-page\\client\\src\\index.js":"1","C:\\Users\\hello\\Desktop\\project\\search-page\\client\\src\\reportWebVitals.js":"2","C:\\Users\\hello\\Desktop\\project\\search-page\\client\\src\\pagination.js":"3","C:\\Users\\hello\\Desktop\\project\\search-page\\client\\src\\Components\\Place.js":"4","C:\\Users\\hello\\Desktop\\project\\search-page\\client\\src\\Components\\Login.js":"5","C:\\Users\\hello\\Desktop\\project\\search-page\\client\\src\\utils\\catchErrors.js":"6","C:\\Users\\hello\\Desktop\\project\\search-page\\client\\src\\Components\\Signup.js":"7","C:\\Users\\hello\\Desktop\\project\\search-page\\client\\src\\utils\\auth.js":"8","C:\\Users\\hello\\Desktop\\project\\search-page\\client\\src\\Components\\Paginations.js":"9","C:\\Users\\hello\\Desktop\\project\\search-page\\client\\src\\Search.js":"10","C:\\Users\\hello\\Desktop\\project\\search-page\\client\\src\\App.js":"11","C:\\Users\\hello\\Desktop\\project\\search-page\\client\\src\\Components\\PrivateRoute.js":"12","C:\\Users\\hello\\Desktop\\project\\search-page\\client\\src\\Bookmark.js":"13"},{"size":1252,"mtime":1611127524644,"results":"14","hashOfConfig":"15"},{"size":362,"mtime":499162500000,"results":"16","hashOfConfig":"15"},{"size":2336,"mtime":1611127524186,"results":"17","hashOfConfig":"15"},{"size":1608,"mtime":1611127940167,"results":"18","hashOfConfig":"15"},{"size":2742,"mtime":1610519196409,"results":"19","hashOfConfig":"15"},{"size":405,"mtime":1609915408569,"results":"20","hashOfConfig":"15"},{"size":2675,"mtime":1610519220676,"results":"21","hashOfConfig":"15"},{"size":459,"mtime":1610352110057,"results":"22","hashOfConfig":"15"},{"size":2199,"mtime":1610503781980,"results":"23","hashOfConfig":"15"},{"size":12035,"mtime":1611127381906,"results":"24","hashOfConfig":"15"},{"size":2110,"mtime":1610617422890,"results":"25","hashOfConfig":"15"},{"size":438,"mtime":1610615328660,"results":"26","hashOfConfig":"15"},{"size":2304,"mtime":1611111672945,"results":"27","hashOfConfig":"15"},{"filePath":"28","messages":"29","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"30","usedDeprecatedRules":"31"},"1t9w6go",{"filePath":"32","messages":"33","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"31"},{"filePath":"34","messages":"35","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"36","messages":"37","errorCount":0,"warningCount":6,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"38","messages":"39","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"31"},{"filePath":"40","messages":"41","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"31"},{"filePath":"42","messages":"43","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"31"},{"filePath":"44","messages":"45","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"31"},{"filePath":"46","messages":"47","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"48","messages":"49","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"50","messages":"51","errorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":"52","usedDeprecatedRules":"31"},{"filePath":"53","messages":"54","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"31"},{"filePath":"55","messages":"56","errorCount":0,"warningCount":12,"fixableErrorCount":0,"fixableWarningCount":0,"source":"57","usedDeprecatedRules":"31"},"C:\\Users\\hello\\Desktop\\project\\search-page\\client\\src\\index.js",["58"],"import React from 'react';\r\nimport ReactDOM from 'react-dom';\r\nimport './index.css';\r\nimport 'bootstrap/dist/css/bootstrap.min.css';\r\nimport App from './App'\r\nimport Search from './Search';\r\nimport reportWebVitals from './reportWebVitals';\r\nimport Signup from './Components/Signup'\r\nimport Login from './Components/Login'\r\nimport PrivateRoute from \"./Components/PrivateRoute\";\r\nimport Bookmark from \"./Bookmark\"\r\nimport {\r\n  BrowserRouter as Router,\r\n  Switch,\r\n  Route,\r\n  Redirect,\r\n} from \"react-router-dom\";\r\nimport axios from 'axios';\r\n\r\n\r\nReactDOM.render(\r\n  <React.StrictMode>\r\n    <Router>\r\n      <Switch>\r\n        <Route exact path=\"/\" component={App} />\r\n        <Route path=\"/search\" component={Search} />\r\n        <Route path='/signup' component={Signup}/>\r\n        <Route path='/login' component={Login} />\r\n        <Redirect path=\"/search/:search\" to=\"/search\" />\r\n        <PrivateRoute path='/bookmark'><Bookmark/></PrivateRoute>\r\n      </Switch>\r\n    </Router>\r\n  </React.StrictMode>,\r\n  document.getElementById('root')\r\n);\r\n\r\n// If you want to start measuring performance in your app, pass a function\r\n// to log results (for example: reportWebVitals(console.log))\r\n// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals\r\nreportWebVitals();\r\n",["59","60"],"C:\\Users\\hello\\Desktop\\project\\search-page\\client\\src\\reportWebVitals.js",[],"C:\\Users\\hello\\Desktop\\project\\search-page\\client\\src\\pagination.js",[],"C:\\Users\\hello\\Desktop\\project\\search-page\\client\\src\\Components\\Place.js",["61","62","63","64","65","66"],"C:\\Users\\hello\\Desktop\\project\\search-page\\client\\src\\Components\\Login.js",[],"C:\\Users\\hello\\Desktop\\project\\search-page\\client\\src\\utils\\catchErrors.js",[],"C:\\Users\\hello\\Desktop\\project\\search-page\\client\\src\\Components\\Signup.js",[],"C:\\Users\\hello\\Desktop\\project\\search-page\\client\\src\\utils\\auth.js",[],"C:\\Users\\hello\\Desktop\\project\\search-page\\client\\src\\Components\\Paginations.js",[],"C:\\Users\\hello\\Desktop\\project\\search-page\\client\\src\\Search.js",["67","68","69"],"C:\\Users\\hello\\Desktop\\project\\search-page\\client\\src\\App.js",["70","71","72","73"],"import React, { useEffect, useState } from 'react';\r\nimport { Link, Redirect } from 'react-router-dom';\r\nimport ohuh from './ohuh.PNG'\r\nimport { Container, Row, Form, Image, InputGroup, Button, Col, FormControl, Navbar, Nav } from 'react-bootstrap';\r\nimport { handleLogout, isAuthenticated } from './utils/auth.js'\r\n\r\nfunction App() {\r\n  const [state, setState] = useState(false);\r\n  const [search, setSearch] = useState(\"\");\r\n  const user = isAuthenticated()\r\n\r\n  if (state !== false) {\r\n    return <Redirect to={{\r\n      pathname: `/search/${search}`,\r\n      state: { id: search },\r\n    }} />;\r\n  }\r\n\r\n  const handleChange = (e) => {\r\n    setSearch(e.target.value);\r\n  }\r\n\r\n  const handleSubmit = () => {\r\n    setState(true);\r\n  }\r\n\r\n  return (\r\n    <Container className=\"vh-100 d-flex justify-content-md-center align-items-center\">\r\n      <Col md={6} style={{ marginTop: 140 }}>\r\n        <Nav className=\"justify-content-end\" bg=\"#fff\" variant=\"light\" >\r\n          {user ? <Nav.Link onClick={() => handleLogout()}>로그아웃</Nav.Link>\r\n            : (\r\n              <>\r\n                <Nav.Link href=\"/signup\">회원가입</Nav.Link>\r\n                <Nav.Link href=\"/login\">로그인</Nav.Link>\r\n              </>\r\n            )}\r\n          <Nav.Link href='/bookmark'>북마크</Nav.Link>\r\n        </Nav>\r\n        <Row style={{ marginBottom: 20 }}>\r\n          <Image src={ohuh} />\r\n        </Row>\r\n        <Row style={{ marginBottom: 500 }}>\r\n          <Form className=\"vw-100\" onSubmit={handleSubmit}>\r\n            <InputGroup style={{ width: 560 }}>\r\n              <Form.Control\r\n                size=\"lg\"\r\n                placeholder=\"검색어를 입력하세요.\"\r\n                aria-label=\"Large\"\r\n                aria-describedby=\"inputGroup-sizing-sm\"\r\n                onChange={handleChange}\r\n              />\r\n              <InputGroup.Append>\r\n                <Button type='submit' variant=\"outline-secondary\">검색</Button>\r\n              </InputGroup.Append>\r\n            </InputGroup>\r\n          </Form>\r\n        </Row>\r\n      </Col>\r\n    </Container>\r\n  );\r\n}\r\n\r\nexport default App;\r\n","C:\\Users\\hello\\Desktop\\project\\search-page\\client\\src\\Components\\PrivateRoute.js",[],"C:\\Users\\hello\\Desktop\\project\\search-page\\client\\src\\Bookmark.js",["74","75","76","77","78","79","80","81","82","83","84","85"],"import React, { useState, useEffect } from 'react'\r\nimport { Alert, Col, Card, Container, Form, Row, Button, Nav, Navbar, ListGroup, Image, Table } from \"react-bootstrap\"\r\nimport axios from \"axios\"\r\nimport { Redirect } from 'react-router-dom'\r\n\r\nfunction Bookmark() {\r\n    // function addFavorite() {\r\n    //     const title = document.title\r\n    //     const url = window.location.href\r\n    //     if (window.sidebar && window.sidebar.addPanel) {\r\n    //         window.sidebar.addPanel(title, url, \"\")\r\n    //     } else if (window.opera && window.print) {\r\n    //         const elem = document.createElement('a');\r\n    //         elem.setAttribute('href', url);\r\n    //         elem.setAttribute('title', title);\r\n    //         elem.setAttribute('rel', 'sidebar');\r\n    //         elem.click();\r\n    //     } else if (document.all) { //msie\r\n    //         window.external.AddFavorite(url, title);\r\n    //     } else {\r\n    //         alert(\"해당브라우저는 즐겨찾기 추가기능이 지원되지 않습니다.\\n\\n수동으로 즐겨찾기에 추가해주세요.\");\r\n    //         return true;\r\n    //     }\r\n    // }\r\n    const add_Page = [{\r\n        title:'즐겨찾기1',\r\n        url:'http://localhost:3000',\r\n    }, {\r\n        title:'즐겨찾기2',\r\n        url:'https://www.naver.com/',\r\n    }, {\r\n        title:'즐겨찾기3',\r\n        url:'https://www.youtube.com/watch?v=wo46N-LQK7o'\r\n    }]\r\n    // const addPlace = addFavorite(add_Page)\r\n  \r\n\r\n    return (\r\n        <Container>\r\n            <Navbar bg=\"primary\" variant=\"dark\">\r\n                <Navbar.Brand href=\"/\">북마크</Navbar.Brand>\r\n                <Nav className=\"mr-auto\">\r\n                    <Nav.Link href=\"/\">Home</Nav.Link>\r\n                </Nav>\r\n                {/* <Form inline>\r\n                <FormControl type=\"text\" placeholder=\"Search\" className=\"mr-sm-2\" />\r\n                <Button variant=\"outline-light\">Search</Button>\r\n            </Form> */}\r\n            </Navbar>\r\n                <Form>\r\n                    <ListGroup>\r\n                        <ListGroup.Item action href=\"\">북마크1</ListGroup.Item>\r\n                        <ListGroup.Item>북마크2</ListGroup.Item>\r\n                    </ListGroup>\r\n                </Form>\r\n        </Container>\r\n    )\r\n}\r\n\r\nexport default Bookmark",{"ruleId":"86","severity":1,"message":"87","line":18,"column":8,"nodeType":"88","messageId":"89","endLine":18,"endColumn":13},{"ruleId":"90","replacedBy":"91"},{"ruleId":"92","replacedBy":"93"},{"ruleId":"86","severity":1,"message":"94","line":3,"column":33,"nodeType":"88","messageId":"89","endLine":3,"endColumn":36},{"ruleId":"86","severity":1,"message":"95","line":3,"column":46,"nodeType":"88","messageId":"89","endLine":3,"endColumn":51},{"ruleId":"86","severity":1,"message":"96","line":3,"column":53,"nodeType":"88","messageId":"89","endLine":3,"endColumn":57},{"ruleId":"86","severity":1,"message":"97","line":3,"column":59,"nodeType":"88","messageId":"89","endLine":3,"endColumn":68},{"ruleId":"86","severity":1,"message":"98","line":3,"column":70,"nodeType":"88","messageId":"89","endLine":3,"endColumn":78},{"ruleId":"99","severity":1,"message":"100","line":20,"column":6,"nodeType":"101","endLine":20,"endColumn":8,"suggestions":"102"},{"ruleId":"86","severity":1,"message":"87","line":8,"column":8,"nodeType":"88","messageId":"89","endLine":8,"endColumn":13},{"ruleId":"86","severity":1,"message":"103","line":16,"column":12,"nodeType":"88","messageId":"89","endLine":16,"endColumn":18},{"ruleId":"104","severity":1,"message":"105","line":90,"column":35,"nodeType":"106","endLine":90,"endColumn":76},{"ruleId":"86","severity":1,"message":"107","line":1,"column":17,"nodeType":"88","messageId":"89","endLine":1,"endColumn":26},{"ruleId":"86","severity":1,"message":"108","line":2,"column":10,"nodeType":"88","messageId":"89","endLine":2,"endColumn":14},{"ruleId":"86","severity":1,"message":"109","line":4,"column":64,"nodeType":"88","messageId":"89","endLine":4,"endColumn":75},{"ruleId":"86","severity":1,"message":"110","line":4,"column":77,"nodeType":"88","messageId":"89","endLine":4,"endColumn":83},{"ruleId":"86","severity":1,"message":"111","line":1,"column":17,"nodeType":"88","messageId":"89","endLine":1,"endColumn":25},{"ruleId":"86","severity":1,"message":"107","line":1,"column":27,"nodeType":"88","messageId":"89","endLine":1,"endColumn":36},{"ruleId":"86","severity":1,"message":"112","line":2,"column":10,"nodeType":"88","messageId":"89","endLine":2,"endColumn":15},{"ruleId":"86","severity":1,"message":"94","line":2,"column":17,"nodeType":"88","messageId":"89","endLine":2,"endColumn":20},{"ruleId":"86","severity":1,"message":"96","line":2,"column":22,"nodeType":"88","messageId":"89","endLine":2,"endColumn":26},{"ruleId":"86","severity":1,"message":"113","line":2,"column":45,"nodeType":"88","messageId":"89","endLine":2,"endColumn":48},{"ruleId":"86","severity":1,"message":"114","line":2,"column":50,"nodeType":"88","messageId":"89","endLine":2,"endColumn":56},{"ruleId":"86","severity":1,"message":"115","line":2,"column":82,"nodeType":"88","messageId":"89","endLine":2,"endColumn":87},{"ruleId":"86","severity":1,"message":"116","line":2,"column":89,"nodeType":"88","messageId":"89","endLine":2,"endColumn":94},{"ruleId":"86","severity":1,"message":"87","line":3,"column":8,"nodeType":"88","messageId":"89","endLine":3,"endColumn":13},{"ruleId":"86","severity":1,"message":"117","line":4,"column":10,"nodeType":"88","messageId":"89","endLine":4,"endColumn":18},{"ruleId":"86","severity":1,"message":"118","line":25,"column":11,"nodeType":"88","messageId":"89","endLine":25,"endColumn":19},"no-unused-vars","'axios' is defined but never used.","Identifier","unusedVar","no-native-reassign",["119"],"no-negated-in-lhs",["120"],"'Col' is defined but never used.","'Badge' is defined but never used.","'Card' is defined but never used.","'Accordion' is defined but never used.","'Carousel' is defined but never used.","react-hooks/exhaustive-deps","React Hook useEffect has a missing dependency: 'getReview'. Either include it or remove the dependency array.","ArrayExpression",["121"],"'mobile' is assigned a value but never used.","react/jsx-no-duplicate-props","No duplicate props allowed","JSXAttribute","'useEffect' is defined but never used.","'Link' is defined but never used.","'FormControl' is defined but never used.","'Navbar' is defined but never used.","'useState' is defined but never used.","'Alert' is defined but never used.","'Row' is defined but never used.","'Button' is defined but never used.","'Image' is defined but never used.","'Table' is defined but never used.","'Redirect' is defined but never used.","'add_Page' is assigned a value but never used.","no-global-assign","no-unsafe-negation",{"desc":"122","fix":"123"},"Update the dependencies array to be: [getReview]",{"range":"124","text":"125"},[560,562],"[getReview]"]