-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintcache
1 lines (1 loc) · 7.27 KB
/
.eslintcache
1
[{"/Users/Alex/projects/new-pathway/src/App.js":"1","/Users/Alex/projects/new-pathway/src/components/Game.js":"2","/Users/Alex/projects/new-pathway/src/components/GameBoard.js":"3","/Users/Alex/projects/new-pathway/src/components/Player.js":"4","/Users/Alex/projects/new-pathway/src/components/BoardTile.js":"5","/Users/Alex/projects/new-pathway/src/components/WallEdge.js":"6","/Users/Alex/projects/new-pathway/src/reportWebVitals.js":"7","/Users/Alex/projects/new-pathway/src/services/GetGameDetails.js":"8","/Users/Alex/projects/new-pathway/src/components/Wall.js":"9"},{"size":581,"mtime":1610899351000,"results":"10","hashOfConfig":"11"},{"size":1329,"mtime":1610919083000,"results":"12","hashOfConfig":"11"},{"size":2037,"mtime":1610926622000,"results":"13","hashOfConfig":"11"},{"size":166,"mtime":1610905120000,"results":"14","hashOfConfig":"11"},{"size":618,"mtime":1610905263000,"results":"15","hashOfConfig":"11"},{"size":276,"mtime":1610896094000,"results":"16","hashOfConfig":"11"},{"size":362,"mtime":1610847047000,"results":"17","hashOfConfig":"11"},{"size":186,"mtime":1610902423000,"results":"18","hashOfConfig":"11"},{"size":303,"mtime":1610925486000,"results":"19","hashOfConfig":"11"},{"filePath":"20","messages":"21","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"22","usedDeprecatedRules":"23"},"7qauyn",{"filePath":"24","messages":"25","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"26","messages":"27","errorCount":0,"warningCount":6,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"28","messages":"29","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"30","messages":"31","errorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":"32"},{"filePath":"33","messages":"34","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"35"},{"filePath":"36","messages":"37","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"38","messages":"39","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"40","messages":"41","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},"/Users/Alex/projects/new-pathway/src/App.js",["42"],"import React, { useState, useEffect } from 'react';\nimport logo from './logo.svg';\nimport './App.css';\nimport Game from \"./components/Game\";\n\n\nfunction App() {\n const [currentTime, setCurrentTime] = useState(0);\n\n useEffect(() => {\n fetch('/time').then(res => res.json()).then(data => {\n setCurrentTime(data.time);\n });\n }, []);\t\n return (\n <div className=\"App\">\n <Game />\n <header className=\"App-header\">\n\n ... no changes in this part ...\n\n <p>The current time is {currentTime}.</p>\n </header>\n </div>\n );\n}\n\nexport default App;\n",["43","44"],"/Users/Alex/projects/new-pathway/src/components/Game.js",[],"/Users/Alex/projects/new-pathway/src/components/GameBoard.js",["45","46","47","48","49","50"],"/Users/Alex/projects/new-pathway/src/components/Player.js",["51"],"/Users/Alex/projects/new-pathway/src/components/BoardTile.js",["52","53","54","55"],"import React, { useContext } from \"react\";\nimport Player from \"./Player\";\n\nclass BoardTile extends React.Component {\n constructor(props) {\n super(props);\n }\t\n render() {\n let tmpClass = this.props.firstCol ? 'square first-col-board-tile' : 'square';\n let tileContent = this.props.value;\n if (this.props.occupied == 'P1' || this.props.occupied == 'P2') {\n tileContent = <Player id={this.props.occupied} />\n }\n\t return ( \n\t <button className={tmpClass} onClick={function() { alert('click'); }}>\n\t {tileContent}\n\t </button>\n\t );\t\t\n }\n};\n\nexport default BoardTile;","/Users/Alex/projects/new-pathway/src/components/WallEdge.js",["56"],"import React, { useContext } from \"react\";\n\nclass BoardTile extends React.Component {\n\trender() {\n return (\n <button className=\"wall-button\" onClick={function() { alert('click'); }}>\n {this.props.value}\n </button>\n );\t\t\n }\n};\n\nexport default BoardTile;","/Users/Alex/projects/new-pathway/src/reportWebVitals.js",[],"/Users/Alex/projects/new-pathway/src/services/GetGameDetails.js",["57","58","59"],"/Users/Alex/projects/new-pathway/src/components/Wall.js",["60","61"],{"ruleId":"62","severity":1,"message":"63","line":2,"column":8,"nodeType":"64","messageId":"65","endLine":2,"endColumn":12},{"ruleId":"66","replacedBy":"67"},{"ruleId":"68","replacedBy":"69"},{"ruleId":"62","severity":1,"message":"70","line":1,"column":17,"nodeType":"64","messageId":"65","endLine":1,"endColumn":27},{"ruleId":"71","severity":1,"message":"72","line":23,"column":24,"nodeType":"73","messageId":"74","endLine":23,"endColumn":26},{"ruleId":"71","severity":1,"message":"72","line":24,"column":14,"nodeType":"73","messageId":"74","endLine":24,"endColumn":16},{"ruleId":"71","severity":1,"message":"72","line":26,"column":20,"nodeType":"73","messageId":"74","endLine":26,"endColumn":22},{"ruleId":"71","severity":1,"message":"75","line":31,"column":13,"nodeType":"73","messageId":"74","endLine":31,"endColumn":15},{"ruleId":"71","severity":1,"message":"75","line":43,"column":13,"nodeType":"73","messageId":"74","endLine":43,"endColumn":15},{"ruleId":"62","severity":1,"message":"70","line":1,"column":17,"nodeType":"64","messageId":"65","endLine":1,"endColumn":27},{"ruleId":"62","severity":1,"message":"70","line":1,"column":17,"nodeType":"64","messageId":"65","endLine":1,"endColumn":27},{"ruleId":"76","severity":1,"message":"77","line":5,"column":3,"nodeType":"78","messageId":"79","endLine":7,"endColumn":4},{"ruleId":"71","severity":1,"message":"72","line":11,"column":31,"nodeType":"73","messageId":"74","endLine":11,"endColumn":33},{"ruleId":"71","severity":1,"message":"72","line":11,"column":62,"nodeType":"73","messageId":"74","endLine":11,"endColumn":64},{"ruleId":"62","severity":1,"message":"70","line":1,"column":17,"nodeType":"64","messageId":"65","endLine":1,"endColumn":27},{"ruleId":"62","severity":1,"message":"80","line":1,"column":8,"nodeType":"64","messageId":"65","endLine":1,"endColumn":13},{"ruleId":"62","severity":1,"message":"81","line":1,"column":17,"nodeType":"64","messageId":"65","endLine":1,"endColumn":25},{"ruleId":"62","severity":1,"message":"82","line":1,"column":27,"nodeType":"64","messageId":"65","endLine":1,"endColumn":36},{"ruleId":"62","severity":1,"message":"70","line":1,"column":17,"nodeType":"64","messageId":"65","endLine":1,"endColumn":27},{"ruleId":"71","severity":1,"message":"72","line":5,"column":31,"nodeType":"73","messageId":"74","endLine":5,"endColumn":33},"no-unused-vars","'logo' is defined but never used.","Identifier","unusedVar","no-native-reassign",["83"],"no-negated-in-lhs",["84"],"'useContext' is defined but never used.","eqeqeq","Expected '===' and instead saw '=='.","BinaryExpression","unexpected","Expected '!==' and instead saw '!='.","no-useless-constructor","Useless constructor.","MethodDefinition","noUselessConstructor","'React' is defined but never used.","'useState' is defined but never used.","'useEffect' is defined but never used.","no-global-assign","no-unsafe-negation"]