-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintcache
1 lines (1 loc) · 4.44 KB
/
.eslintcache
1
[{"C:\\Users\\Akshay V Doyizode\\Desktop\\intern\\src\\App.js":"1","C:\\Users\\Akshay V Doyizode\\Desktop\\intern\\src\\Login.js":"2","C:\\Users\\Akshay V Doyizode\\Desktop\\intern\\src\\firebase.js":"3","C:\\Users\\Akshay V Doyizode\\Desktop\\intern\\src\\Signup.js":"4","C:\\Users\\Akshay V Doyizode\\Desktop\\intern\\src\\fire.js":"5","C:\\Users\\Akshay V Doyizode\\Desktop\\intern\\src\\Logout.js":"6","C:\\Users\\Akshay V Doyizode\\Desktop\\intern\\src\\Home.js":"7","C:\\Users\\Akshay V Doyizode\\Desktop\\intern\\src\\index.js":"8"},{"size":1141,"mtime":1608203474975,"results":"9","hashOfConfig":"10"},{"size":1336,"mtime":1608178730620,"results":"11","hashOfConfig":"10"},{"size":610,"mtime":1608177116008,"results":"12","hashOfConfig":"10"},{"size":6861,"mtime":1608180562585,"results":"13","hashOfConfig":"10"},{"size":1479,"mtime":1608177690576,"results":"14","hashOfConfig":"10"},{"size":345,"mtime":1608204194151,"results":"15","hashOfConfig":"10"},{"size":1152,"mtime":1608204688037,"results":"16","hashOfConfig":"10"},{"size":219,"mtime":1608189572996,"results":"17","hashOfConfig":"10"},{"filePath":"18","messages":"19","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"lmtzb2",{"filePath":"20","messages":"21","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"22","messages":"23","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"24","messages":"25","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"26","messages":"27","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"28"},{"filePath":"29","messages":"30","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"31","messages":"32","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"33","messages":"34","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"C:\\Users\\Akshay V Doyizode\\Desktop\\intern\\src\\App.js",[],"C:\\Users\\Akshay V Doyizode\\Desktop\\intern\\src\\Login.js",[],"C:\\Users\\Akshay V Doyizode\\Desktop\\intern\\src\\firebase.js",[],"C:\\Users\\Akshay V Doyizode\\Desktop\\intern\\src\\Signup.js",[],"C:\\Users\\Akshay V Doyizode\\Desktop\\intern\\src\\fire.js",["35","36"],"import firebaseConfig, { auth } from \"./firebase\";\r\nimport * as firebase from \"firebase\";\r\nimport db from \"./firebase\";\r\nclass Fire {\r\n get firestore() {\r\n return db;\r\n }\r\n get uid() {\r\n return (auth.currentUser || {}).uid;\r\n }\r\n get timestamp() {\r\n return Date.now();\r\n }\r\n get displayName() {\r\n return (auth.currentUser || {}).displayName;\r\n }\r\n createUser = async (user) => {\r\n try {\r\n await auth.createUserWithEmailAndPassword(user.email, user.password);\r\n let data = db.collection(\"users\").doc(this.uid);\r\n data.set({\r\n displayName: user.displayName,\r\n email: user.email,\r\n uid: this.uid,\r\n company: user.company,\r\n phno: user.phno,\r\n dob: user.dob,\r\n });\r\n } catch (error) {\r\n alert(error);\r\n }\r\n };\r\n // createUser = async user => {\r\n // try\r\n // {\r\n // await firebase.auth().createUserWithEmailAndPassword(user.email, user.password);\r\n // var user = firebase.auth().currentUser;\r\n // user.updateProfile({\r\n // displayName:user.displayName\r\n // }).then(function() {\r\n // alert('Update Succesful')\r\n // }).catch(function(error) {\r\n // alert(error)\r\n // });\r\n // }\r\n // catch (error)\r\n // {\r\n // alert( error );\r\n // }\r\n // };\r\n\r\n signOut = () => {\r\n auth.signOut();\r\n };\r\n}\r\nFire.shared = new Fire();\r\nexport default Fire;\r\n","C:\\Users\\Akshay V Doyizode\\Desktop\\intern\\src\\Logout.js",[],"C:\\Users\\Akshay V Doyizode\\Desktop\\intern\\src\\Home.js",[],"C:\\Users\\Akshay V Doyizode\\Desktop\\intern\\src\\index.js",[],{"ruleId":"37","severity":1,"message":"38","line":1,"column":8,"nodeType":"39","messageId":"40","endLine":1,"endColumn":22},{"ruleId":"37","severity":1,"message":"41","line":2,"column":13,"nodeType":"39","messageId":"40","endLine":2,"endColumn":21},"no-unused-vars","'firebaseConfig' is defined but never used.","Identifier","unusedVar","'firebase' is defined but never used."]