-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintcache
1 lines (1 loc) · 10.4 KB
/
.eslintcache
1
[{"C:\\Users\\Usuaio\\lancebrotSchool-react\\src\\index.js":"1","C:\\Users\\Usuaio\\lancebrotSchool-react\\src\\App.js":"2","C:\\Users\\Usuaio\\lancebrotSchool-react\\src\\reportWebVitals.js":"3","C:\\Users\\Usuaio\\lancebrotSchool-react\\src\\components\\Navbar\\Navbar.js":"4","C:\\Users\\Usuaio\\lancebrotSchool-react\\src\\components\\Navbar\\Button.js":"5","C:\\Users\\Usuaio\\lancebrotSchool-react\\src\\components\\Hero\\Hero.js":"6","C:\\Users\\Usuaio\\lancebrotSchool-react\\src\\components\\About\\About.js":"7","C:\\Users\\Usuaio\\lancebrotSchool-react\\src\\components\\Courses\\Courses.js":"8","C:\\Users\\Usuaio\\lancebrotSchool-react\\src\\components\\Courses\\CoursesData.js":"9","C:\\Users\\Usuaio\\lancebrotSchool-react\\src\\components\\Team\\Team.js":"10","C:\\Users\\Usuaio\\lancebrotSchool-react\\src\\components\\Team\\TeamData.js":"11","C:\\Users\\Usuaio\\lancebrotSchool-react\\src\\components\\Footer\\Footer.js":"12","C:\\Users\\Usuaio\\lancebrotSchool-react\\src\\components\\Contact\\Contact.js":"13","C:\\Users\\Usuaio\\lancebrotSchool-react\\src\\components\\Contact\\ContactSuccess.js":"14","C:\\Users\\Usuaio\\lancebrotSchool-react\\src\\components\\Contact\\ContactSignup.js":"15","C:\\Users\\Usuaio\\lancebrotSchool-react\\src\\components\\Contact\\useForm.js":"16","C:\\Users\\Usuaio\\lancebrotSchool-react\\src\\components\\Contact\\validateInfo.js":"17","C:\\Users\\Usuaio\\lancebrotSchool-react\\src\\Pages\\Home\\Home.js":"18","C:\\Users\\Usuaio\\lancebrotSchool-react\\src\\components\\ScrollToTop.js":"19","C:\\Users\\Usuaio\\lancebrotSchool-react\\src\\Pages\\Courses\\Courses.js":"20","C:\\Users\\Usuaio\\lancebrotSchool-react\\src\\components\\Testimonials\\testimonials.js":"21","C:\\Users\\Usuaio\\lancebrotSchool-react\\src\\Pages\\Campus\\campus-signin.js":"22"},{"size":500,"mtime":1607142025062,"results":"23","hashOfConfig":"24"},{"size":877,"mtime":1611171040383,"results":"25","hashOfConfig":"24"},{"size":362,"mtime":1607142025062,"results":"26","hashOfConfig":"24"},{"size":1832,"mtime":1611170528856,"results":"27","hashOfConfig":"24"},{"size":733,"mtime":1610919290142,"results":"28","hashOfConfig":"24"},{"size":860,"mtime":1610919276902,"results":"29","hashOfConfig":"24"},{"size":1116,"mtime":1611116398611,"results":"30","hashOfConfig":"24"},{"size":1815,"mtime":1611019897591,"results":"31","hashOfConfig":"24"},{"size":668,"mtime":1611164732708,"results":"32","hashOfConfig":"24"},{"size":1140,"mtime":1610919840463,"results":"33","hashOfConfig":"24"},{"size":635,"mtime":1611266950139,"results":"34","hashOfConfig":"24"},{"size":1818,"mtime":1611266950312,"results":"35","hashOfConfig":"24"},{"size":1108,"mtime":1611034167033,"results":"36","hashOfConfig":"24"},{"size":387,"mtime":1610918480993,"results":"37","hashOfConfig":"38"},{"size":3488,"mtime":1610918458769,"results":"39","hashOfConfig":"38"},{"size":903,"mtime":1610918511843,"results":"40","hashOfConfig":"38"},{"size":855,"mtime":1610918573204,"results":"41","hashOfConfig":"38"},{"size":401,"mtime":1610917212564,"results":"42","hashOfConfig":"24"},{"size":275,"mtime":1610919931174,"results":"43","hashOfConfig":"24"},{"size":14342,"mtime":1611116985294,"results":"44","hashOfConfig":"24"},{"size":2754,"mtime":1611119097602,"results":"45","hashOfConfig":"24"},{"size":1686,"mtime":1611116068221,"results":"46","hashOfConfig":"24"},{"filePath":"47","messages":"48","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"jaz93v",{"filePath":"49","messages":"50","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"51","messages":"52","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"53","messages":"54","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"55","messages":"56","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"57","messages":"58","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"59","messages":"60","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"61","messages":"62","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"63","messages":"64","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"65","messages":"66","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"67","messages":"68","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"69","messages":"70","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"71","messages":"72","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"73","messages":"74","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"75","usedDeprecatedRules":"76"},"19xfie6",{"filePath":"77","messages":"78","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"76"},{"filePath":"79","messages":"80","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"81","usedDeprecatedRules":"76"},{"filePath":"82","messages":"83","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"84"},{"filePath":"85","messages":"86","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"87","messages":"88","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"89","messages":"90","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"91","messages":"92","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"93","messages":"94","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"C:\\Users\\Usuaio\\lancebrotSchool-react\\src\\index.js",[],"C:\\Users\\Usuaio\\lancebrotSchool-react\\src\\App.js",[],"C:\\Users\\Usuaio\\lancebrotSchool-react\\src\\reportWebVitals.js",[],"C:\\Users\\Usuaio\\lancebrotSchool-react\\src\\components\\Navbar\\Navbar.js",["95"],"C:\\Users\\Usuaio\\lancebrotSchool-react\\src\\components\\Navbar\\Button.js",[],"C:\\Users\\Usuaio\\lancebrotSchool-react\\src\\components\\Hero\\Hero.js",[],"C:\\Users\\Usuaio\\lancebrotSchool-react\\src\\components\\About\\About.js",[],"C:\\Users\\Usuaio\\lancebrotSchool-react\\src\\components\\Courses\\Courses.js",[],"C:\\Users\\Usuaio\\lancebrotSchool-react\\src\\components\\Courses\\CoursesData.js",[],"C:\\Users\\Usuaio\\lancebrotSchool-react\\src\\components\\Team\\Team.js",[],"C:\\Users\\Usuaio\\lancebrotSchool-react\\src\\components\\Team\\TeamData.js",[],"C:\\Users\\Usuaio\\lancebrotSchool-react\\src\\components\\Footer\\Footer.js",[],"C:\\Users\\Usuaio\\lancebrotSchool-react\\src\\components\\Contact\\Contact.js",[],"C:\\Users\\Usuaio\\lancebrotSchool-react\\src\\components\\Contact\\ContactSuccess.js",["96"],"import React from 'react';\r\nimport BaseSuccess from '../img/base2.jpg';\r\n\r\nconst ContactSuccess = () => {\r\n return (\r\n <div className=\"form-content-right\">\r\n <div className=\"form-success\">We have received your request!</div>\r\n <img src={BaseSuccess} alt=\"success-image\" className=\"form-img-2\"/>\r\n </div>\r\n );\r\n}\r\n\r\nexport default ContactSuccess;",["97","98"],"C:\\Users\\Usuaio\\lancebrotSchool-react\\src\\components\\Contact\\ContactSignup.js",[],"C:\\Users\\Usuaio\\lancebrotSchool-react\\src\\components\\Contact\\useForm.js",["99"],"import {useState, useEffect} from 'react';\r\n\r\nconst useForm = (callback, validate) => {\r\n const [values, setValues] = useState({\r\n username: '',\r\n email: '',\r\n password: '',\r\n password2: ''\r\n });\r\n\r\n const [errors, setErrors] = useState({});\r\n const [isSubmitting, setIsSubmitting] = useState(false);\r\n\r\n const handleChange = e => {\r\n const { name, value } = e.target\r\n setValues({\r\n ...values,\r\n [name]: value\r\n });\r\n };\r\n\r\n const handleSubmit = e => {\r\n e.preventDefault();\r\n\r\n setErrors(validate(values));\r\n setIsSubmitting(true);\r\n };\r\n\r\n useEffect(() => {\r\n if(Object.keys(errors).length === 0 && isSubmitting) {\r\n callback()\r\n }\r\n }, \r\n [errors]\r\n );\r\n\r\n return {handleChange, values, handleSubmit, errors };\r\n};\r\n\r\nexport default useForm;\r\n","C:\\Users\\Usuaio\\lancebrotSchool-react\\src\\components\\Contact\\validateInfo.js",[],["100","101"],"C:\\Users\\Usuaio\\lancebrotSchool-react\\src\\Pages\\Home\\Home.js",[],"C:\\Users\\Usuaio\\lancebrotSchool-react\\src\\components\\ScrollToTop.js",[],"C:\\Users\\Usuaio\\lancebrotSchool-react\\src\\Pages\\Courses\\Courses.js",[],"C:\\Users\\Usuaio\\lancebrotSchool-react\\src\\components\\Testimonials\\testimonials.js",[],"C:\\Users\\Usuaio\\lancebrotSchool-react\\src\\Pages\\Campus\\campus-signin.js",[],{"ruleId":"102","severity":1,"message":"103","line":7,"column":10,"nodeType":"104","messageId":"105","endLine":7,"endColumn":16},{"ruleId":"106","severity":1,"message":"107","line":8,"column":13,"nodeType":"108","endLine":8,"endColumn":80},{"ruleId":"109","replacedBy":"110"},{"ruleId":"111","replacedBy":"112"},{"ruleId":"113","severity":1,"message":"114","line":34,"column":5,"nodeType":"115","endLine":34,"endColumn":13,"suggestions":"116"},{"ruleId":"109","replacedBy":"117"},{"ruleId":"111","replacedBy":"118"},"no-unused-vars","'button' is assigned a value but never used.","Identifier","unusedVar","jsx-a11y/img-redundant-alt","Redundant alt attribute. Screen-readers already announce `img` tags as an image. You don’t need to use the words `image`, `photo,` or `picture` (or any specified custom words) in the alt prop.","JSXOpeningElement","no-native-reassign",["119"],"no-negated-in-lhs",["120"],"react-hooks/exhaustive-deps","React Hook useEffect has missing dependencies: 'callback' and 'isSubmitting'. Either include them or remove the dependency array. If 'callback' changes too often, find the parent component that defines it and wrap that definition in useCallback.","ArrayExpression",["121"],["119"],["120"],"no-global-assign","no-unsafe-negation",{"desc":"122","fix":"123"},"Update the dependencies array to be: [callback, errors, isSubmitting]",{"range":"124","text":"125"},[793,801],"[callback, errors, isSubmitting]"]