-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintcache
1 lines (1 loc) · 7.07 KB
/
.eslintcache
1
[{"C:\\Users\\samue\\OneDrive\\Bureau\\FrontEnd\\React\\react-july\\src\\index.js":"1","C:\\Users\\samue\\OneDrive\\Bureau\\FrontEnd\\React\\react-july\\src\\App.js":"2","C:\\Users\\samue\\OneDrive\\Bureau\\FrontEnd\\React\\react-july\\src\\components\\Expenses\\Expenses.js":"3","C:\\Users\\samue\\OneDrive\\Bureau\\FrontEnd\\React\\react-july\\src\\components\\Expenses\\ExpenseItem.js":"4","C:\\Users\\samue\\OneDrive\\Bureau\\FrontEnd\\React\\react-july\\src\\components\\UI\\Card.js":"5","C:\\Users\\samue\\OneDrive\\Bureau\\FrontEnd\\React\\react-july\\src\\components\\Expenses\\ExpenseDate.js":"6","C:\\Users\\samue\\OneDrive\\Bureau\\FrontEnd\\React\\react-july\\src\\components\\NewExpenses\\NewExpenses.js":"7","C:\\Users\\samue\\OneDrive\\Bureau\\FrontEnd\\React\\react-july\\src\\components\\NewExpenses\\ExpenseForm.js":"8","C:\\Users\\samue\\OneDrive\\Bureau\\FrontEnd\\React\\react-july\\src\\components\\Expenses\\ExpensesFilter.js":"9","C:\\Users\\samue\\OneDrive\\Bureau\\FrontEnd\\React\\react-july\\src\\components\\Expenses\\ExpensesList.js":"10"},{"size":179,"mtime":1648532578000,"results":"11","hashOfConfig":"12"},{"size":996,"mtime":1658149177683,"results":"13","hashOfConfig":"12"},{"size":776,"mtime":1658149304613,"results":"14","hashOfConfig":"12"},{"size":769,"mtime":1658149829708,"results":"15","hashOfConfig":"12"},{"size":184,"mtime":1658058009549,"results":"16","hashOfConfig":"12"},{"size":580,"mtime":1658056529644,"results":"17","hashOfConfig":"12"},{"size":975,"mtime":1658154867577,"results":"18","hashOfConfig":"12"},{"size":2050,"mtime":1658154876599,"results":"19","hashOfConfig":"12"},{"size":687,"mtime":1658072079176,"results":"20","hashOfConfig":"12"},{"size":569,"mtime":1658149775698,"results":"21","hashOfConfig":"12"},{"filePath":"22","messages":"23","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"24"},"d0s7us",{"filePath":"25","messages":"26","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"24"},{"filePath":"27","messages":"28","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"29","usedDeprecatedRules":"24"},{"filePath":"30","messages":"31","errorCount":0,"fatalErrorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":"32","usedDeprecatedRules":"24"},{"filePath":"33","messages":"34","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"24"},{"filePath":"35","messages":"36","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"24"},{"filePath":"37","messages":"38","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"39","messages":"40","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"41","messages":"42","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"24"},{"filePath":"43","messages":"44","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"24"},"C:\\Users\\samue\\OneDrive\\Bureau\\FrontEnd\\React\\react-july\\src\\index.js",[],["45","46"],"C:\\Users\\samue\\OneDrive\\Bureau\\FrontEnd\\React\\react-july\\src\\App.js",[],"C:\\Users\\samue\\OneDrive\\Bureau\\FrontEnd\\React\\react-july\\src\\components\\Expenses\\Expenses.js",["47"],"import React, { useState } from \"react\";\r\n\r\nimport ExpensesList from \"./ExpensesList\";\r\nimport ExpensesFilter from \"./ExpensesFilter\";\r\nimport Card from \"../UI/Card\";\r\nimport \"./Expenses.css\";\r\n\r\nconst Expenses = (props) => {\r\n const [filteredYear, setFilteredYear] = useState(\"2022\");\r\n\r\n const setFilterHandler = (dateFiltered) => {\r\n setFilteredYear(dateFiltered);\r\n };\r\n const filteredExpenses = props.items.filter((expense) => {\r\n return expense.date.getFullYear().toString() == filteredYear;\r\n });\r\n\r\n return (\r\n <Card className=\"expenses\">\r\n <ExpensesFilter\r\n currentSelected={filteredYear}\r\n onSetFilter={setFilterHandler}\r\n />\r\n <ExpensesList items={filteredExpenses} />\r\n </Card>\r\n );\r\n};\r\n\r\nexport default Expenses;\r\n","C:\\Users\\samue\\OneDrive\\Bureau\\FrontEnd\\React\\react-july\\src\\components\\Expenses\\ExpenseItem.js",["48","49","50","51"],"import React, { useState } from \"react\";\r\nimport ExpenseDate from \"./ExpenseDate\";\r\nimport Card from \"../UI/Card\";\r\nimport \"./ExpenseItem.css\";\r\n\r\nconst ExpenseItem = (props) => {\r\n const [date, setDate] = useState(props.date);\r\n const [title, setTitle] = useState(props.title);\r\n const [amount, setAmount] = useState(props.amount);\r\n\r\n const clickHandler = () => {};\r\n return (\r\n <li>\r\n <Card className=\"expense-item\">\r\n <ExpenseDate date={date} />\r\n <div className=\"expense-item__description\">\r\n <h2>{title}</h2>\r\n </div>\r\n <div className=\"expense-item__price\">{amount}€</div>\r\n {/* <button onClick={clickHandler}>Change Title</button> */}\r\n </Card>\r\n </li>\r\n );\r\n};\r\n\r\nexport default ExpenseItem;\r\n","C:\\Users\\samue\\OneDrive\\Bureau\\FrontEnd\\React\\react-july\\src\\components\\UI\\Card.js",[],"C:\\Users\\samue\\OneDrive\\Bureau\\FrontEnd\\React\\react-july\\src\\components\\Expenses\\ExpenseDate.js",[],"C:\\Users\\samue\\OneDrive\\Bureau\\FrontEnd\\React\\react-july\\src\\components\\NewExpenses\\NewExpenses.js",[],"C:\\Users\\samue\\OneDrive\\Bureau\\FrontEnd\\React\\react-july\\src\\components\\NewExpenses\\ExpenseForm.js",[],"C:\\Users\\samue\\OneDrive\\Bureau\\FrontEnd\\React\\react-july\\src\\components\\Expenses\\ExpensesFilter.js",[],"C:\\Users\\samue\\OneDrive\\Bureau\\FrontEnd\\React\\react-july\\src\\components\\Expenses\\ExpensesList.js",[],{"ruleId":"52","replacedBy":"53"},{"ruleId":"54","replacedBy":"55"},{"ruleId":"56","severity":1,"message":"57","line":15,"column":50,"nodeType":"58","messageId":"59","endLine":15,"endColumn":52},{"ruleId":"60","severity":1,"message":"61","line":7,"column":16,"nodeType":"62","messageId":"63","endLine":7,"endColumn":23},{"ruleId":"60","severity":1,"message":"64","line":8,"column":17,"nodeType":"62","messageId":"63","endLine":8,"endColumn":25},{"ruleId":"60","severity":1,"message":"65","line":9,"column":18,"nodeType":"62","messageId":"63","endLine":9,"endColumn":27},{"ruleId":"60","severity":1,"message":"66","line":11,"column":9,"nodeType":"62","messageId":"63","endLine":11,"endColumn":21},"no-native-reassign",["67"],"no-negated-in-lhs",["68"],"eqeqeq","Expected '===' and instead saw '=='.","BinaryExpression","unexpected","no-unused-vars","'setDate' is assigned a value but never used.","Identifier","unusedVar","'setTitle' is assigned a value but never used.","'setAmount' is assigned a value but never used.","'clickHandler' is assigned a value but never used.","no-global-assign","no-unsafe-negation"]