forked from phast184/covid_tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintcache
1 lines (1 loc) · 7.21 KB
/
.eslintcache
1
[{"/mnt/c/Users/super/OneDrive - Seneca/School/SEM 6/PRJ666/CovidSafetyMap/covid_tracker/src/index.js":"1","/mnt/c/Users/super/OneDrive - Seneca/School/SEM 6/PRJ666/CovidSafetyMap/covid_tracker/src/App.js":"2","/mnt/c/Users/super/OneDrive - Seneca/School/SEM 6/PRJ666/CovidSafetyMap/covid_tracker/src/context/context.js":"3","/mnt/c/Users/super/OneDrive - Seneca/School/SEM 6/PRJ666/CovidSafetyMap/covid_tracker/src/components/LineGraph.js":"4","/mnt/c/Users/super/OneDrive - Seneca/School/SEM 6/PRJ666/CovidSafetyMap/covid_tracker/src/components/InfoBox.js":"5","/mnt/c/Users/super/OneDrive - Seneca/School/SEM 6/PRJ666/CovidSafetyMap/covid_tracker/src/components/Map/Map.js":"6","/mnt/c/Users/super/OneDrive - Seneca/School/SEM 6/PRJ666/CovidSafetyMap/covid_tracker/src/components/Table.js":"7","/mnt/c/Users/super/OneDrive - Seneca/School/SEM 6/PRJ666/CovidSafetyMap/covid_tracker/src/context/actions.js":"8","/mnt/c/Users/super/OneDrive - Seneca/School/SEM 6/PRJ666/CovidSafetyMap/covid_tracker/src/reducer/reducer.js":"9","/mnt/c/Users/super/OneDrive - Seneca/School/SEM 6/PRJ666/CovidSafetyMap/covid_tracker/src/utils/helpers.js":"10","/mnt/c/Users/super/OneDrive - Seneca/School/SEM 6/PRJ666/CovidSafetyMap/covid_tracker/src/components/Map/ChangeView.js":"11"},{"size":318,"mtime":1616885815608,"results":"12","hashOfConfig":"13"},{"size":6250,"mtime":1616902619902,"results":"14","hashOfConfig":"13"},{"size":3547,"mtime":1616879068225,"results":"15","hashOfConfig":"13"},{"size":1930,"mtime":1616899055054,"results":"16","hashOfConfig":"13"},{"size":972,"mtime":1616902951144,"results":"17","hashOfConfig":"13"},{"size":1506,"mtime":1616902922051,"results":"18","hashOfConfig":"13"},{"size":816,"mtime":1616897375960,"results":"19","hashOfConfig":"13"},{"size":469,"mtime":1616879068219,"results":"20","hashOfConfig":"13"},{"size":1845,"mtime":1616879068239,"results":"21","hashOfConfig":"13"},{"size":2511,"mtime":1616882821997,"results":"22","hashOfConfig":"13"},{"size":189,"mtime":1616879068190,"results":"23","hashOfConfig":"13"},{"filePath":"24","messages":"25","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1s4c9nb",{"filePath":"26","messages":"27","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"28","messages":"29","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"30"},{"filePath":"31","messages":"32","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"33","usedDeprecatedRules":"30"},{"filePath":"34","messages":"35","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"36","messages":"37","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"38","messages":"39","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"30"},{"filePath":"40","messages":"41","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"30"},{"filePath":"42","messages":"43","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"30"},{"filePath":"44","messages":"45","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"30"},{"filePath":"46","messages":"47","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"30"},"/mnt/c/Users/super/OneDrive - Seneca/School/SEM 6/PRJ666/CovidSafetyMap/covid_tracker/src/index.js",[],"/mnt/c/Users/super/OneDrive - Seneca/School/SEM 6/PRJ666/CovidSafetyMap/covid_tracker/src/App.js",["48"],"/mnt/c/Users/super/OneDrive - Seneca/School/SEM 6/PRJ666/CovidSafetyMap/covid_tracker/src/context/context.js",[],["49","50"],"/mnt/c/Users/super/OneDrive - Seneca/School/SEM 6/PRJ666/CovidSafetyMap/covid_tracker/src/components/LineGraph.js",["51"],"import React from \"react\";\nimport { Line } from \"react-chartjs-2\";\nimport numeral from \"numeral\";\nimport { useGlobalContext } from \"../context/context\";\nimport { casesTypeColors } from \"../utils/helpers\";\nimport \"./LineGraph.css\";\n\nfunction LineGraph( { theme }) {\n const { historicalCountry, caseType, countryInput } = useGlobalContext();\n const options = {\n legend: {\n display: false,\n },\n elements: {\n point: {\n radius: 0,\n },\n },\n maintainAspectRatio: false,\n tooltips: {\n mode: \"index\",\n intersect: false,\n callbacks: {\n label: function (tooltipItem, data) {\n return numeral(tooltipItem.value).format(\"+0,0\");\n },\n },\n },\n scales: {\n xAxes: [\n {\n type: \"time\",\n time: {\n format: \"MM/DD/YY\",\n tooltipFormat: \"ll\",\n },\n ticks: {\n fontColor: theme === 'dark' ? \"white\" : \"black\"\n }\n },\n ],\n yAxes: [\n {\n gridLines: {\n display: false,\n },\n ticks: {\n // Include a dollar sign in the ticks\n callback: function (value, index, values) {\n return numeral(value).format(\"0a\");\n },\n fontColor: theme === 'dark' ? \"white\" : \"black\"\n },\n },\n ],\n },\n };\n return (\n <div className=\"graph\">\n \n {historicalCountry?.length > 0 && (\n <Line\n data={{\n datasets: [\n {\n backgroundColor: `${casesTypeColors[caseType].half_op}`,\n borderColor: theme === 'dark' ? 'white' : 'black',\n data: historicalCountry,\n },\n ],\n }}\n options={options}\n />\n )}\n\n {historicalCountry.message && <h3>No data available for this country</h3>}\n </div>\n );\n}\n\nexport default LineGraph;\n","/mnt/c/Users/super/OneDrive - Seneca/School/SEM 6/PRJ666/CovidSafetyMap/covid_tracker/src/components/InfoBox.js",[],"/mnt/c/Users/super/OneDrive - Seneca/School/SEM 6/PRJ666/CovidSafetyMap/covid_tracker/src/components/Map/Map.js",[],"/mnt/c/Users/super/OneDrive - Seneca/School/SEM 6/PRJ666/CovidSafetyMap/covid_tracker/src/components/Table.js",[],"/mnt/c/Users/super/OneDrive - Seneca/School/SEM 6/PRJ666/CovidSafetyMap/covid_tracker/src/context/actions.js",[],"/mnt/c/Users/super/OneDrive - Seneca/School/SEM 6/PRJ666/CovidSafetyMap/covid_tracker/src/reducer/reducer.js",[],"/mnt/c/Users/super/OneDrive - Seneca/School/SEM 6/PRJ666/CovidSafetyMap/covid_tracker/src/utils/helpers.js",[],"/mnt/c/Users/super/OneDrive - Seneca/School/SEM 6/PRJ666/CovidSafetyMap/covid_tracker/src/components/Map/ChangeView.js",[],{"ruleId":"52","severity":1,"message":"53","line":19,"column":22,"nodeType":"54","messageId":"55","endLine":19,"endColumn":36},{"ruleId":"56","replacedBy":"57"},{"ruleId":"58","replacedBy":"59"},{"ruleId":"52","severity":1,"message":"60","line":9,"column":40,"nodeType":"54","messageId":"55","endLine":9,"endColumn":52},"no-unused-vars","'FaRegLightbulb' is defined but never used.","Identifier","unusedVar","no-native-reassign",["61"],"no-negated-in-lhs",["62"],"'countryInput' is assigned a value but never used.","no-global-assign","no-unsafe-negation"]