-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintcache
1 lines (1 loc) · 10.2 KB
/
.eslintcache
1
[{"/Users/sunny.goel/react_app/react-maps-pwa/src/reportWebVitals.js":"1","/Users/sunny.goel/react_app/react-maps-pwa/src/App.tsx":"2","/Users/sunny.goel/react_app/react-maps-pwa/src/index.tsx":"3","/Users/sunny.goel/react_app/react-maps-pwa/src/container/about/about.tsx":"4","/Users/sunny.goel/react_app/react-maps-pwa/src/container/dashboard/dashboard.tsx":"5","/Users/sunny.goel/react_app/react-maps-pwa/src/store/reducer/app.reducer.ts":"6","/Users/sunny.goel/react_app/react-maps-pwa/src/container/add-grocessary/add-grocessary.tsx":"7","/Users/sunny.goel/react_app/react-maps-pwa/src/components/add-item/add-item.tsx":"8","/Users/sunny.goel/react_app/react-maps-pwa/src/model/item.interface.ts":"9","/Users/sunny.goel/react_app/react-maps-pwa/src/store/action/app.actionTypes.ts":"10","/Users/sunny.goel/react_app/react-maps-pwa/src/store/action/app.action.ts":"11","/Users/sunny.goel/react_app/react-maps-pwa/src/store/selector/app.selector.ts":"12","/Users/sunny.goel/react_app/react-maps-pwa/src/components/list-item/list-item.tsx":"13","/Users/sunny.goel/react_app/react-maps-pwa/src/container/weather-forcasting/WeatherForcasting.tsx":"14"},{"size":362,"mtime":1612175696960,"results":"15","hashOfConfig":"16"},{"size":1353,"mtime":1613413476887,"results":"17","hashOfConfig":"16"},{"size":956,"mtime":1613452352523,"results":"18","hashOfConfig":"16"},{"size":493,"mtime":1615461265715,"results":"19","hashOfConfig":"16"},{"size":754,"mtime":1613467336236,"results":"20","hashOfConfig":"16"},{"size":609,"mtime":1613467074632,"results":"21","hashOfConfig":"16"},{"size":930,"mtime":1613459059923,"results":"22","hashOfConfig":"16"},{"size":1855,"mtime":1613467514530,"results":"23","hashOfConfig":"16"},{"size":272,"mtime":1613412624012,"results":"24","hashOfConfig":"16"},{"size":36,"mtime":1613409081772,"results":"25","hashOfConfig":"16"},{"size":175,"mtime":1613467514533,"results":"26","hashOfConfig":"16"},{"size":379,"mtime":1613467514534,"results":"27","hashOfConfig":"16"},{"size":687,"mtime":1613467514531,"results":"28","hashOfConfig":"16"},{"size":1881,"mtime":1614201729957,"results":"29","hashOfConfig":"16"},{"filePath":"30","messages":"31","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"32"},"j2c5az",{"filePath":"33","messages":"34","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"35","messages":"36","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"37"},{"filePath":"38","messages":"39","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"40"},{"filePath":"41","messages":"42","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"43"},{"filePath":"44","messages":"45","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"46","messages":"47","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"48","messages":"49","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"50"},{"filePath":"51","messages":"52","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"53","messages":"54","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"55","messages":"56","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"57","messages":"58","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"59"},{"filePath":"60","messages":"61","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"62","messages":"63","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},"/Users/sunny.goel/react_app/react-maps-pwa/src/reportWebVitals.js",[],["64","65"],"/Users/sunny.goel/react_app/react-maps-pwa/src/App.tsx",["66"],"/Users/sunny.goel/react_app/react-maps-pwa/src/index.tsx",[],["67","68"],"/Users/sunny.goel/react_app/react-maps-pwa/src/container/about/about.tsx",["69","70"],"import React from \"react\";\nimport \"./about.scss\";\nimport { Link } from \"react-router-dom\";\n\nexport default class About extends React.Component {\n constructor(props: {}) {\n super(props);\n }\n\n render() {\n return (\n <section className=\"about_container\">\n <div className=\"about__header\">About Grocessaries</div>\n <div className=\"about__content\">\n This is the Progressive Web App Generally for Mobile Platforms{\" \"}\n </div>\n </section>\n );\n }\n}\n","/Users/sunny.goel/react_app/react-maps-pwa/src/container/dashboard/dashboard.tsx",["71","72"],"import { useEffect } from \"react\";\nimport { connect } from \"react-redux\";\nimport \"./dashboard.scss\";\nimport { itemsSelector } from \"../../store/selector/app.selector\";\nimport { IItem } from \"../../model/item.interface\";\nimport { ListItem } from \"../../components/list-item/list-item\";\n\nfunction Dashboard(props: any) {\n return (\n <section className=\"dashboard_container\">\n <div className=\"dashboard__header\">Grocessaries Lists </div>\n <div className=\"dashboard__content\">\n {props.items.length ? (\n <ListItem items={props.items} />\n ) : (\n <div className=\"dashboard__content__no-item\"> NO ITEM LIST </div>\n )}\n </div>\n </section>\n );\n}\n\nexport default connect(itemsSelector, null)(Dashboard);\n","/Users/sunny.goel/react_app/react-maps-pwa/src/store/reducer/app.reducer.ts",[],"/Users/sunny.goel/react_app/react-maps-pwa/src/container/add-grocessary/add-grocessary.tsx",[],"/Users/sunny.goel/react_app/react-maps-pwa/src/components/add-item/add-item.tsx",["73"],"import React, { useState } from \"react\";\nimport { IItem, ItemType } from \"../../model/item.interface\";\nimport \"./add-item.scss\";\n\nconst ITEM_TYPES = [\n ItemType.BEVERAGES,\n ItemType.BREAD_BAKERY,\n ItemType.DIARY,\n ItemType.FRUITS,\n ItemType.PERSONAL_CARE,\n ItemType.VEGETABLE\n];\n\nexport default function AddItem(props: any) {\n const [item, setItem] = useState({ ...props.item });\n\n const itemTypeHandle = function(event: any) {\n setItem({ ...item, itemType: event.target.value });\n event.preventDefault();\n };\n\n const itemNameHandle = function(event: any) {\n setItem({ ...item, name: event.target.value });\n };\n\n const itemQuantityHandle = (event: any) => {\n setItem({ ...item, quantity: event.target.value });\n };\n\n const addItemHandle = (event: any) => {\n props.addItems(item);\n event.preventDefault();\n };\n\n return (\n <div>\n <form className=\"form\">\n <div className=\"form__item_type\">\n <label> Choose Item Type : </label>\n <select onChange={itemTypeHandle}>\n {ITEM_TYPES.map((itemType, index) => {\n return (\n <option value={`${itemType}`} key={index}>\n {itemType}\n </option>\n );\n })}\n </select>\n </div>\n\n <div className=\"form__item_name\">\n <label> Item Name : </label>\n <input onChange={itemNameHandle} value={item.name} />\n </div>\n\n <div className=\"form__item_quantity\">\n <label> Quantity : </label>\n <input onChange={itemQuantityHandle} value={item.quantity} />\n </div>\n\n <div className=\"form__submit\">\n <button type=\"button\" onClick={addItemHandle}>\n Add Item{\" \"}\n </button>\n <button type=\"button\">Cancel </button>\n </div>\n </form>\n </div>\n );\n}\n","/Users/sunny.goel/react_app/react-maps-pwa/src/model/item.interface.ts",[],"/Users/sunny.goel/react_app/react-maps-pwa/src/store/action/app.actionTypes.ts",[],"/Users/sunny.goel/react_app/react-maps-pwa/src/store/action/app.action.ts",[],"/Users/sunny.goel/react_app/react-maps-pwa/src/store/selector/app.selector.ts",["74"],"import { IItem } from \"../../model/item.interface\";\nimport { IState } from \"../reducer/app.reducer\";\n\nconst getGrocessaryState = (state: {\n grocessaryItems: { items: Array<IItem> };\n}) => {\n return state.grocessaryItems;\n};\n\nexport const itemsSelector = (appState: any) => {\n const grocessaryState = getGrocessaryState(appState);\n return { items: grocessaryState.items };\n};\n","/Users/sunny.goel/react_app/react-maps-pwa/src/components/list-item/list-item.tsx",[],"/Users/sunny.goel/react_app/react-maps-pwa/src/container/weather-forcasting/WeatherForcasting.tsx",["75"],{"ruleId":"76","replacedBy":"77"},{"ruleId":"78","replacedBy":"79"},{"ruleId":"80","severity":1,"message":"81","line":6,"column":7,"nodeType":"82","messageId":"83","endLine":6,"endColumn":12},{"ruleId":"76","replacedBy":"84"},{"ruleId":"78","replacedBy":"85"},{"ruleId":"86","severity":1,"message":"87","line":3,"column":10,"nodeType":"82","messageId":"88","endLine":3,"endColumn":14},{"ruleId":"89","severity":1,"message":"90","line":6,"column":3,"nodeType":"91","messageId":"92","endLine":8,"endColumn":4},{"ruleId":"86","severity":1,"message":"93","line":1,"column":10,"nodeType":"82","messageId":"88","endLine":1,"endColumn":19},{"ruleId":"86","severity":1,"message":"94","line":5,"column":10,"nodeType":"82","messageId":"88","endLine":5,"endColumn":15},{"ruleId":"86","severity":1,"message":"94","line":2,"column":10,"nodeType":"82","messageId":"88","endLine":2,"endColumn":15},{"ruleId":"86","severity":1,"message":"95","line":2,"column":10,"nodeType":"82","messageId":"88","endLine":2,"endColumn":16},{"ruleId":"86","severity":1,"message":"96","line":28,"column":18,"nodeType":"82","messageId":"88","endLine":28,"endColumn":27},"no-native-reassign",["97"],"no-negated-in-lhs",["98"],"@typescript-eslint/no-redeclare","'About' is already defined.","Identifier","redeclared",["97"],["98"],"@typescript-eslint/no-unused-vars","'Link' is defined but never used.","unusedVar","@typescript-eslint/no-useless-constructor","Useless constructor.","MethodDefinition","noUselessConstructor","'useEffect' is defined but never used.","'IItem' is defined but never used.","'IState' is defined but never used.","'setApiKey' is assigned a value but never used.","no-global-assign","no-unsafe-negation"]