-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintcache
1 lines (1 loc) · 20.1 KB
/
.eslintcache
1
[{"C:\\Users\\Warburn\\Documents\\GitHub\\visual-sorting\\src\\App.js":"1","C:\\Users\\Warburn\\Documents\\GitHub\\visual-sorting\\src\\components\\molecules\\MainControl\\index.js":"2","C:\\Users\\Warburn\\Documents\\GitHub\\visual-sorting\\src\\components\\molecules\\NavigationBar\\index.js":"3","C:\\Users\\Warburn\\Documents\\GitHub\\visual-sorting\\src\\algorithms\\bubblesort.js":"4","C:\\Users\\Warburn\\Documents\\GitHub\\visual-sorting\\src\\components\\atoms\\Backdrop\\index.js":"5","C:\\Users\\Warburn\\Documents\\GitHub\\visual-sorting\\src\\components\\atoms\\Bar\\index.js":"6","C:\\Users\\Warburn\\Documents\\GitHub\\visual-sorting\\src\\components\\molecules\\Menu\\index.js":"7","C:\\Users\\Warburn\\Documents\\GitHub\\visual-sorting\\src\\components\\atoms\\Button\\index.js":"8","C:\\Users\\Warburn\\Documents\\GitHub\\visual-sorting\\src\\components\\molecules\\AnimationControl\\index.js":"9","C:\\Users\\Warburn\\Documents\\GitHub\\visual-sorting\\src\\stories\\atoms\\Bar.stories.js":"10","C:\\Users\\Warburn\\Documents\\GitHub\\visual-sorting\\src\\stories\\atoms\\Backdrop.stories.js":"11","C:\\Users\\Warburn\\Documents\\GitHub\\visual-sorting\\src\\stories\\atoms\\Button.stories.js":"12","C:\\Users\\Warburn\\Documents\\GitHub\\visual-sorting\\src\\stories\\molecules\\Menu.stories.js":"13","C:\\Users\\Warburn\\Documents\\GitHub\\visual-sorting\\src\\stories\\molecules\\MenuDropDown.stories.js":"14","C:\\Users\\Warburn\\Documents\\GitHub\\visual-sorting\\src\\stories\\organism\\NavigationBar.stories.js":"15","C:\\Users\\Warburn\\Documents\\GitHub\\visual-sorting\\src\\stories\\atoms\\PlayButton.stories.js":"16","C:\\Users\\Warburn\\Documents\\GitHub\\visual-sorting\\src\\components\\atoms\\PlayButton\\index.js":"17","C:\\Users\\Warburn\\Documents\\GitHub\\visual-sorting\\src\\stories\\molecules\\AnimationControl.stories.js":"18","C:\\Users\\Warburn\\Documents\\GitHub\\visual-sorting\\src\\components\\atoms\\ChartController\\index.js":"19","C:\\Users\\Warburn\\Documents\\GitHub\\visual-sorting\\src\\components\\atoms\\Chart\\index.js":"20","C:\\Users\\Warburn\\Documents\\GitHub\\visual-sorting\\src\\util.js":"21"},{"size":2250,"mtime":1610169244260,"results":"22","hashOfConfig":"23"},{"size":654,"mtime":1610095222332,"results":"24","hashOfConfig":"23"},{"size":716,"mtime":1610349217288,"results":"25","hashOfConfig":"23"},{"size":1873,"mtime":1610162401819,"results":"26","hashOfConfig":"23"},{"size":191,"mtime":1610146027286,"results":"27","hashOfConfig":"23"},{"size":853,"mtime":1610164992660,"results":"28","hashOfConfig":"23"},{"size":1483,"mtime":1610148241073,"results":"29","hashOfConfig":"23"},{"size":867,"mtime":1610093463396,"results":"30","hashOfConfig":"23"},{"size":1138,"mtime":1610158475734,"results":"31","hashOfConfig":"23"},{"size":469,"mtime":1610148935232,"results":"32","hashOfConfig":"23"},{"size":944,"mtime":1610148940642,"results":"33","hashOfConfig":"23"},{"size":526,"mtime":1610148977825,"results":"34","hashOfConfig":"23"},{"size":497,"mtime":1610148993577,"results":"35","hashOfConfig":"23"},{"size":374,"mtime":1610148999024,"results":"36","hashOfConfig":"23"},{"size":581,"mtime":1610149124790,"results":"37","hashOfConfig":"23"},{"size":628,"mtime":1610154462210,"results":"38","hashOfConfig":"23"},{"size":841,"mtime":1610158484216,"results":"39","hashOfConfig":"23"},{"size":418,"mtime":1610157079123,"results":"40","hashOfConfig":"23"},{"size":1702,"mtime":1610171851470,"results":"41","hashOfConfig":"23"},{"size":1478,"mtime":1610172630444,"results":"42","hashOfConfig":"23"},{"size":1155,"mtime":1610349217311,"results":"43","hashOfConfig":"23"},{"filePath":"44","messages":"45","errorCount":0,"warningCount":5,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},"1akwf0u",{"filePath":"46","messages":"47","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"48","usedDeprecatedRules":"49"},{"filePath":"50","messages":"51","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"52","messages":"53","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"54","messages":"55","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"56","messages":"57","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"58","usedDeprecatedRules":"59"},{"filePath":"60","messages":"61","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"62","usedDeprecatedRules":"63"},{"filePath":"64","messages":"65","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"66","usedDeprecatedRules":"67"},{"filePath":"68","messages":"69","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"70","messages":"71","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"72","messages":"73","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"74","messages":"75","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"76","usedDeprecatedRules":"59"},{"filePath":"77","messages":"78","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"79","messages":"80","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"81","usedDeprecatedRules":"49"},{"filePath":"82","messages":"83","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"84","messages":"85","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"86","messages":"87","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"88","messages":"89","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"90","messages":"91","errorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"92","messages":"93","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"94","messages":"95","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"C:\\Users\\Warburn\\Documents\\GitHub\\visual-sorting\\src\\App.js",["96","97","98","99","100"],"C:\\Users\\Warburn\\Documents\\GitHub\\visual-sorting\\src\\components\\molecules\\MainControl\\index.js",["101","102"],"import React, { useEffect, useState } from \"react\";\r\nimport \"./style.css\";\r\n\r\nimport { Menu } from \"../Menu\";\r\nimport { Button } from \"../../atoms/Button\";\r\n\r\nexport const MainControl = (props) => {\r\n return (\r\n <section className=\"menu-section\">\r\n <Menu\r\n text=\"Select Algorithm\"\r\n items={props.items}\r\n onItemClick={(item) => {\r\n props.onAlgorithmChange(item);\r\n }}\r\n />\r\n <Menu\r\n text=\"Array Size\"\r\n items={props.arraySizes}\r\n onItemClick={(item) => {\r\n props.onArrayChange(item);\r\n }}\r\n />\r\n <Button text=\"Randomize\" />\r\n </section>\r\n );\r\n};\r\n",["103","104"],"C:\\Users\\Warburn\\Documents\\GitHub\\visual-sorting\\src\\components\\molecules\\NavigationBar\\index.js",["105","106","107"],"C:\\Users\\Warburn\\Documents\\GitHub\\visual-sorting\\src\\algorithms\\bubblesort.js",[],"C:\\Users\\Warburn\\Documents\\GitHub\\visual-sorting\\src\\components\\atoms\\Backdrop\\index.js",[],"C:\\Users\\Warburn\\Documents\\GitHub\\visual-sorting\\src\\components\\atoms\\Bar\\index.js",["108"],"import React from \"react\";\r\nimport PropTypes from \"prop-types\";\r\nimport \"./style.css\";\r\n\r\nexport const Bar = ({\r\n width,\r\n height,\r\n unit,\r\n value,\r\n showValue,\r\n colors,\r\n sorted,\r\n}) => {\r\n const valueDisplay = showValue ? (\r\n <span className=\"bar-value\">{value}</span>\r\n ) : null;\r\n let colorClassName = sorted ? \"sorted \" : \"\";\r\n\r\n if (colors && colors.stateA) colorClassName += \"bar-color-1\";\r\n else if (colors && colors.stateB) colorClassName += \"bar-color-2\";\r\n else if (colors && colors.stateC) colorClassName += \"bar-color-3\";\r\n else if (colors && colors.stateD) colorClassName += \"bar-color-4\";\r\n\r\n return (\r\n <div\r\n className={`bar ${colorClassName}`}\r\n style={{\r\n width: `${width}${unit || \"%\"}`,\r\n height: `${height}${unit || \"%\"}`,\r\n }}\r\n >\r\n {valueDisplay}\r\n </div>\r\n );\r\n};\r\n",["109","110"],"C:\\Users\\Warburn\\Documents\\GitHub\\visual-sorting\\src\\components\\molecules\\Menu\\index.js",["111","112"],"import React, { useEffect, useState } from \"react\";\r\nimport PropTypes from \"prop-types\";\r\nimport \"./style.css\";\r\n\r\nimport { Button } from \"../../atoms/Button\";\r\n\r\nexport const MenuDropDown = ({ open, items, onItemClick }) => {\r\n return open ? (\r\n <ul className=\"menu-list\">\r\n {items.map((item, i) => (\r\n <li\r\n key={`${item}_${i}`}\r\n onClick={(evt) => {\r\n if (onItemClick) {\r\n onItemClick(evt, item);\r\n }\r\n }}\r\n className=\"menu-item\"\r\n >\r\n {item}\r\n </li>\r\n ))}\r\n </ul>\r\n ) : null;\r\n};\r\nexport const Menu = (props) => {\r\n const [open, setOpen] = useState(props.open || false);\r\n const [text, setText] = useState(props.text || \"TEST\");\r\n\r\n const closeDropDown = function (evt) {\r\n evt.preventDefault();\r\n setOpen(false);\r\n };\r\n\r\n const toggleDropDown = function (evt) {\r\n evt.preventDefault();\r\n setOpen(!open);\r\n };\r\n\r\n return (\r\n <div>\r\n <div className={`menu`}>\r\n <header className=\"menu-header\">\r\n <Button\r\n onClick={toggleDropDown}\r\n className=\"menu-placeholder\"\r\n text={text}\r\n />\r\n </header>\r\n <MenuDropDown\r\n open={open}\r\n items={props.items}\r\n onItemClick={(e, item) => {\r\n props.onItemClick(item);\r\n setText(item);\r\n closeDropDown(e);\r\n }}\r\n />\r\n </div>\r\n </div>\r\n );\r\n};\r\n",["113","114"],"C:\\Users\\Warburn\\Documents\\GitHub\\visual-sorting\\src\\components\\atoms\\Button\\index.js",["115","116"],"import React, { useState, useEffect } from \"react\";\r\nimport PropTypes from \"prop-types\";\r\nimport \"./style.css\";\r\n\r\nexport const Button = (props) => {\r\n const [href, setHref] = useState(props.href || null);\r\n\r\n const [disabled, setDisabled] = useState(props.disabled || false);\r\n\r\n useEffect(() => {\r\n if (disabled) setHref(null);\r\n }, [disabled]);\r\n\r\n if (href) {\r\n return (\r\n <a\r\n onClick={props.onClick}\r\n href={href}\r\n className={`button ${disabled ? \"disabled\" : \"\"}`}\r\n disabled={disabled}\r\n >\r\n <span className=\"button-label\">{props.text}</span>\r\n </a>\r\n );\r\n }\r\n\r\n return (\r\n <button\r\n onClick={props.onClick}\r\n className={`button ${disabled ? \"disabled\" : \"\"}`}\r\n disabled={disabled}\r\n >\r\n <span className=\"button-label\">{props.text}</span>\r\n </button>\r\n );\r\n};\r\n",["117","118"],"C:\\Users\\Warburn\\Documents\\GitHub\\visual-sorting\\src\\components\\molecules\\AnimationControl\\index.js",["119","120"],"C:\\Users\\Warburn\\Documents\\GitHub\\visual-sorting\\src\\stories\\atoms\\Bar.stories.js",["121"],"C:\\Users\\Warburn\\Documents\\GitHub\\visual-sorting\\src\\stories\\atoms\\Backdrop.stories.js",["122"],"C:\\Users\\Warburn\\Documents\\GitHub\\visual-sorting\\src\\stories\\atoms\\Button.stories.js",["123"],"import React from \"react\";\r\n\r\nimport { Button } from \"../../components/atoms/Button\";\r\n\r\nexport default {\r\n component: Button,\r\n title: \"Atoms/Button\",\r\n};\r\n\r\nconst Template = (args) => <Button {...args} />;\r\n\r\nexport const Default = Template.bind({});\r\nexport const WithHref = Template.bind({});\r\nexport const Disabled = Template.bind({});\r\n\r\nDefault.args = {\r\n text: \"Button\",\r\n};\r\nWithHref.args = {\r\n ...Default.args,\r\n href: \"http://example.com\",\r\n};\r\n\r\nDisabled.args = {\r\n ...WithHref.args,\r\n disabled: true,\r\n};\r\n","C:\\Users\\Warburn\\Documents\\GitHub\\visual-sorting\\src\\stories\\molecules\\Menu.stories.js",["124","125"],"C:\\Users\\Warburn\\Documents\\GitHub\\visual-sorting\\src\\stories\\molecules\\MenuDropDown.stories.js",["126"],"import React from \"react\";\r\n\r\nimport { MenuDropDown } from \"../../components/molecules/Menu\";\r\n\r\nexport default {\r\n component: MenuDropDown,\r\n title: \"Molecules/Menu/Menu Drop Down\",\r\n};\r\n\r\nconst Template = (args) => <MenuDropDown {...args} />;\r\n\r\nexport const Default = Template.bind({});\r\n\r\nDefault.args = {\r\n open: true,\r\n items: [\"1 Item\", \"2 Item\", \"3 Item\"],\r\n};\r\n","C:\\Users\\Warburn\\Documents\\GitHub\\visual-sorting\\src\\stories\\organism\\NavigationBar.stories.js",["127"],"C:\\Users\\Warburn\\Documents\\GitHub\\visual-sorting\\src\\stories\\atoms\\PlayButton.stories.js",["128"],"C:\\Users\\Warburn\\Documents\\GitHub\\visual-sorting\\src\\components\\atoms\\PlayButton\\index.js",["129","130","131"],"C:\\Users\\Warburn\\Documents\\GitHub\\visual-sorting\\src\\stories\\molecules\\AnimationControl.stories.js",["132"],"C:\\Users\\Warburn\\Documents\\GitHub\\visual-sorting\\src\\components\\atoms\\ChartController\\index.js",["133","134","135","136"],"C:\\Users\\Warburn\\Documents\\GitHub\\visual-sorting\\src\\components\\atoms\\Chart\\index.js",[],"C:\\Users\\Warburn\\Documents\\GitHub\\visual-sorting\\src\\util.js",[],{"ruleId":"137","severity":1,"message":"138","line":7,"column":3,"nodeType":"139","messageId":"140","endLine":7,"endColumn":20},{"ruleId":"137","severity":1,"message":"141","line":8,"column":3,"nodeType":"139","messageId":"140","endLine":8,"endColumn":17},{"ruleId":"142","severity":1,"message":"143","line":24,"column":6,"nodeType":"144","endLine":24,"endColumn":8,"suggestions":"145"},{"ruleId":"142","severity":1,"message":"143","line":29,"column":6,"nodeType":"144","endLine":29,"endColumn":17,"suggestions":"146"},{"ruleId":"142","severity":1,"message":"147","line":33,"column":6,"nodeType":"144","endLine":33,"endColumn":17,"suggestions":"148"},{"ruleId":"137","severity":1,"message":"149","line":1,"column":17,"nodeType":"139","messageId":"140","endLine":1,"endColumn":26},{"ruleId":"137","severity":1,"message":"150","line":1,"column":28,"nodeType":"139","messageId":"140","endLine":1,"endColumn":36},{"ruleId":"151","replacedBy":"152"},{"ruleId":"153","replacedBy":"154"},{"ruleId":"137","severity":1,"message":"149","line":1,"column":17,"nodeType":"139","messageId":"140","endLine":1,"endColumn":26},{"ruleId":"137","severity":1,"message":"150","line":1,"column":28,"nodeType":"139","messageId":"140","endLine":1,"endColumn":36},{"ruleId":"137","severity":1,"message":"155","line":2,"column":8,"nodeType":"139","messageId":"140","endLine":2,"endColumn":17},{"ruleId":"137","severity":1,"message":"155","line":2,"column":8,"nodeType":"139","messageId":"140","endLine":2,"endColumn":17},{"ruleId":"151","replacedBy":"156"},{"ruleId":"153","replacedBy":"157"},{"ruleId":"137","severity":1,"message":"149","line":1,"column":17,"nodeType":"139","messageId":"140","endLine":1,"endColumn":26},{"ruleId":"137","severity":1,"message":"155","line":2,"column":8,"nodeType":"139","messageId":"140","endLine":2,"endColumn":17},{"ruleId":"151","replacedBy":"158"},{"ruleId":"153","replacedBy":"159"},{"ruleId":"137","severity":1,"message":"155","line":2,"column":8,"nodeType":"139","messageId":"140","endLine":2,"endColumn":17},{"ruleId":"137","severity":1,"message":"160","line":8,"column":20,"nodeType":"139","messageId":"140","endLine":8,"endColumn":31},{"ruleId":"151","replacedBy":"161"},{"ruleId":"153","replacedBy":"162"},{"ruleId":"137","severity":1,"message":"149","line":1,"column":17,"nodeType":"139","messageId":"140","endLine":1,"endColumn":26},{"ruleId":"137","severity":1,"message":"155","line":2,"column":8,"nodeType":"139","messageId":"140","endLine":2,"endColumn":17},{"ruleId":"163","severity":1,"message":"164","line":5,"column":1,"nodeType":"165","endLine":8,"endColumn":3},{"ruleId":"163","severity":1,"message":"164","line":5,"column":1,"nodeType":"165","endLine":8,"endColumn":3},{"ruleId":"163","severity":1,"message":"164","line":5,"column":1,"nodeType":"165","endLine":8,"endColumn":3},{"ruleId":"137","severity":1,"message":"166","line":3,"column":16,"nodeType":"139","messageId":"140","endLine":3,"endColumn":28},{"ruleId":"163","severity":1,"message":"164","line":5,"column":1,"nodeType":"165","endLine":8,"endColumn":3},{"ruleId":"163","severity":1,"message":"164","line":5,"column":1,"nodeType":"165","endLine":8,"endColumn":3},{"ruleId":"163","severity":1,"message":"164","line":5,"column":1,"nodeType":"165","endLine":8,"endColumn":3},{"ruleId":"163","severity":1,"message":"164","line":5,"column":1,"nodeType":"165","endLine":8,"endColumn":3},{"ruleId":"137","severity":1,"message":"150","line":1,"column":17,"nodeType":"139","messageId":"140","endLine":1,"endColumn":25},{"ruleId":"137","severity":1,"message":"149","line":1,"column":27,"nodeType":"139","messageId":"140","endLine":1,"endColumn":36},{"ruleId":"137","severity":1,"message":"155","line":2,"column":8,"nodeType":"139","messageId":"140","endLine":2,"endColumn":17},{"ruleId":"163","severity":1,"message":"164","line":5,"column":1,"nodeType":"165","endLine":8,"endColumn":3},{"ruleId":"137","severity":1,"message":"167","line":9,"column":10,"nodeType":"139","messageId":"140","endLine":9,"endColumn":25},{"ruleId":"137","severity":1,"message":"168","line":20,"column":9,"nodeType":"139","messageId":"140","endLine":20,"endColumn":13},{"ruleId":"142","severity":1,"message":"169","line":24,"column":18,"nodeType":"170","endLine":27,"endColumn":14},{"ruleId":"142","severity":1,"message":"171","line":41,"column":6,"nodeType":"144","endLine":41,"endColumn":17,"suggestions":"172"},"no-unused-vars","'BubbleSortActions' is defined but never used.","Identifier","unusedVar","'BubbleSortDesc' is defined but never used.","react-hooks/exhaustive-deps","React Hook useEffect has a missing dependency: 'generateRandomArray'. Either include it or remove the dependency array.","ArrayExpression",["173"],["174"],"React Hook useEffect has a missing dependency: 'createNewStepHistory'. Either include it or remove the dependency array.",["175"],"'useEffect' is defined but never used.","'useState' is defined but never used.","no-native-reassign",["176"],"no-negated-in-lhs",["177"],"'PropTypes' is defined but never used.",["176"],["177"],["176"],["177"],"'setDisabled' is assigned a value but never used.",["176"],["177"],"import/no-anonymous-default-export","Assign object to a variable before exporting as module default","ExportDefaultDeclaration","'MenuDropDown' is defined but never used.","'originalNumbers' is assigned a value but never used.","'play' is assigned a value but never used.","Assignments to the 'interval' variable from inside React Hook useEffect will be lost after each render. To preserve the value over time, store it in a useRef Hook and keep the mutable value in the '.current' property. Otherwise, you can move this variable directly inside useEffect.","CallExpression","React Hook useEffect has missing dependencies: 'interval' and 'props.steps'. Either include them or remove the dependency array.",["178"],{"desc":"179","fix":"180"},{"desc":"181","fix":"182"},{"desc":"183","fix":"184"},"no-global-assign","no-unsafe-negation",{"desc":"185","fix":"186"},"Update the dependencies array to be: [generateRandomArray]",{"range":"187","text":"188"},"Update the dependencies array to be: [arraySize, generateRandomArray]",{"range":"189","text":"190"},"Update the dependencies array to be: [algorithm, createNewStepHistory]",{"range":"191","text":"192"},"Update the dependencies array to be: [interval, props.steps, stepIndex]",{"range":"193","text":"194"},[686,688],"[generateRandomArray]",[781,792],"[arraySize, generateRandomArray]",[853,864],"[algorithm, createNewStepHistory]",[1137,1148],"[interval, props.steps, stepIndex]"]