-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintcache
1 lines (1 loc) · 16.9 KB
/
.eslintcache
1
[{"/Users/vascooliveira/code/volivers/react-moma-dashboard/src/components/artworks/ArtworksTable.jsx":"1","/Users/vascooliveira/code/volivers/react-moma-dashboard/src/components/common/SideDrawer.jsx":"2","/Users/vascooliveira/code/volivers/react-moma-dashboard/src/components/tasks/TaskList.jsx":"3","/Users/vascooliveira/code/volivers/react-moma-dashboard/src/App.jsx":"4","/Users/vascooliveira/code/volivers/react-moma-dashboard/src/components/common/Logo.jsx":"5","/Users/vascooliveira/code/volivers/react-moma-dashboard/src/styles/ArtworksTableStyles.jsx":"6","/Users/vascooliveira/code/volivers/react-moma-dashboard/src/styles/SideDrawerStyles.jsx":"7","/Users/vascooliveira/code/volivers/react-moma-dashboard/src/components/timeline/Timeline.jsx":"8","/Users/vascooliveira/code/volivers/react-moma-dashboard/src/index.jsx":"9","/Users/vascooliveira/code/volivers/react-moma-dashboard/src/components/tasks/TaskForm.jsx":"10","/Users/vascooliveira/code/volivers/react-moma-dashboard/src/components/tasks/Task.jsx":"11","/Users/vascooliveira/code/volivers/react-moma-dashboard/src/styles/TaskStyles.jsx":"12","/Users/vascooliveira/code/volivers/react-moma-dashboard/src/styles/TaskListStyles.jsx":"13","/Users/vascooliveira/code/volivers/react-moma-dashboard/src/styles/TaskFiltersStyles.jsx":"14","/Users/vascooliveira/code/volivers/react-moma-dashboard/src/components/tasks/TaskFilters.jsx":"15","/Users/vascooliveira/code/volivers/react-moma-dashboard/src/styles/TaskFormStyles.jsx":"16","/Users/vascooliveira/code/volivers/react-moma-dashboard/src/components/common/Footer.jsx":"17","/Users/vascooliveira/code/volivers/react-moma-dashboard/src/contexts/tasks.context.jsx":"18","/Users/vascooliveira/code/volivers/react-moma-dashboard/src/reducers/tasks.reducer.jsx":"19","/Users/vascooliveira/code/volivers/react-moma-dashboard/src/constants/actions.jsx":"20","/Users/vascooliveira/code/volivers/react-moma-dashboard/src/data/makeData.jsx":"21","/Users/vascooliveira/code/volivers/react-moma-dashboard/src/hooks/useInputState.jsx":"22","/Users/vascooliveira/code/volivers/react-moma-dashboard/src/components/Dashboard.jsx":"23","/Users/vascooliveira/code/volivers/react-moma-dashboard/src/contexts/artworks.context.jsx":"24","/Users/vascooliveira/code/volivers/react-moma-dashboard/src/contexts/users.context.jsx":"25","/Users/vascooliveira/code/volivers/react-moma-dashboard/src/components/metrics/CompletedTasks.jsx":"26","/Users/vascooliveira/code/volivers/react-moma-dashboard/src/components/metrics/TotalArtworks.jsx":"27"},{"size":1356,"mtime":1612829984198,"results":"28","hashOfConfig":"29"},{"size":3928,"mtime":1612532167709,"results":"30","hashOfConfig":"29"},{"size":3688,"mtime":1612623903573,"results":"31","hashOfConfig":"29"},{"size":501,"mtime":1612451020682,"results":"32","hashOfConfig":"29"},{"size":374,"mtime":1612119911083,"results":"33","hashOfConfig":"29"},{"size":303,"mtime":1612190759916,"results":"34","hashOfConfig":"29"},{"size":1612,"mtime":1611025088145,"results":"35","hashOfConfig":"29"},{"size":3417,"mtime":1612531587854,"results":"36","hashOfConfig":"29"},{"size":197,"mtime":1612120156209,"results":"37","hashOfConfig":"29"},{"size":4930,"mtime":1615347608703,"results":"38","hashOfConfig":"29"},{"size":1806,"mtime":1612366225693,"results":"39","hashOfConfig":"29"},{"size":861,"mtime":1612122128156,"results":"40","hashOfConfig":"29"},{"size":406,"mtime":1612159873241,"results":"41","hashOfConfig":"29"},{"size":296,"mtime":1612617743830,"results":"42","hashOfConfig":"29"},{"size":2563,"mtime":1612617839922,"results":"43","hashOfConfig":"29"},{"size":197,"mtime":1612190688134,"results":"44","hashOfConfig":"29"},{"size":620,"mtime":1611025088142,"results":"45","hashOfConfig":"29"},{"size":595,"mtime":1612617913062,"results":"46","hashOfConfig":"29"},{"size":598,"mtime":1612618234458,"results":"47","hashOfConfig":"29"},{"size":81,"mtime":1612610386932,"results":"48","hashOfConfig":"29"},{"size":1734,"mtime":1612623899265,"results":"49","hashOfConfig":"29"},{"size":268,"mtime":1615347259433,"results":"50","hashOfConfig":"29"},{"size":895,"mtime":1612704822825,"results":"51","hashOfConfig":"29"},{"size":392,"mtime":1612451449021,"results":"52","hashOfConfig":"29"},{"size":376,"mtime":1612451451826,"results":"53","hashOfConfig":"29"},{"size":2087,"mtime":1612453334821,"results":"54","hashOfConfig":"29"},{"size":1855,"mtime":1612439857516,"results":"55","hashOfConfig":"29"},{"filePath":"56","messages":"57","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1kl8tku",{"filePath":"58","messages":"59","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"60"},{"filePath":"61","messages":"62","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"63"},{"filePath":"64","messages":"65","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"66"},{"filePath":"67","messages":"68","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"69"},{"filePath":"70","messages":"71","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"72","messages":"73","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"74"},{"filePath":"75","messages":"76","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"77"},{"filePath":"78","messages":"79","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"60"},{"filePath":"80","messages":"81","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"82","messages":"83","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"69"},{"filePath":"84","messages":"85","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"86","messages":"87","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"88","messages":"89","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"90","messages":"91","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"92","messages":"93","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"94","messages":"95","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"66"},{"filePath":"96","messages":"97","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"98","messages":"99","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"100","messages":"101","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"69"},{"filePath":"102","messages":"103","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"104"},{"filePath":"105","messages":"106","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"107","messages":"108","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"109","messages":"110","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"69"},{"filePath":"111","messages":"112","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"113","messages":"114","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"115","usedDeprecatedRules":"69"},{"filePath":"116","messages":"117","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},"/Users/vascooliveira/code/volivers/react-moma-dashboard/src/components/artworks/ArtworksTable.jsx",[],"/Users/vascooliveira/code/volivers/react-moma-dashboard/src/components/common/SideDrawer.jsx",[],["118","119"],"/Users/vascooliveira/code/volivers/react-moma-dashboard/src/components/tasks/TaskList.jsx",[],["120","121"],"/Users/vascooliveira/code/volivers/react-moma-dashboard/src/App.jsx",[],["122","123"],"/Users/vascooliveira/code/volivers/react-moma-dashboard/src/components/common/Logo.jsx",[],["124","125"],"/Users/vascooliveira/code/volivers/react-moma-dashboard/src/styles/ArtworksTableStyles.jsx",[],"/Users/vascooliveira/code/volivers/react-moma-dashboard/src/styles/SideDrawerStyles.jsx",[],["126","127"],"/Users/vascooliveira/code/volivers/react-moma-dashboard/src/components/timeline/Timeline.jsx",["128"],"import React, { Component } from 'react';\nimport { TasksContext } from '../../contexts/tasks.context';\nimport moment from 'moment';\nimport _ from 'lodash';\nimport ReactApexChart from 'react-apexcharts';\nimport ScheduleIcon from '@material-ui/icons/Schedule';\n\nclass Timeline extends Component {\n static contextType = TasksContext;\n\n constructor(props) {\n super(props);\n this.state = {\n options: {\n chart: {\n height: 350,\n type: 'line',\n zoom: {\n enabled: true\n }\n },\n dataLabels: {\n enabled: false\n },\n stroke: {\n width: 5,\n curve: 'smooth',\n dashArray: [0, 3, 3, 3]\n },\n title: {\n text: 'Number of Tasks per Month',\n align: 'left'\n },\n grid: {\n row: {\n colors: ['#f3f3f3', 'transparent'],\n opacity: 0.5\n },\n },\n xaxis: {\n categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun'],\n },\n legend: {\n show: true,\n position: 'top',\n }\n },\n };\n }\n\n render() {\n const { tasks } = this.context;\n\n const month = item => moment(item.date, 'YYYY-MM-DD').format('MMM');\n const groups = _(this.context)\n .groupBy(month)\n .mapValues(items => _.map(items, 'priority'))\n .value()\n\n const highCount = (month) => {\n const high = [];\n month.map(item => {\n if (item === 'High') { high.push(item) };\n return item;\n });\n return high.length;\n };\n\n const mediumCount = (month) => {\n const medium = [];\n month.map(item => {\n if (item === 'Medium') { medium.push(item) };\n return item;\n });\n return medium.length;\n };\n\n const lowCount = (month) => {\n const low = [];\n month.map(item => {\n if (item === 'Low') { low.push(item) };\n return item;\n });\n return low.length;\n };\n\n const series = [\n {\n name: \"All tasks\",\n data: [\n groups.Jan.length,\n groups.Feb.length,\n groups.Mar.length,\n groups.Apr.length,\n groups.May.length,\n groups.Jun.length\n ]\n },\n {\n name: \"Low priority\",\n data: [\n lowCount(groups.Jan),\n lowCount(groups.Feb),\n lowCount(groups.Mar),\n lowCount(groups.Apr),\n lowCount(groups.May),\n lowCount(groups.Jun)\n ]\n },\n {\n name: \"Medium priority\",\n data: [\n mediumCount(groups.Jan),\n mediumCount(groups.Feb),\n mediumCount(groups.Mar),\n mediumCount(groups.Apr),\n mediumCount(groups.May),\n mediumCount(groups.Jun)\n ]\n },\n {\n name: \"High priority\",\n data: [\n highCount(groups.Jan),\n highCount(groups.Feb),\n highCount(groups.Mar),\n highCount(groups.Apr),\n highCount(groups.May),\n highCount(groups.Jun)\n ]\n }\n ];\n \n return (\n <div className=\"wrapper-timeline\">\n <div className=\"title-wrapper\">\n <h2><ScheduleIcon /> Timeline</h2>\n </div>\n <div id=\"chart\">\n <ReactApexChart options={this.state.options} series={series} type=\"line\" height={350} />\n </div>\n </div>\n );\n }\n}\n\nexport default Timeline;","/Users/vascooliveira/code/volivers/react-moma-dashboard/src/index.jsx",[],"/Users/vascooliveira/code/volivers/react-moma-dashboard/src/components/tasks/TaskForm.jsx",[],"/Users/vascooliveira/code/volivers/react-moma-dashboard/src/components/tasks/Task.jsx",[],"/Users/vascooliveira/code/volivers/react-moma-dashboard/src/styles/TaskStyles.jsx",[],"/Users/vascooliveira/code/volivers/react-moma-dashboard/src/styles/TaskListStyles.jsx",[],"/Users/vascooliveira/code/volivers/react-moma-dashboard/src/styles/TaskFiltersStyles.jsx",[],"/Users/vascooliveira/code/volivers/react-moma-dashboard/src/components/tasks/TaskFilters.jsx",[],"/Users/vascooliveira/code/volivers/react-moma-dashboard/src/styles/TaskFormStyles.jsx",[],"/Users/vascooliveira/code/volivers/react-moma-dashboard/src/components/common/Footer.jsx",[],"/Users/vascooliveira/code/volivers/react-moma-dashboard/src/contexts/tasks.context.jsx",[],"/Users/vascooliveira/code/volivers/react-moma-dashboard/src/reducers/tasks.reducer.jsx",[],"/Users/vascooliveira/code/volivers/react-moma-dashboard/src/constants/actions.jsx",[],"/Users/vascooliveira/code/volivers/react-moma-dashboard/src/data/makeData.jsx",[],["129","130"],"/Users/vascooliveira/code/volivers/react-moma-dashboard/src/hooks/useInputState.jsx",[],"/Users/vascooliveira/code/volivers/react-moma-dashboard/src/components/Dashboard.jsx",[],"/Users/vascooliveira/code/volivers/react-moma-dashboard/src/contexts/artworks.context.jsx",[],"/Users/vascooliveira/code/volivers/react-moma-dashboard/src/contexts/users.context.jsx",[],"/Users/vascooliveira/code/volivers/react-moma-dashboard/src/components/metrics/CompletedTasks.jsx",["131"],"import React, { Component } from 'react';\nimport { TasksContext } from '../../contexts/tasks.context';\nimport ReactApexChart from 'react-apexcharts';\n\nclass CompletedTasks extends Component {\n static contextType = TasksContext;\n\n constructor(props) {\n super(props);\n this.state = {\n options: {\n chart: {\n height: 200,\n width: 200,\n type: 'radialBar',\n offsetY: -10,\n sparkline: {\n enabled: true\n }\n },\n grid: {\n padding: {\n right: 0,\n left: 0,\n }\n \t},\n plotOptions: {\n radialBar: {\n startAngle: -135,\n endAngle: 135,\n dataLabels: {\n name: {\n fontSize: '14px',\n color: 'rgba(0, 0, 0, 0.87)',\n offsetY: 80\n },\n value: {\n offsetY: 40,\n fontSize: '18px',\n color: 'rgba(0, 0, 0, 0.87)',\n formatter: function (val) {\n return val + \"%\";\n }\n }\n }\n }\n },\n fill: {\n type: 'gradient',\n gradient: {\n shade: 'dark',\n shadeIntensity: 0.15,\n inverseColors: false,\n opacityFrom: 1,\n opacityTo: 1,\n stops: [0, 50, 65, 91]\n },\n },\n stroke: {\n dashArray: 2\n },\n labels: ['Completed Tasks'],\n },\n };\n }\n\n render() {\n const { tasks } = this.context;\n const completed = [];\n this.context.map(task => task.completed === true ? completed.push(task) : task);\n\n let ratio;\n if (completed.length !== 0) {\n ratio = [Math.floor((completed.length / this.context.length) * 100)];\n } else {\n ratio = [0];\n };\n\n return (\n <div id=\"chart\">\n <ReactApexChart options={this.state.options} series={ratio} type=\"radialBar\" height={200} width={200} />\n </div>\n );\n }\n}\n\nexport default CompletedTasks;","/Users/vascooliveira/code/volivers/react-moma-dashboard/src/components/metrics/TotalArtworks.jsx",["132"],{"ruleId":"133","replacedBy":"134"},{"ruleId":"135","replacedBy":"136"},{"ruleId":"133","replacedBy":"137"},{"ruleId":"135","replacedBy":"138"},{"ruleId":"133","replacedBy":"139"},{"ruleId":"135","replacedBy":"140"},{"ruleId":"133","replacedBy":"141"},{"ruleId":"135","replacedBy":"142"},{"ruleId":"133","replacedBy":"143"},{"ruleId":"135","replacedBy":"144"},{"ruleId":"145","severity":1,"message":"146","line":52,"column":13,"nodeType":"147","messageId":"148","endLine":52,"endColumn":18},{"ruleId":"133","replacedBy":"149"},{"ruleId":"135","replacedBy":"150"},{"ruleId":"145","severity":1,"message":"146","line":68,"column":13,"nodeType":"147","messageId":"148","endLine":68,"endColumn":18},{"ruleId":"145","severity":1,"message":"151","line":68,"column":13,"nodeType":"147","messageId":"148","endLine":68,"endColumn":21},"no-native-reassign",["152"],"no-negated-in-lhs",["153"],["152"],["153"],["152"],["153"],["152"],["153"],["152"],["153"],"no-unused-vars","'tasks' is assigned a value but never used.","Identifier","unusedVar",["152"],["153"],"'artworks' is assigned a value but never used.","no-global-assign","no-unsafe-negation"]