1 |
- [{"D:\\A-level\\hubreact\\hw3react\\src\\index.js":"1","D:\\A-level\\hubreact\\hw3react\\src\\App\\App.jsx":"2","D:\\A-level\\hubreact\\hw3react\\src\\containers\\Footer\\index.js":"3","D:\\A-level\\hubreact\\hw3react\\src\\containers\\Main\\index.js":"4","D:\\A-level\\hubreact\\hw3react\\src\\containers\\PopUp\\index.js":"5","D:\\A-level\\hubreact\\hw3react\\src\\containers\\PopUp\\PopUp.jsx":"6","D:\\A-level\\hubreact\\hw3react\\src\\containers\\Footer\\Footer.jsx":"7","D:\\A-level\\hubreact\\hw3react\\src\\containers\\Main\\Main.jsx":"8","D:\\A-level\\hubreact\\hw3react\\src\\containers\\UsersComponent\\UsersComponent.jsx":"9","D:\\A-level\\hubreact\\hw3react\\src\\containers\\CreateNewUser\\index.js":"10","D:\\A-level\\hubreact\\hw3react\\src\\containers\\CreateNewUser\\CreateNewUser.jsx":"11","D:\\A-level\\hubreact\\hw3react\\src\\components\\Button\\index.js":"12","D:\\A-level\\hubreact\\hw3react\\src\\components\\Label\\index.js":"13","D:\\A-level\\hubreact\\hw3react\\src\\components\\Input\\index.js":"14","D:\\A-level\\hubreact\\hw3react\\src\\components\\Button\\Button.jsx":"15","D:\\A-level\\hubreact\\hw3react\\src\\components\\Label\\Label.jsx":"16","D:\\A-level\\hubreact\\hw3react\\src\\components\\Input\\Input.jsx":"17","D:\\A-level\\hubreact\\hw3react\\src\\components\\UserCard\\index.js":"18","D:\\A-level\\hubreact\\hw3react\\src\\components\\UserCard\\UserCard.jsx":"19","D:\\A-level\\hubreact\\hw3react\\src\\App\\index.js":"20","D:\\A-level\\hubreact\\hw3react\\src\\containers\\UsersComponent\\index.js":"21","D:\\A-level\\hubreact\\hw3react\\src\\containers\\Popup\\index.js":"22","D:\\A-level\\hubreact\\hw3react\\src\\containers\\Popup\\Popup.jsx":"23"},{"size":218,"mtime":1609680259674,"results":"24","hashOfConfig":"25"},{"size":600,"mtime":1609684120748,"results":"26","hashOfConfig":"25"},{"size":54,"mtime":1609239515637,"results":"27","hashOfConfig":"25"},{"size":48,"mtime":1609239547513,"results":"28","hashOfConfig":"25"},{"size":51,"mtime":1609270103983,"results":"29","hashOfConfig":"25"},{"size":1529,"mtime":1609539009337,"results":"30","hashOfConfig":"25"},{"size":222,"mtime":1609684413066,"results":"31","hashOfConfig":"25"},{"size":829,"mtime":1609684572742,"results":"32","hashOfConfig":"25"},{"size":578,"mtime":1609686861230,"results":"33","hashOfConfig":"25"},{"size":75,"mtime":1609259107341,"results":"34","hashOfConfig":"25"},{"size":1149,"mtime":1609684968801,"results":"35","hashOfConfig":"25"},{"size":54,"mtime":1609688832281,"results":"36","hashOfConfig":"25"},{"size":51,"mtime":1609269206843,"results":"37","hashOfConfig":"25"},{"size":51,"mtime":1609239473128,"results":"38","hashOfConfig":"25"},{"size":196,"mtime":1609840778449,"results":"39","hashOfConfig":"25"},{"size":188,"mtime":1609689139054,"results":"40","hashOfConfig":"25"},{"size":278,"mtime":1609689263563,"results":"41","hashOfConfig":"25"},{"size":60,"mtime":1609514634630,"results":"42","hashOfConfig":"25"},{"size":610,"mtime":1609681212345,"results":"43","hashOfConfig":"25"},{"size":45,"mtime":1609069233476,"results":"44","hashOfConfig":"25"},{"size":78,"mtime":1609239590216,"results":"45","hashOfConfig":"25"},{"size":51,"mtime":1609685456450,"results":"46","hashOfConfig":"25"},{"size":1822,"mtime":1609693630420,"results":"47","hashOfConfig":"25"},{"filePath":"48","messages":"49","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"50"},"y45uff",{"filePath":"51","messages":"52","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"50"},{"filePath":"53","messages":"54","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"50"},{"filePath":"55","messages":"56","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"50"},{"filePath":"57","messages":"58","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"59"},{"filePath":"60","messages":"61","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":"62","usedDeprecatedRules":"59"},{"filePath":"63","messages":"64","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"50"},{"filePath":"65","messages":"66","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"50"},{"filePath":"67","messages":"68","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"50"},{"filePath":"69","messages":"70","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"50"},{"filePath":"71","messages":"72","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"50"},{"filePath":"73","messages":"74","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"50"},{"filePath":"75","messages":"76","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"50"},{"filePath":"77","messages":"78","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"50"},{"filePath":"79","messages":"80","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"81","messages":"82","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"50"},{"filePath":"83","messages":"84","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"50"},{"filePath":"85","messages":"86","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"50"},{"filePath":"87","messages":"88","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"50"},{"filePath":"89","messages":"90","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"50"},{"filePath":"91","messages":"92","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"50"},{"filePath":"93","messages":"94","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"50"},{"filePath":"95","messages":"96","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"50"},"D:\\A-level\\hubreact\\hw3react\\src\\index.js",[],["97","98"],"D:\\A-level\\hubreact\\hw3react\\src\\App\\App.jsx",[],"D:\\A-level\\hubreact\\hw3react\\src\\containers\\Footer\\index.js",[],"D:\\A-level\\hubreact\\hw3react\\src\\containers\\Main\\index.js",[],"D:\\A-level\\hubreact\\hw3react\\src\\containers\\PopUp\\index.js",[],["99","100"],"D:\\A-level\\hubreact\\hw3react\\src\\containers\\PopUp\\PopUp.jsx",["101","102","103"],"import React, {useState} from 'react';\nimport './popUp.css';\nimport Input from '../../components/Input'\nimport Button from '../../components/Button'\n\n\nconst PopUp = ({userPopUp, handleSwitchPopUp}) => {\n\n const [name, setName] = useState(userPopUp.name);\n const [surname, setSurname] = useState(userPopUp.surname);\n const [address, setAddress] = useState(userPopUp.address);\n\n const closePopUp = (e) => {\n e.stopPropagation();\n if (e.target.classList.contains(\"popUp\")) {\n handleSwitchPopUp();\n }\n }\n\nconst refreshUser = (target) => {\n let name = target.elements['name'].value;\n let surname = target.elements['surname'].value;\n let address = target.elements['address'].value;\n\n if (name && surname && address) {\n userPopUp.name = name;\n userPopUp.surname = surname;\n userPopUp.address = address;\n}\n\nhandleSwitchPopUp();\n}\n\n return (\n <div className=\"popUp\" onClick={closePopUp}>\n <span className=\"close\" onClick={handleSwitchPopUp}>X</span>\n <form className=\"refresh_user\" onSubmit={(e) => {\n e.preventDefault()\n refreshUser(e.target)\n }}>\n <Input type={\"text\"} name={\"name\"} value={\"name\"} onChange={(e) => setName(e.target.value)}/>\n <Input type={\"text\"} name={\"surname\"} value={\"surname\"} onChange={(e) => setSurname(e.target.value)}/>\n <Input type={\"text\"} name={\"address\"} value={\"address\"} onChange={(e) => setAddress(e.target.value)}/>\n <Button buttonName={'Refresh User'}/>\n </form>\n </div>\n );\n}\n\nexport default PopUp;","D:\\A-level\\hubreact\\hw3react\\src\\containers\\Footer\\Footer.jsx",[],"D:\\A-level\\hubreact\\hw3react\\src\\containers\\Main\\Main.jsx",[],"D:\\A-level\\hubreact\\hw3react\\src\\containers\\UsersComponent\\UsersComponent.jsx",[],"D:\\A-level\\hubreact\\hw3react\\src\\containers\\CreateNewUser\\index.js",[],"D:\\A-level\\hubreact\\hw3react\\src\\containers\\CreateNewUser\\CreateNewUser.jsx",[],"D:\\A-level\\hubreact\\hw3react\\src\\components\\Button\\index.js",[],"D:\\A-level\\hubreact\\hw3react\\src\\components\\Label\\index.js",[],"D:\\A-level\\hubreact\\hw3react\\src\\components\\Input\\index.js",[],"D:\\A-level\\hubreact\\hw3react\\src\\components\\Button\\Button.jsx",[],"D:\\A-level\\hubreact\\hw3react\\src\\components\\Label\\Label.jsx",[],"D:\\A-level\\hubreact\\hw3react\\src\\components\\Input\\Input.jsx",[],"D:\\A-level\\hubreact\\hw3react\\src\\components\\UserCard\\index.js",[],"D:\\A-level\\hubreact\\hw3react\\src\\components\\UserCard\\UserCard.jsx",[],"D:\\A-level\\hubreact\\hw3react\\src\\App\\index.js",[],"D:\\A-level\\hubreact\\hw3react\\src\\containers\\UsersComponent\\index.js",[],"D:\\A-level\\hubreact\\hw3react\\src\\containers\\Popup\\index.js",[],"D:\\A-level\\hubreact\\hw3react\\src\\containers\\Popup\\Popup.jsx",[],{"ruleId":"104","replacedBy":"105"},{"ruleId":"106","replacedBy":"107"},{"ruleId":"104","replacedBy":"108"},{"ruleId":"106","replacedBy":"109"},{"ruleId":"110","severity":1,"message":"111","line":9,"column":10,"nodeType":"112","messageId":"113","endLine":9,"endColumn":14},{"ruleId":"110","severity":1,"message":"114","line":10,"column":10,"nodeType":"112","messageId":"113","endLine":10,"endColumn":17},{"ruleId":"110","severity":1,"message":"115","line":11,"column":10,"nodeType":"112","messageId":"113","endLine":11,"endColumn":17},"no-native-reassign",["116"],"no-negated-in-lhs",["117"],["116"],["117"],"no-unused-vars","'name' is assigned a value but never used.","Identifier","unusedVar","'surname' is assigned a value but never used.","'address' is assigned a value but never used.","no-global-assign","no-unsafe-negation"]
|