-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintcache
1 lines (1 loc) · 15.1 KB
/
.eslintcache
1
[{"/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/serviceApp/dataService.js":"1","/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/pages/myDiaryPage/myDiaryPage.jsx":"2","/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/serviceApp/firebaseApp.js":"3","/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/components/portal_modal/portal_login/registerBody.jsx":"4","/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/components/portal_modal/cardClick/diaryClick.jsx":"5","/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/components/calendar/calendarBody.jsx":"6","/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/serviceApp/textEmotion.js":"7","/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/pages/main/main.jsx":"8","/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/components/howToUse/howToUse.jsx":"9","/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/index.js":"10","/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/components/diaryEditForm/diaryEditForm.jsx":"11","/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/components/preView/preViewCard.jsx":"12","/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/components/calendar/calendarHeader.jsx":"13","/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/components/portal_modal/portal_footer/portalFooter.jsx":"14","/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/components/portal_modal/portal_header/portal-header.jsx":"15","/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/components/calendar/showingDayBox.jsx":"16","/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/components/portal_modal/portal_login/loginBody.jsx":"17","/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/components/portal_modal/modalPotal.jsx":"18","/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/components/imageFile_upload/imageFile_upload.jsx":"19","/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/serviceApp/auth_Service.js":"20","/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/components/diaryCards/diaryCards.jsx":"21","/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/components/header/header.jsx":"22","/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/components/portal_modal/portal_login/loginModal.jsx":"23","/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/components/calendar/showingEmptyBox.jsx":"24"},{"size":1181,"mtime":1614179096279,"results":"25","hashOfConfig":"26"},{"size":5086,"mtime":1614492294542,"results":"27","hashOfConfig":"26"},{"size":751,"mtime":1611900941435,"results":"28","hashOfConfig":"26"},{"size":1981,"mtime":1614480109168,"results":"29","hashOfConfig":"26"},{"size":2911,"mtime":1614492290868,"results":"30","hashOfConfig":"26"},{"size":2665,"mtime":1614486911709,"results":"31","hashOfConfig":"26"},{"size":499,"mtime":1614488347952,"results":"32","hashOfConfig":"26"},{"size":1054,"mtime":1614491083134,"results":"33","hashOfConfig":"26"},{"size":645,"mtime":1614493813100,"results":"34","hashOfConfig":"26"},{"size":791,"mtime":1613956324030,"results":"35","hashOfConfig":"26"},{"size":5661,"mtime":1614480213111,"results":"36","hashOfConfig":"26"},{"size":678,"mtime":1613991294000,"results":"37","hashOfConfig":"26"},{"size":1548,"mtime":1614077270000,"results":"38","hashOfConfig":"26"},{"size":668,"mtime":1613905344000,"results":"39","hashOfConfig":"26"},{"size":373,"mtime":1614492287245,"results":"40","hashOfConfig":"26"},{"size":515,"mtime":1613796708000,"results":"41","hashOfConfig":"26"},{"size":1623,"mtime":1614492285478,"results":"42","hashOfConfig":"26"},{"size":234,"mtime":1614492289153,"results":"43","hashOfConfig":"26"},{"size":1436,"mtime":1614492292733,"results":"44","hashOfConfig":"26"},{"size":943,"mtime":1611900941435,"results":"45","hashOfConfig":"26"},{"size":912,"mtime":1614486357688,"results":"46","hashOfConfig":"26"},{"size":1435,"mtime":1614254634865,"results":"47","hashOfConfig":"26"},{"size":1901,"mtime":1614492952199,"results":"48","hashOfConfig":"26"},{"size":193,"mtime":1611900941440,"results":"49","hashOfConfig":"26"},{"filePath":"50","messages":"51","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1ydq0eg",{"filePath":"52","messages":"53","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"54"},{"filePath":"55","messages":"56","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"57","messages":"58","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"54"},{"filePath":"59","messages":"60","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"61"},{"filePath":"62","messages":"63","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"64"},{"filePath":"65","messages":"66","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"67","messages":"68","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"69","usedDeprecatedRules":"64"},{"filePath":"70","messages":"71","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"64"},{"filePath":"72","messages":"73","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"64"},{"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":"64"},{"filePath":"80","messages":"81","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"82"},{"filePath":"83","messages":"84","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"85","messages":"86","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"87","messages":"88","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"89"},{"filePath":"90","messages":"91","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"89"},{"filePath":"92","messages":"93","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"94"},{"filePath":"95","messages":"96","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"97","messages":"98","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"54"},{"filePath":"99","messages":"100","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"101","messages":"102","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"103","messages":"104","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/serviceApp/dataService.js",[],"/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/pages/myDiaryPage/myDiaryPage.jsx",[],["105","106"],"/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/serviceApp/firebaseApp.js",[],"/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/components/portal_modal/portal_login/registerBody.jsx",[],"/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/components/portal_modal/cardClick/diaryClick.jsx",["107"],"/* eslint-disable react-hooks/exhaustive-deps */\nimport { Dropdown, Image, Menu } from \"antd\";\nimport { DownOutlined } from \"@ant-design/icons\";\nimport React, { useCallback, useEffect } from \"react\";\nimport styles from \"./diaryClick.module.css\";\n\nconst DiaryClick = ({\n deleteDiaryFromList,\n onClose,\n cardInfo,\n handleClickDate,\n handleOpenModal,\n}) => {\n useEffect(() => {\n document.body.style.overflow = \"hidden\";\n return () => (document.body.style.overflow = \"unset\");\n });\n const handleClick = useCallback(() => {\n const clickDate = new Date(cardInfo.year, cardInfo.month, cardInfo.id);\n handleClickDate(clickDate);\n onClose();\n handleOpenModal();\n }, []);\n const handleDelete = useCallback(() => {\n onClose();\n deleteDiaryFromList(cardInfo.year, cardInfo.month, cardInfo.id);\n });\n const userMenu = (\n <Menu>\n <Menu.Item key=\"1\" onClick={handleClick}>\n 수정하기\n </Menu.Item>\n <Menu.Item key=\"2\" style={{ color: \"red\" }} onClick={handleDelete}>\n 삭제하기\n </Menu.Item>\n </Menu>\n );\n return (\n <div className={styles.clickCardModal}>\n <div className={styles.diary}>\n <div className={styles.imgBox}>\n {cardInfo.imageURL ? (\n <Image\n className={styles.img}\n width=\"100%\"\n height=\"100%\"\n src={cardInfo.imageURL}\n />\n ) : (\n <button className={styles.emptyImg} onClick={handleClick}>\n 이미지 추가하기\n </button>\n )}\n </div>\n <section className={styles.contentBox}>\n <Dropdown\n style={{ float: \"right\" }}\n overlay={userMenu}\n trigger=\"click\"\n >\n <a\n className=\"ant-dropdown-link\"\n onClick={(e) => e.preventDefault()}\n style={{ float: \"right\", marginRight: \"5%\", height: \"12px\" }}\n >\n ...\n <DownOutlined />\n </a>\n </Dropdown>\n <div className={styles.titleBox}>\n <h2 className={styles.day}>{`${cardInfo.year}년 ${\n cardInfo.month + 1\n }월 ${cardInfo.id}일`}</h2>\n <h3\n className={styles.weather}\n >{`오늘의 날씨는 ${cardInfo.weather} 기분은 ${cardInfo.emotion}`}</h3>\n <div className={styles.titleTextBox}>\n <h1 className={styles.title}>{cardInfo.title}</h1>\n </div>\n </div>\n <div className={styles.content}>\n <pre className={styles.diaryText}>{`${cardInfo.diaryText}`}</pre>\n </div>\n\n <div className={styles.closeBtnBox}>\n <button className={styles.closeBtn} onClick={onClose}>\n X\n </button>\n </div>\n </section>\n </div>\n </div>\n );\n};\n\nexport default DiaryClick;\n","/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/components/calendar/calendarBody.jsx",[],["108","109"],"/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/serviceApp/textEmotion.js",[],"/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/pages/main/main.jsx",["110","111"],"import React, { useEffect, useState } from \"react\";\nimport LoginModal from \"../../components/portal_modal/portal_login/loginModal\";\nimport ModalPotal from \"../../components/portal_modal/modalPotal\";\nimport styles from \"./main.module.css\";\nimport { useHistory } from \"react-router-dom\";\nimport Header from \"../../components/header/header\";\nimport HowToUse from \"../../components/howToUse/howToUse\";\n\nconst Main = ({ authService }) => {\n const history = useHistory();\n const historyState = history.location.state;\n const [uid, setUid] = useState(historyState && historyState.uid);\n\n useEffect(() => {\n authService.onAuthChange((user) => {\n if (user) {\n setUid(historyState && historyState.id);\n } else {\n history.push(\"/\");\n }\n });\n return () => {};\n }, [uid, authService, history, historyState]);\n\n return (\n <div className=\"main\">\n <Header authService={authService} uid={uid} />\n <section className={styles.howToUse}>\n <HowToUse />\n </section>\n </div>\n );\n};\n\nexport default Main;\n","/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/components/howToUse/howToUse.jsx",[],"/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/index.js",[],"/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/components/diaryEditForm/diaryEditForm.jsx",[],"/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/components/preView/preViewCard.jsx",[],"/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/components/calendar/calendarHeader.jsx",[],"/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/components/portal_modal/portal_footer/portalFooter.jsx",[],["112","113"],"/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/components/portal_modal/portal_header/portal-header.jsx",[],"/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/components/calendar/showingDayBox.jsx",[],"/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/components/portal_modal/portal_login/loginBody.jsx",[],["114","115"],"/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/components/portal_modal/modalPotal.jsx",[],"/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/components/imageFile_upload/imageFile_upload.jsx",[],["116","117"],"/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/serviceApp/auth_Service.js",[],"/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/components/diaryCards/diaryCards.jsx",[],"/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/components/header/header.jsx",[],"/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/components/portal_modal/portal_login/loginModal.jsx",[],"/Users/Kwongiseok/Desktop/Desktop/projects/Emotion-Diary/src/components/calendar/showingEmptyBox.jsx",[],{"ruleId":"118","replacedBy":"119"},{"ruleId":"120","replacedBy":"121"},{"ruleId":"122","severity":1,"message":"123","line":61,"column":13,"nodeType":"124","endLine":65,"endColumn":14},{"ruleId":"118","replacedBy":"125"},{"ruleId":"120","replacedBy":"126"},{"ruleId":"127","severity":1,"message":"128","line":2,"column":8,"nodeType":"129","messageId":"130","endLine":2,"endColumn":18},{"ruleId":"127","severity":1,"message":"131","line":3,"column":8,"nodeType":"129","messageId":"130","endLine":3,"endColumn":18},{"ruleId":"118","replacedBy":"132"},{"ruleId":"120","replacedBy":"133"},{"ruleId":"118","replacedBy":"134"},{"ruleId":"120","replacedBy":"135"},{"ruleId":"118","replacedBy":"136"},{"ruleId":"120","replacedBy":"137"},"no-native-reassign",["138"],"no-negated-in-lhs",["139"],"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",["138"],["139"],"no-unused-vars","'LoginModal' is defined but never used.","Identifier","unusedVar","'ModalPotal' is defined but never used.",["138"],["139"],["138"],["139"],["138"],["139"],"no-global-assign","no-unsafe-negation"]