-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintcache
1 lines (1 loc) · 17.3 KB
/
.eslintcache
1
[{"/home/ode/nummenpojat/Klapi/klapi-web/src/index.tsx":"1","/home/ode/nummenpojat/Klapi/klapi-web/src/reportWebVitals.ts":"2","/home/ode/nummenpojat/Klapi/klapi-web/src/App.tsx":"3","/home/ode/nummenpojat/Klapi/klapi-web/src/components/Router/KlapiRouter.tsx":"4","/home/ode/nummenpojat/Klapi/klapi-web/src/components/Router/MenuComponents.tsx":"5","/home/ode/nummenpojat/Klapi/klapi-web/src/components/Tasks/Tasks.tsx":"6","/home/ode/nummenpojat/Klapi/klapi-web/src/components/Map/Map.tsx":"7","/home/ode/nummenpojat/Klapi/klapi-web/src/components/General/Index.tsx":"8","/home/ode/nummenpojat/Klapi/klapi-web/src/components/General/dropdown/Settings.tsx":"9","/home/ode/nummenpojat/Klapi/klapi-web/src/components/General/dropdown/Profile.tsx":"10","/home/ode/nummenpojat/Klapi/klapi-web/src/components/Checklists/Checklists.tsx":"11","/home/ode/nummenpojat/Klapi/klapi-web/src/components/Navigation/menus/TopMenu.tsx":"12","/home/ode/nummenpojat/Klapi/klapi-web/src/components/Navigation/menus/BottomMenu.tsx":"13","/home/ode/nummenpojat/Klapi/klapi-web/src/components/Navigation/menus/bottomLinks.ts":"14","/home/ode/nummenpojat/Klapi/klapi-web/src/components/Navigation/Dropdown.tsx":"15","/home/ode/nummenpojat/Klapi/klapi-web/src/components/Navigation/topMenuItems/BurgerMenu.tsx":"16","/home/ode/nummenpojat/Klapi/klapi-web/src/components/Navigation/topMenuItems/Logo.tsx":"17","/home/ode/nummenpojat/Klapi/klapi-web/src/components/Navigation/topMenuItems/Header.tsx":"18","/home/ode/nummenpojat/Klapi/klapi-web/src/components/Navigation/topMenuItems/toggleDropdown.ts":"19","/home/ode/nummenpojat/Klapi/klapi-web/src/services/i18n.ts":"20"},{"size":500,"mtime":1610179301187,"results":"21","hashOfConfig":"22"},{"size":425,"mtime":1610179301187,"results":"23","hashOfConfig":"22"},{"size":470,"mtime":1610277094815,"results":"24","hashOfConfig":"22"},{"size":1084,"mtime":1610179301191,"results":"25","hashOfConfig":"22"},{"size":332,"mtime":1610276807219,"results":"26","hashOfConfig":"22"},{"size":1047,"mtime":1610276953488,"results":"27","hashOfConfig":"22"},{"size":110,"mtime":1610179301191,"results":"28","hashOfConfig":"22"},{"size":296,"mtime":1610179301191,"results":"29","hashOfConfig":"22"},{"size":147,"mtime":1610179301191,"results":"30","hashOfConfig":"22"},{"size":189,"mtime":1610179301191,"results":"31","hashOfConfig":"22"},{"size":85,"mtime":1610553107243,"results":"32","hashOfConfig":"22"},{"size":555,"mtime":1610179301195,"results":"33","hashOfConfig":"22"},{"size":886,"mtime":1611498975793,"results":"34","hashOfConfig":"22"},{"size":793,"mtime":1610276721082,"results":"35","hashOfConfig":"22"},{"size":923,"mtime":1610553107243,"results":"36","hashOfConfig":"22"},{"size":742,"mtime":1610276629388,"results":"37","hashOfConfig":"22"},{"size":193,"mtime":1610179301195,"results":"38","hashOfConfig":"22"},{"size":159,"mtime":1610553107243,"results":"39","hashOfConfig":"22"},{"size":777,"mtime":1610276588975,"results":"40","hashOfConfig":"22"},{"size":428,"mtime":1610554180497,"results":"41","hashOfConfig":"22"},{"filePath":"42","messages":"43","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"44"},"x43x2e",{"filePath":"45","messages":"46","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"44"},{"filePath":"47","messages":"48","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"49","usedDeprecatedRules":"44"},{"filePath":"50","messages":"51","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"52","usedDeprecatedRules":"44"},{"filePath":"53","messages":"54","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"55","usedDeprecatedRules":"44"},{"filePath":"56","messages":"57","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"58","usedDeprecatedRules":"44"},{"filePath":"59","messages":"60","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"61","usedDeprecatedRules":"44"},{"filePath":"62","messages":"63","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"64","usedDeprecatedRules":"44"},{"filePath":"65","messages":"66","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"67","usedDeprecatedRules":"44"},{"filePath":"68","messages":"69","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"70","usedDeprecatedRules":"44"},{"filePath":"71","messages":"72","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"73","usedDeprecatedRules":"44"},{"filePath":"74","messages":"75","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"76","usedDeprecatedRules":"44"},{"filePath":"77","messages":"78","errorCount":0,"warningCount":5,"fixableErrorCount":0,"fixableWarningCount":1,"source":null},{"filePath":"79","messages":"80","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"44"},{"filePath":"81","messages":"82","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"83","usedDeprecatedRules":"44"},{"filePath":"84","messages":"85","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"86","usedDeprecatedRules":"44"},{"filePath":"87","messages":"88","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"89","usedDeprecatedRules":"44"},{"filePath":"90","messages":"91","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"92","usedDeprecatedRules":"44"},{"filePath":"93","messages":"94","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"44"},{"filePath":"95","messages":"96","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/home/ode/nummenpojat/Klapi/klapi-web/src/index.tsx",[],["97","98"],"/home/ode/nummenpojat/Klapi/klapi-web/src/reportWebVitals.ts",[],"/home/ode/nummenpojat/Klapi/klapi-web/src/App.tsx",["99","100"],"/* copyright (c) 2020- Otso Kurkela & Elias Mäkelä */\n\n// import React and 3rd party components\nimport React, { useState } from 'react';\n\n// import 1st party components\nimport KlapiRouter from './components/Router/KlapiRouter';\n\n\n\n//import stylesheets\nimport './App.css';\n\nexport default () => {\n const [scoutMode, setScoutMode] = useState(\"weeklyProgram\");\n \n\n return ( // App component returns only Router component\n <KlapiRouter scoutMode={scoutMode}/>\n );\n}","/home/ode/nummenpojat/Klapi/klapi-web/src/components/Router/KlapiRouter.tsx",["101"],"// import 3rd party components\nimport { BrowserRouter as Router, Switch, Route } from 'react-router-dom';\n\n// import 1st party components\nimport Checklists from './../Checklists/Checklists';\nimport Tasks from './../Tasks/Tasks';\nimport Map from './../Map/Map';\nimport Settings from './../General/dropdown/Settings';\nimport Profile from './../General/dropdown/Profile';\nimport Index from './../General/Index';\nimport MenuComponents from './MenuComponents';\n\n/* this router contains every route of the app */\nexport default (props:any) => {\n \n return (\n <Router>\n <div>\n <MenuComponents scoutMode={props.scoutMode} />\n <Switch>\n <Route exact path=\"/\" component={Index} />\n <Route exact path=\"/map\" component={Map} />\n <Route exact path=\"/checklists\" component={Checklists} />\n <Route exact path=\"/tasks\" component={Tasks} />\n <Route exact path=\"/settings\" component={Settings} />\n <Route exact path=\"/profile\" component={Profile} />\n </Switch>\n </div>\n </Router>\n );\n}","/home/ode/nummenpojat/Klapi/klapi-web/src/components/Router/MenuComponents.tsx",["102"],"import TopMenu from './../Navigation/menus/TopMenu';\nimport BottomMenu from './../Navigation/menus/BottomMenu';\n\n// this component contains menus for app, they are displayed always\nexport default (props:any) => {\n \n return (\n <>\n <TopMenu />\n <BottomMenu scoutMode={props.scoutMode} />\n </>\n );\n}","/home/ode/nummenpojat/Klapi/klapi-web/src/components/Tasks/Tasks.tsx",["103","104"],"/* copyright (c) 2020- Otso Kurkela */\n\n\nimport {useState} from 'react';\n\n//import stylesheets\nimport './tasks.css';\n\n\nexport default () => {\n \n\n const [tasks, setTasks] = useState([ \n {\n id: 0,\n title: \"Take picture\",\n description: \"Take a photo with camp leader.\",\n points: 10,\n completed: false\n },\n {\n id: 1,\n title: \"Go to stage\",\n description: \"Go to stage of event and take photo.\",\n points: 20,\n completed: true\n },\n {\n id: 2,\n title: \"Dance with leader\",\n description: \"Dance with leader of your scout group\",\n points: 10,\n completed: false\n },\n ]); // these are not real tasks - they are here just for development purposes\n\n return (\n <div>\n {\n tasks.map((task, i) => {\n return(<p key={i}>{task.title}</p>);\n })\n }\n </div>\n );\n\n}\n","/home/ode/nummenpojat/Klapi/klapi-web/src/components/Map/Map.tsx",["105"],"/* copyright (c) 2020- Otso Kurkela */\n\nexport default () => {\n return (\n <h1>Map view</h1>\n );\n}","/home/ode/nummenpojat/Klapi/klapi-web/src/components/General/Index.tsx",["106"],"/* copyright (c) 2020- Otso Kurkela */\n\n//import 1st party components\n\nexport default () => { /* this is index page of app - \nit is not going to be used in app actually and there is no link to it */\n \n \n return (\n <div>\n <h1>Index page</h1>\n </div>\n \n );\n}\n","/home/ode/nummenpojat/Klapi/klapi-web/src/components/General/dropdown/Settings.tsx",["107"],"/* copyright (c) 2020- Otso Kurkela */\n\n// settings component\nexport default (props:any) => {\n return (\n <h1>Settings view</h1>\n );\n}\n","/home/ode/nummenpojat/Klapi/klapi-web/src/components/General/dropdown/Profile.tsx",["108"],"/* copyright (c) 2020- Otso Kurkela */\n\n// profile component\nexport default () => {\n return (\n <div className=\"profile\">\n <h1>Profile view</h1>\n </div>\n );\n}\n","/home/ode/nummenpojat/Klapi/klapi-web/src/components/Checklists/Checklists.tsx",["109"],"\n\nexport default () => {\n \n return (\n <h1>Checklists view</h1>\n );\n}\n","/home/ode/nummenpojat/Klapi/klapi-web/src/components/Navigation/menus/TopMenu.tsx",["110"],"/* copyright (c) 2020- Otso Kurkela */\n\n\n//import 1st party components\nimport Dropdown from './../Dropdown';\nimport BurgerMenu from './../topMenuItems/BurgerMenu';\nimport Header from './../topMenuItems/Header';\nimport Logo from './../topMenuItems/Logo';\n\n//import stylesheets\nimport './../navigation.css';\n\nexport default (props:any) => {\n \n\n return (\n <>\n <div className=\"topmenu\" id=\"topmenu\">\n \n <BurgerMenu />\n <Header />\n <Logo />\n </div>\n <Dropdown />\n </>\n )\n}","/home/ode/nummenpojat/Klapi/klapi-web/src/components/Navigation/menus/BottomMenu.tsx",["111","112","113","114","115"],"/home/ode/nummenpojat/Klapi/klapi-web/src/components/Navigation/menus/bottomLinks.ts",[],"/home/ode/nummenpojat/Klapi/klapi-web/src/components/Navigation/Dropdown.tsx",["116","117"],"/* copyright (c) 2020- Otso Kurkela */\n\n// import 3rd party components\nimport { Link } from 'react-router-dom';\nimport {useTranslation} from 'react-i18next'\n\n//DO NOT REMOVE. LOOKS USELESS BUT IS NECESSARY FOR REASONS I DO NOT FULLY UNDERSTAND\nimport '../../services/i18n'\n\n\n// dropdown menu\nexport default () => {\n\n const { t, i18n } = useTranslation();\n\n /* dropdown has dropdown-invisible -class which turns dropdown invisible in CSS. \n In BurgerMenu, there is function that makes dropdown visible \n when hamburger is clicked.*/\n \n return(\n <div className=\"dropdown-invisible\" id=\"dropdown\">\n <div className=\"dropdown-links\">\n <Link to=\"/settings\">\n <p>{t(\"dropdown.settings\")}</p>\n </Link>\n <Link to=\"/profile\">\n <p>{t(\"dropdown.profile\")}</p>\n </Link>\n </div>\n \n </div>\n );\n}","/home/ode/nummenpojat/Klapi/klapi-web/src/components/Navigation/topMenuItems/BurgerMenu.tsx",["118"],"/* copyright (c) 2021- Otso Kurkela */\nimport toggleDropdown from './toggleDropdown';\n\nexport default () => {\n /* function for toggling dropdown visibility, \n if dropdown has class invisible and hamburger is clicked, we add visible-class\n and remove invisible. If it has visible -class when clicken, then we add invisible and remove visible.\n CSS makes sure that elements with invisible-class are invisible. */\n \n \n return (\n <div className=\"burger\" onClick={() => toggleDropdown(\"#dropdown\")}>\n {\n [0, 1, 2].map((i) => {\n return (<div key={i}></div>);\n }) // return map of three div elements that are burgers bars.\n }\n </div>\n );\n}","/home/ode/nummenpojat/Klapi/klapi-web/src/components/Navigation/topMenuItems/Logo.tsx",["119"],"/* copyright (c) 2021- Otso Kurkela */\n\nexport default () => {\n return (\n <img src=\"#\" alt=\"logo\" className=\"logo\" height=\"50\" width=\"50\" style={{backgroundColor: 'white'}}/>\n );\n}","/home/ode/nummenpojat/Klapi/klapi-web/src/components/Navigation/topMenuItems/Header.tsx",["120"],"/* copyright (c) 2021- Otso Kurkela & Elias Mäkelä*/\n\n\n\nexport default () => {\n\n return (\n <h2 style={{color: '#ffffff'}}>Local group</h2>\n );\n}","/home/ode/nummenpojat/Klapi/klapi-web/src/components/Navigation/topMenuItems/toggleDropdown.ts",[],"/home/ode/nummenpojat/Klapi/klapi-web/src/services/i18n.ts",[],{"ruleId":"121","replacedBy":"122"},{"ruleId":"123","replacedBy":"124"},{"ruleId":"125","severity":1,"message":"126","line":14,"column":1,"nodeType":"127","endLine":21,"endColumn":2},{"ruleId":"128","severity":1,"message":"129","line":15,"column":21,"nodeType":"130","messageId":"131","endLine":15,"endColumn":33},{"ruleId":"125","severity":1,"message":"126","line":14,"column":1,"nodeType":"127","endLine":31,"endColumn":2},{"ruleId":"125","severity":1,"message":"126","line":5,"column":1,"nodeType":"127","endLine":13,"endColumn":2},{"ruleId":"125","severity":1,"message":"126","line":10,"column":1,"nodeType":"127","endLine":47,"endColumn":2},{"ruleId":"128","severity":1,"message":"132","line":13,"column":19,"nodeType":"130","messageId":"131","endLine":13,"endColumn":27},{"ruleId":"125","severity":1,"message":"126","line":3,"column":1,"nodeType":"127","endLine":7,"endColumn":2},{"ruleId":"125","severity":1,"message":"126","line":5,"column":1,"nodeType":"127","endLine":15,"endColumn":2},{"ruleId":"125","severity":1,"message":"126","line":4,"column":1,"nodeType":"127","endLine":8,"endColumn":2},{"ruleId":"125","severity":1,"message":"126","line":4,"column":1,"nodeType":"127","endLine":10,"endColumn":2},{"ruleId":"125","severity":1,"message":"126","line":3,"column":1,"nodeType":"127","endLine":8,"endColumn":2},{"ruleId":"125","severity":1,"message":"126","line":13,"column":1,"nodeType":"127","endLine":27,"endColumn":2},{"ruleId":"128","severity":1,"message":"133","line":4,"column":19,"nodeType":"130","messageId":"131","endLine":4,"endColumn":28},{"ruleId":"125","severity":1,"message":"126","line":12,"column":1,"nodeType":"127","endLine":33,"endColumn":6},{"ruleId":"134","severity":1,"message":"135","line":13,"column":30,"nodeType":"136","messageId":"137","endLine":13,"endColumn":45,"fix":"138"},{"ruleId":"128","severity":1,"message":"129","line":14,"column":23,"nodeType":"130","messageId":"131","endLine":14,"endColumn":35},{"ruleId":"128","severity":1,"message":"139","line":15,"column":25,"nodeType":"130","messageId":"131","endLine":15,"endColumn":39},{"ruleId":"125","severity":1,"message":"126","line":12,"column":1,"nodeType":"127","endLine":33,"endColumn":2},{"ruleId":"128","severity":1,"message":"140","line":14,"column":16,"nodeType":"130","messageId":"131","endLine":14,"endColumn":20},{"ruleId":"125","severity":1,"message":"126","line":4,"column":1,"nodeType":"127","endLine":20,"endColumn":2},{"ruleId":"125","severity":1,"message":"126","line":3,"column":1,"nodeType":"127","endLine":7,"endColumn":2},{"ruleId":"125","severity":1,"message":"126","line":5,"column":1,"nodeType":"127","endLine":10,"endColumn":2},"no-native-reassign",["141"],"no-negated-in-lhs",["142"],"import/no-anonymous-default-export","Assign arrow function to a variable before exporting as module default","ExportDefaultDeclaration","@typescript-eslint/no-unused-vars","'setScoutMode' is assigned a value but never used.","Identifier","unusedVar","'setTasks' is assigned a value but never used.","'useEffect' is defined but never used.","new-parens","Missing '()' invoking a constructor.","NewExpression","missing",{"range":"143","text":"144"},"'setBottomLinks' is assigned a value but never used.","'i18n' is assigned a value but never used.","no-global-assign","no-unsafe-negation",[336,336],"()"]