-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintcache
1 lines (1 loc) · 12.3 KB
/
.eslintcache
1
[{"/Users/christianj/Documents/3-point-estimator/src/index.tsx":"1","/Users/christianj/Documents/3-point-estimator/src/serviceWorker.ts":"2","/Users/christianj/Documents/3-point-estimator/src/muiTheme.tsx":"3","/Users/christianj/Documents/3-point-estimator/src/MainPage.tsx":"4","/Users/christianj/Documents/3-point-estimator/src/hooks/useTasksEstimations.ts":"5","/Users/christianj/Documents/3-point-estimator/src/infoDialog/InfoDialog.tsx":"6","/Users/christianj/Documents/3-point-estimator/src/tasksTable/TasksTable.tsx":"7","/Users/christianj/Documents/3-point-estimator/src/infoDialog/HelpText.tsx":"8","/Users/christianj/Documents/3-point-estimator/src/tasksTable/components/ResultsBar.tsx":"9","/Users/christianj/Documents/3-point-estimator/src/header/BannerLogo.tsx":"10","/Users/christianj/Documents/3-point-estimator/src/footer/Footer.tsx":"11","/Users/christianj/Documents/3-point-estimator/src/utils/getTimeEstimation.ts":"12","/Users/christianj/Documents/3-point-estimator/src/tasksTable/components/TimeInput.tsx":"13","/Users/christianj/Documents/3-point-estimator/src/tasksTable/components/TasksRowMobile.tsx":"14","/Users/christianj/Documents/3-point-estimator/src/tasksTable/components/TasksRowDesktop.tsx":"15"},{"size":716,"mtime":1612728846118,"results":"16","hashOfConfig":"17"},{"size":4806,"mtime":1612728846119,"results":"18","hashOfConfig":"17"},{"size":3334,"mtime":1612728846118,"results":"19","hashOfConfig":"17"},{"size":2071,"mtime":1612728846115,"results":"20","hashOfConfig":"17"},{"size":1872,"mtime":1655803516564,"results":"21","hashOfConfig":"17"},{"size":1607,"mtime":1612728846118,"results":"22","hashOfConfig":"17"},{"size":3210,"mtime":1612728846119,"results":"23","hashOfConfig":"17"},{"size":1041,"mtime":1612728846118,"results":"24","hashOfConfig":"17"},{"size":2202,"mtime":1612728846119,"results":"25","hashOfConfig":"17"},{"size":1075,"mtime":1612728846118,"results":"26","hashOfConfig":"17"},{"size":1428,"mtime":1612728846117,"results":"27","hashOfConfig":"17"},{"size":796,"mtime":1612728846120,"results":"28","hashOfConfig":"17"},{"size":1192,"mtime":1612728846120,"results":"29","hashOfConfig":"17"},{"size":1905,"mtime":1612728846119,"results":"30","hashOfConfig":"17"},{"size":1973,"mtime":1612728846119,"results":"31","hashOfConfig":"17"},{"filePath":"32","messages":"33","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"34"},"1id6jbx",{"filePath":"35","messages":"36","errorCount":0,"warningCount":8,"fixableErrorCount":0,"fixableWarningCount":0,"source":"37","usedDeprecatedRules":"34"},{"filePath":"38","messages":"39","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"34"},{"filePath":"40","messages":"41","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"34"},{"filePath":"42","messages":"43","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"34"},{"filePath":"44","messages":"45","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"34"},{"filePath":"46","messages":"47","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"34"},{"filePath":"48","messages":"49","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"34"},{"filePath":"50","messages":"51","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"34"},{"filePath":"52","messages":"53","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"34"},{"filePath":"54","messages":"55","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"34"},{"filePath":"56","messages":"57","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"34"},{"filePath":"58","messages":"59","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"60","messages":"61","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"34"},{"filePath":"62","messages":"63","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"34"},"/Users/christianj/Documents/3-point-estimator/src/index.tsx",[],["64","65","66","67","68","69"],"/Users/christianj/Documents/3-point-estimator/src/serviceWorker.ts",["70","71","72","73","74","75","76","77"],"// This optional code is used to register a service worker.\n// register() is not called by default.\n\n// This lets the app load faster on subsequent visits in production, and gives\n// it offline capabilities. However, it also means that developers (and users)\n// will only see deployed updates on subsequent visits to a page, after all the\n// existing tabs open on the page have been closed, since previously cached\n// resources are updated in the background.\n\n// To learn more about the benefits of this model and instructions on how to\n// opt-in, read https://bit.ly/CRA-PWA\n\nconst isLocalhost = Boolean(\n\twindow.location.hostname === 'localhost' ||\n\t\t// [::1] is the IPv6 localhost address.\n\t\twindow.location.hostname === '[::1]' ||\n\t\t// 127.0.0.0/8 are considered localhost for IPv4.\n\t\twindow.location.hostname.match(/^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/)\n);\n\ntype Config = {\n\tonSuccess?: (registration: ServiceWorkerRegistration) => void;\n\tonUpdate?: (registration: ServiceWorkerRegistration) => void;\n};\n\nexport function register(config?: Config) {\n\tif (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\n\t\t// The URL constructor is available in all browsers that support SW.\n\t\tconst publicUrl = new URL(process.env.PUBLIC_URL, window.location.href);\n\t\tif (publicUrl.origin !== window.location.origin) {\n\t\t\t// Our service worker won't work if PUBLIC_URL is on a different origin\n\t\t\t// from what our page is served on. This might happen if a CDN is used to\n\t\t\t// serve assets; see https://github.com/facebook/create-react-app/issues/2374\n\t\t\treturn;\n\t\t}\n\n\t\twindow.addEventListener('load', () => {\n\t\t\tconst swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;\n\n\t\t\tif (isLocalhost) {\n\t\t\t\t// This is running on localhost. Let's check if a service worker still exists or not.\n\t\t\t\tcheckValidServiceWorker(swUrl, config);\n\n\t\t\t\t// Add some additional logging to localhost, pointing developers to the\n\t\t\t\t// service worker/PWA documentation.\n\t\t\t\tnavigator.serviceWorker.ready.then(() => {\n\t\t\t\t\tconsole.log(\n\t\t\t\t\t\t`This web app is being served cache-first by a service worker. To learn more, visit https://bit.ly/CRA-PWA`\n\t\t\t\t\t);\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\t// Is not localhost. Just register service worker\n\t\t\t\tregisterValidSW(swUrl, config);\n\t\t\t}\n\t\t});\n\t}\n}\n\nfunction registerValidSW(swUrl: string, config?: Config) {\n\tnavigator.serviceWorker\n\t\t.register(swUrl)\n\t\t.then(registration => {\n\t\t\tregistration.onupdatefound = () => {\n\t\t\t\tconst installingWorker = registration.installing;\n\t\t\t\tif (installingWorker == null) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tinstallingWorker.onstatechange = () => {\n\t\t\t\t\tif (installingWorker.state === 'installed') {\n\t\t\t\t\t\tif (navigator.serviceWorker.controller) {\n\t\t\t\t\t\t\t// At this point, the updated precached content has been fetched,\n\t\t\t\t\t\t\t// but the previous service worker will still serve the older\n\t\t\t\t\t\t\t// content until all client tabs are closed.\n\t\t\t\t\t\t\tconsole.log(\n\t\t\t\t\t\t\t\t'New content is available and will be used when all ' +\n\t\t\t\t\t\t\t\t\t'tabs for this page are closed. See https://bit.ly/CRA-PWA.'\n\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t// Execute callback\n\t\t\t\t\t\t\tif (config && config.onUpdate) {\n\t\t\t\t\t\t\t\tconfig.onUpdate(registration);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// At this point, everything has been precached.\n\t\t\t\t\t\t\t// It's the perfect time to display a\n\t\t\t\t\t\t\t// \"Content is cached for offline use.\" message.\n\t\t\t\t\t\t\tconsole.log('Content is cached for offline use.');\n\n\t\t\t\t\t\t\t// Execute callback\n\t\t\t\t\t\t\tif (config && config.onSuccess) {\n\t\t\t\t\t\t\t\tconfig.onSuccess(registration);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t};\n\t\t})\n\t\t.catch(error => {\n\t\t\tconsole.error('Error during service worker registration:', error);\n\t\t});\n}\n\nfunction checkValidServiceWorker(swUrl: string, config?: Config) {\n\t// Check if the service worker can be found. If it can't reload the page.\n\tfetch(swUrl, {\n\t\theaders: {'Service-Worker': 'script'},\n\t})\n\t\t.then(response => {\n\t\t\t// Ensure service worker exists, and that we really are getting a JS file.\n\t\t\tconst contentType = response.headers.get('content-type');\n\t\t\tif (response.status === 404 || (contentType != null && contentType.indexOf('javascript') === -1)) {\n\t\t\t\t// No service worker found. Probably a different app. Reload the page.\n\t\t\t\tnavigator.serviceWorker.ready.then(registration => {\n\t\t\t\t\tregistration.unregister().then(() => {\n\t\t\t\t\t\twindow.location.reload();\n\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\t// Service worker found. Proceed as normal.\n\t\t\t\tregisterValidSW(swUrl, config);\n\t\t\t}\n\t\t})\n\t\t.catch(() => {\n\t\t\tconsole.log('No internet connection found. App is running in offline mode.');\n\t\t});\n}\n\nexport function unregister() {\n\tif ('serviceWorker' in navigator) {\n\t\tnavigator.serviceWorker.ready\n\t\t\t.then(registration => {\n\t\t\t\tregistration.unregister();\n\t\t\t})\n\t\t\t.catch(error => {\n\t\t\t\tconsole.error(error.message);\n\t\t\t});\n\t}\n}\n","/Users/christianj/Documents/3-point-estimator/src/muiTheme.tsx",[],"/Users/christianj/Documents/3-point-estimator/src/MainPage.tsx",[],"/Users/christianj/Documents/3-point-estimator/src/hooks/useTasksEstimations.ts",[],"/Users/christianj/Documents/3-point-estimator/src/infoDialog/InfoDialog.tsx",[],"/Users/christianj/Documents/3-point-estimator/src/tasksTable/TasksTable.tsx",[],"/Users/christianj/Documents/3-point-estimator/src/infoDialog/HelpText.tsx",[],"/Users/christianj/Documents/3-point-estimator/src/tasksTable/components/ResultsBar.tsx",[],"/Users/christianj/Documents/3-point-estimator/src/header/BannerLogo.tsx",[],"/Users/christianj/Documents/3-point-estimator/src/footer/Footer.tsx",[],"/Users/christianj/Documents/3-point-estimator/src/utils/getTimeEstimation.ts",[],"/Users/christianj/Documents/3-point-estimator/src/tasksTable/components/TimeInput.tsx",[],"/Users/christianj/Documents/3-point-estimator/src/tasksTable/components/TasksRowMobile.tsx",[],"/Users/christianj/Documents/3-point-estimator/src/tasksTable/components/TasksRowDesktop.tsx",[],{"ruleId":"78","replacedBy":"79"},{"ruleId":"80","replacedBy":"81"},{"ruleId":"82","replacedBy":"83"},{"ruleId":"84","replacedBy":"85"},{"ruleId":"86","replacedBy":"87"},{"ruleId":"88","replacedBy":"89"},{"ruleId":"90","severity":1,"message":"91","line":26,"column":8,"nodeType":"92","messageId":"93","endLine":26,"endColumn":42},{"ruleId":"94","severity":1,"message":"95","line":47,"column":6,"nodeType":"96","messageId":"97","endLine":47,"endColumn":17},{"ruleId":"94","severity":1,"message":"95","line":74,"column":8,"nodeType":"96","messageId":"97","endLine":74,"endColumn":19},{"ruleId":"94","severity":1,"message":"95","line":87,"column":8,"nodeType":"96","messageId":"97","endLine":87,"endColumn":19},{"ruleId":"94","severity":1,"message":"95","line":99,"column":4,"nodeType":"96","messageId":"97","endLine":99,"endColumn":17},{"ruleId":"94","severity":1,"message":"95","line":124,"column":4,"nodeType":"96","messageId":"97","endLine":124,"endColumn":15},{"ruleId":"90","severity":1,"message":"91","line":128,"column":8,"nodeType":"92","messageId":"93","endLine":128,"endColumn":29},{"ruleId":"94","severity":1,"message":"95","line":135,"column":5,"nodeType":"96","messageId":"97","endLine":135,"endColumn":18},"jsx-a11y/accessible-emoji",[],"lines-around-directive",["98"],"global-require",[],"no-buffer-constructor",[],"no-new-require",[],"no-path-concat",[],"@typescript-eslint/explicit-module-boundary-types","Missing return type on function.","FunctionDeclaration","missingReturnType","no-console","Unexpected console statement.","MemberExpression","unexpected","padding-line-between-statements"]