-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintcache
1 lines (1 loc) · 4.63 KB
/
.eslintcache
1
[{"C:\\Users\\athar\\OneDrive\\Desktop\\shopEt\\src\\index.js":"1","C:\\Users\\athar\\OneDrive\\Desktop\\shopEt\\src\\reportWebVitals.js":"2","C:\\Users\\athar\\OneDrive\\Desktop\\shopEt\\src\\App.js":"3","C:\\Users\\athar\\OneDrive\\Desktop\\shopEt\\src\\screens\\HomeScreen.js":"4","C:\\Users\\athar\\OneDrive\\Desktop\\shopEt\\src\\screens\\SignInScreen.js":"5","C:\\Users\\athar\\OneDrive\\Desktop\\shopEt\\src\\screens\\SignUpScreen.js":"6"},{"size":562,"mtime":1609752820590,"results":"7","hashOfConfig":"8"},{"size":375,"mtime":1609752820593,"results":"9","hashOfConfig":"8"},{"size":1410,"mtime":1609758695702,"results":"10","hashOfConfig":"8"},{"size":995,"mtime":1609840444336,"results":"11","hashOfConfig":"8"},{"size":609,"mtime":1609759214122,"results":"12","hashOfConfig":"8"},{"size":692,"mtime":1609759217781,"results":"13","hashOfConfig":"8"},{"filePath":"14","messages":"15","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"16"},"ocr8jg",{"filePath":"17","messages":"18","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"16"},{"filePath":"19","messages":"20","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":"21","usedDeprecatedRules":"16"},{"filePath":"22","messages":"23","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"24","messages":"25","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"16"},{"filePath":"26","messages":"27","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"16"},"C:\\Users\\athar\\OneDrive\\Desktop\\shopEt\\src\\index.js",[],["28","29"],"C:\\Users\\athar\\OneDrive\\Desktop\\shopEt\\src\\reportWebVitals.js",[],"C:\\Users\\athar\\OneDrive\\Desktop\\shopEt\\src\\App.js",["30","31","32"],"import logo from './logo.svg';\r\nimport {Link, Route} from 'react-router-dom';\r\nimport './App.css';\r\nimport homescreen from './screens/HomeScreen';\r\nimport HomeScreen from './screens/HomeScreen';\r\nimport SignInScreen from './screens/SignInScreen';\r\nimport SignUpScreen from './screens/SignUpScreen';\r\n\r\nfunction App() \r\n{\r\n const opensidebar = () =>{\r\n\r\n document.querySelector('.sidebar').classList.add('open');\r\n }\r\n const closesidebar = () =>\r\n {\r\n document.querySelector('.sidebar').classList.remove('open');\r\n }\r\n\r\n return (\r\n <>\r\n <header className='header'>\r\n <button className='sidebar-button' onClick={opensidebar}>\r\n ☰\r\n </button>\r\n <Link to=\"/\" className='brand'>\r\n shopEt\r\n </Link>\r\n <a href='#' className='cart'>\r\n Cart\r\n </a>\r\n <Link to=\"/signin\" className='signin'>\r\n SignIn\r\n </Link>\r\n </header>\r\n <div className='sidebar'>\r\n <button className='sidebar-close-button' onClick={closesidebar}>\r\n ←\r\n </button>\r\n\r\n </div>\r\n\r\n <main className='main'>\r\n <Route path=\"/\" exact={true} component={HomeScreen} />\r\n <Route path=\"/signin\" component={SignInScreen} />\r\n <Route path=\"/signup\" component={SignUpScreen} />\r\n\r\n\r\n </main>\r\n\r\n <footer className='footer'>\r\n All Rights Reserved.\r\n </footer>\r\n \r\n </>\r\n \r\n );\r\n}\r\n\r\nexport default App;\r\n","C:\\Users\\athar\\OneDrive\\Desktop\\shopEt\\src\\screens\\HomeScreen.js",[],"C:\\Users\\athar\\OneDrive\\Desktop\\shopEt\\src\\screens\\SignInScreen.js",[],"C:\\Users\\athar\\OneDrive\\Desktop\\shopEt\\src\\screens\\SignUpScreen.js",[],{"ruleId":"33","replacedBy":"34"},{"ruleId":"35","replacedBy":"36"},{"ruleId":"37","severity":1,"message":"38","line":1,"column":8,"nodeType":"39","messageId":"40","endLine":1,"endColumn":12},{"ruleId":"37","severity":1,"message":"41","line":4,"column":8,"nodeType":"39","messageId":"40","endLine":4,"endColumn":18},{"ruleId":"42","severity":1,"message":"43","line":29,"column":7,"nodeType":"44","endLine":29,"endColumn":36},"no-native-reassign",["45"],"no-negated-in-lhs",["46"],"no-unused-vars","'logo' is defined but never used.","Identifier","unusedVar","'homescreen' is defined but never used.","jsx-a11y/anchor-is-valid","The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md","JSXOpeningElement","no-global-assign","no-unsafe-negation"]