-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintcache
1 lines (1 loc) · 2.43 KB
/
.eslintcache
1
[{"E:\\re-re\\src\\index.js":"1","E:\\re-re\\src\\App.js":"2","E:\\re-re\\src\\temp.js":"3"},{"size":201,"mtime":1610478239769,"results":"4","hashOfConfig":"5"},{"size":2187,"mtime":1611136404824,"results":"6","hashOfConfig":"5"},{"size":888,"mtime":1610693450259,"results":"7","hashOfConfig":"5"},{"filePath":"8","messages":"9","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"10"},"mh6b9c",{"filePath":"11","messages":"12","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"13","messages":"14","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"15","usedDeprecatedRules":"16"},"E:\\re-re\\src\\index.js",[],["17","18"],"E:\\re-re\\src\\App.js",[],"E:\\re-re\\src\\temp.js",["19","20"],"import {useState, useEffect, useRef} from 'react';\r\n\r\n\r\nconst Temp = () => {\r\n\tconst [num, setNum] = useState(0);\r\n// \tlet [final, setFinal] = useState(\"\"); \r\n// \r\n// \tconst startGame = () => {\r\n// \t\tword = word + \"a\";\r\n// \t\tsetWord(word) //word= a aa aaa\t\r\n// \r\n// \t\tsetFinal(final => final + word); //final = \"\" a aa\r\n// \t}\r\n// \tconst stopGame = () =>{\r\n// \t\tsetWord(\"\");\r\n// \t\tsetFinal(\"\");\r\n// \t}\r\n// \t\t\r\n// \r\n// \r\n// console.log(\"word\",word);\r\n// \t\tconsole.log(\"final\", final);\r\n// \t\t\r\n// \r\n// \r\n// \treturn(\r\n// \t\t<div>\r\n// \t\t<button onClick={startGame}>start</button>\r\n// \t\t<button onClick={stopGame}>start</button>\r\n// \r\n// \t\t<p>{word}</p>\r\n// \t\t<p>{final}</p>\r\n// \t\t</div>\r\n// \t\t)\r\n\r\n\r\n\tconst helloWorld = () => {\r\n\t\tsetNum(num => num +1)\r\n\t\tconsole.log(\"helloWorld\");\r\n\t}\r\n\treturn(\r\n\t\t<button onClick={function() { helloWorld()}}>{num}</button>\r\n\t\t)\r\n\r\n}\r\n\r\nexport default Temp;",["21","22"],{"ruleId":"23","replacedBy":"24"},{"ruleId":"25","replacedBy":"26"},{"ruleId":"27","severity":1,"message":"28","line":1,"column":19,"nodeType":"29","messageId":"30","endLine":1,"endColumn":28},{"ruleId":"27","severity":1,"message":"31","line":1,"column":30,"nodeType":"29","messageId":"30","endLine":1,"endColumn":36},{"ruleId":"23","replacedBy":"32"},{"ruleId":"25","replacedBy":"33"},"no-native-reassign",["34"],"no-negated-in-lhs",["35"],"no-unused-vars","'useEffect' is defined but never used.","Identifier","unusedVar","'useRef' is defined but never used.",["34"],["35"],"no-global-assign","no-unsafe-negation"]