-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintcache
1 lines (1 loc) · 9.71 KB
/
.eslintcache
1
[{"C:\\Users\\Devesh\\Documents\\React_Projects\\music-player-redux\\src\\reportWebVitals.js":"1","C:\\Users\\Devesh\\Documents\\React_Projects\\music-player-redux\\src\\components\\Player.jsx":"2","C:\\Users\\Devesh\\Documents\\React_Projects\\music-player-redux\\src\\components\\Song.jsx":"3","C:\\Users\\Devesh\\Documents\\React_Projects\\music-player-redux\\src\\index.jsx":"4","C:\\Users\\Devesh\\Documents\\React_Projects\\music-player-redux\\src\\App.jsx":"5","C:\\Users\\Devesh\\Documents\\React_Projects\\music-player-redux\\src\\data.jsx":"6","C:\\Users\\Devesh\\Documents\\React_Projects\\music-player-redux\\src\\store\\Player.jsx":"7","C:\\Users\\Devesh\\Documents\\React_Projects\\music-player-redux\\src\\store\\configureStore.jsx":"8","C:\\Users\\Devesh\\Documents\\React_Projects\\music-player-redux\\src\\utils\\formatTime.js":"9","C:\\Users\\Devesh\\Documents\\React_Projects\\music-player-redux\\src\\components\\Library.jsx":"10","C:\\Users\\Devesh\\Documents\\React_Projects\\music-player-redux\\src\\components\\LibrarySong.jsx":"11","C:\\Users\\Devesh\\Documents\\React_Projects\\music-player-redux\\src\\components\\Nav.jsx":"12","C:\\Users\\Devesh\\Documents\\React_Projects\\music-player-redux\\src\\utils\\useIsFirstRender.js":"13","C:\\Users\\Devesh\\Documents\\React_Projects\\music-player-redux\\src\\store\\OldPlayer.js":"14","C:\\Users\\Devesh\\Documents\\React_Projects\\music-player-redux\\src\\store\\Library.jsx":"15"},{"size":362,"mtime":499162500000,"results":"16","hashOfConfig":"17"},{"size":5368,"mtime":1608288892116,"results":"18","hashOfConfig":"17"},{"size":497,"mtime":1608208587948,"results":"19","hashOfConfig":"17"},{"size":793,"mtime":1608112384550,"results":"20","hashOfConfig":"17"},{"size":638,"mtime":1608132818690,"results":"21","hashOfConfig":"17"},{"size":2213,"mtime":1608288116714,"results":"22","hashOfConfig":"17"},{"size":1379,"mtime":1608132791315,"results":"23","hashOfConfig":"17"},{"size":182,"mtime":1608112649341,"results":"24","hashOfConfig":"17"},{"size":270,"mtime":1607687582102,"results":"25","hashOfConfig":"17"},{"size":639,"mtime":1608128771534,"results":"26","hashOfConfig":"17"},{"size":810,"mtime":1608206685953,"results":"27","hashOfConfig":"17"},{"size":809,"mtime":1608113192370,"results":"28","hashOfConfig":"17"},{"size":244,"mtime":1607782295812,"results":"29","hashOfConfig":"17"},{"size":2541,"mtime":1607873432631,"results":"30","hashOfConfig":"17"},{"size":540,"mtime":1608112678443,"results":"31","hashOfConfig":"17"},{"filePath":"32","messages":"33","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"34"},"1uhgzdl",{"filePath":"35","messages":"36","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"37","messages":"38","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"34"},{"filePath":"39","messages":"40","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"34"},{"filePath":"41","messages":"42","errorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":"43","usedDeprecatedRules":"34"},{"filePath":"44","messages":"45","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"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":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"56","usedDeprecatedRules":"34"},{"filePath":"57","messages":"58","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"34"},{"filePath":"59","messages":"60","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"34"},{"filePath":"61","messages":"62","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"63","messages":"64","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"C:\\Users\\Devesh\\Documents\\React_Projects\\music-player-redux\\src\\reportWebVitals.js",[],["65","66"],"C:\\Users\\Devesh\\Documents\\React_Projects\\music-player-redux\\src\\components\\Player.jsx",["67","68","69"],"C:\\Users\\Devesh\\Documents\\React_Projects\\music-player-redux\\src\\components\\Song.jsx",[],"C:\\Users\\Devesh\\Documents\\React_Projects\\music-player-redux\\src\\index.jsx",[],"C:\\Users\\Devesh\\Documents\\React_Projects\\music-player-redux\\src\\App.jsx",["70","71","72","73"],"import Player from \"./components/Player\";\nimport React, { useEffect } from \"react\";\nimport Song from \"./components/Song\";\nimport \"./styles/app.scss\";\nimport Nav from \"./components/Nav\";\nimport Library from \"./components/Library\";\nimport { useSelector, useDispatch } from \"react-redux\";\nimport { playSong } from \"./store/Player\";\n\nfunction App() {\n const dispatch = useDispatch();\n\n const { isLibraryOpen, currentSong } = useSelector((state) => state);\n\n return (\n <div className={`App ${isLibraryOpen ? \"library-active\" : \"\"}`}>\n <Nav />\n <Song />\n <Player />\n <Library />\n </div>\n );\n}\n\nexport default App;\n","C:\\Users\\Devesh\\Documents\\React_Projects\\music-player-redux\\src\\data.jsx",[],"C:\\Users\\Devesh\\Documents\\React_Projects\\music-player-redux\\src\\store\\Player.jsx",[],"C:\\Users\\Devesh\\Documents\\React_Projects\\music-player-redux\\src\\store\\configureStore.jsx",[],"C:\\Users\\Devesh\\Documents\\React_Projects\\music-player-redux\\src\\utils\\formatTime.js",[],"C:\\Users\\Devesh\\Documents\\React_Projects\\music-player-redux\\src\\components\\Library.jsx",[],"C:\\Users\\Devesh\\Documents\\React_Projects\\music-player-redux\\src\\components\\LibrarySong.jsx",["74"],"import React from \"react\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { updateCurrentSong } from \"../store/Player\";\r\n\r\nconst LibrarySong = ({ song, isCurrent }) => {\r\n const dispatch = useDispatch();\r\n const { currentSong } = useSelector((state) => state);\r\n\r\n const songSelectHandler = () => {\r\n // Space where I messed up earlier\r\n dispatch(updateCurrentSong(song));\r\n };\r\n\r\n return (\r\n <div\r\n onClick={songSelectHandler}\r\n className={`library-song ${isCurrent ? \"selected\" : \"\"}`}\r\n // className={`library-song ${\"selected\"}`}\r\n >\r\n <img src={song.cover} alt={song.name} />\r\n\r\n <div className=\"song-description\">\r\n <h3>{song.name}</h3>\r\n <h4>{song.artist}</h4>\r\n </div>\r\n </div>\r\n );\r\n};\r\n\r\nexport default LibrarySong;\r\n","C:\\Users\\Devesh\\Documents\\React_Projects\\music-player-redux\\src\\components\\Nav.jsx",[],"C:\\Users\\Devesh\\Documents\\React_Projects\\music-player-redux\\src\\utils\\useIsFirstRender.js",[],"C:\\Users\\Devesh\\Documents\\React_Projects\\music-player-redux\\src\\store\\OldPlayer.js",[],"C:\\Users\\Devesh\\Documents\\React_Projects\\music-player-redux\\src\\store\\Library.jsx",[],{"ruleId":"75","replacedBy":"76"},{"ruleId":"77","replacedBy":"78"},{"ruleId":"79","severity":1,"message":"80","line":44,"column":6,"nodeType":"81","endLine":44,"endColumn":8,"suggestions":"82"},{"ruleId":"79","severity":1,"message":"83","line":51,"column":6,"nodeType":"81","endLine":51,"endColumn":22,"suggestions":"84"},{"ruleId":"79","severity":1,"message":"85","line":123,"column":6,"nodeType":"81","endLine":123,"endColumn":19,"suggestions":"86"},{"ruleId":"87","severity":1,"message":"88","line":2,"column":17,"nodeType":"89","messageId":"90","endLine":2,"endColumn":26},{"ruleId":"87","severity":1,"message":"91","line":8,"column":10,"nodeType":"89","messageId":"90","endLine":8,"endColumn":18},{"ruleId":"87","severity":1,"message":"92","line":11,"column":9,"nodeType":"89","messageId":"90","endLine":11,"endColumn":17},{"ruleId":"87","severity":1,"message":"93","line":13,"column":26,"nodeType":"89","messageId":"90","endLine":13,"endColumn":37},{"ruleId":"87","severity":1,"message":"93","line":7,"column":11,"nodeType":"89","messageId":"90","endLine":7,"endColumn":22},"no-native-reassign",["94"],"no-negated-in-lhs",["95"],"react-hooks/exhaustive-deps","React Hook useEffect has a missing dependency: 'dispatch'. Either include it or remove the dependency array.","ArrayExpression",["96"],"React Hook useEffect has missing dependencies: 'dispatch' and 'isFirstRender'. Either include them or remove the dependency array.",["97"],"React Hook useEffect has missing dependencies: 'dispatch' and 'isPlaying'. Either include them or remove the dependency array.",["98"],"no-unused-vars","'useEffect' is defined but never used.","Identifier","unusedVar","'playSong' is defined but never used.","'dispatch' is assigned a value but never used.","'currentSong' is assigned a value but never used.","no-global-assign","no-unsafe-negation",{"desc":"99","fix":"100"},{"desc":"101","fix":"102"},{"desc":"103","fix":"104"},"Update the dependencies array to be: [dispatch]",{"range":"105","text":"106"},"Update the dependencies array to be: [currentSong.id, dispatch, isFirstRender]",{"range":"107","text":"108"},"Update the dependencies array to be: [currentSong, dispatch, isPlaying]",{"range":"109","text":"110"},[1162,1164],"[dispatch]",[1297,1313],"[currentSong.id, dispatch, isFirstRender]",[3528,3541],"[currentSong, dispatch, isPlaying]"]