-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintcache
1 lines (1 loc) · 18.1 KB
/
.eslintcache
1
[{"/home/joseph/Documents/projects/stack-em-blocks/src/index.js":"1","/home/joseph/Documents/projects/stack-em-blocks/src/reportWebVitals.js":"2","/home/joseph/Documents/projects/stack-em-blocks/src/App.js":"3","/home/joseph/Documents/projects/stack-em-blocks/src/store/index.js":"4","/home/joseph/Documents/projects/stack-em-blocks/src/sound/SoundManagerComponent.js":"5","/home/joseph/Documents/projects/stack-em-blocks/src/screens/MainMenu.js":"6","/home/joseph/Documents/projects/stack-em-blocks/src/screens/MainGame.js":"7","/home/joseph/Documents/projects/stack-em-blocks/src/store/sagas/controls.js":"8","/home/joseph/Documents/projects/stack-em-blocks/src/store/sagas/sound.js":"9","/home/joseph/Documents/projects/stack-em-blocks/src/store/reducers/game.js":"10","/home/joseph/Documents/projects/stack-em-blocks/src/screens/components/popup/PopupMainMenu.js":"11","/home/joseph/Documents/projects/stack-em-blocks/src/store/actions/sound.js":"12","/home/joseph/Documents/projects/stack-em-blocks/src/store/utils/gameGrid.js":"13","/home/joseph/Documents/projects/stack-em-blocks/src/screens/components/GameGridDisplay.js":"14","/home/joseph/Documents/projects/stack-em-blocks/src/store/utils/misc.js":"15","/home/joseph/Documents/projects/stack-em-blocks/src/store/actions/gameStatus.js":"16","/home/joseph/Documents/projects/stack-em-blocks/src/screens/components/InputControls.js":"17","/home/joseph/Documents/projects/stack-em-blocks/src/screens/components/PauseButton.js":"18","/home/joseph/Documents/projects/stack-em-blocks/src/screens/components/GameStatsDisplay.js":"19","/home/joseph/Documents/projects/stack-em-blocks/src/screens/components/popup/PopupPaused.js":"20","/home/joseph/Documents/projects/stack-em-blocks/src/screens/components/popup/PopupGameOver.js":"21","/home/joseph/Documents/projects/stack-em-blocks/src/screens/components/InputTouchScreenControls.js":"22","/home/joseph/Documents/projects/stack-em-blocks/src/store/sagas/index.js":"23","/home/joseph/Documents/projects/stack-em-blocks/src/store/actions/block.js":"24","/home/joseph/Documents/projects/stack-em-blocks/src/store/actions/input.js":"25","/home/joseph/Documents/projects/stack-em-blocks/src/sound/soundNames.js":"26","/home/joseph/Documents/projects/stack-em-blocks/src/store/utils/moveValidations.js":"27","/home/joseph/Documents/projects/stack-em-blocks/src/sound/soundManager.js":"28","/home/joseph/Documents/projects/stack-em-blocks/src/store/actions/gameStats.js":"29","/home/joseph/Documents/projects/stack-em-blocks/src/store/actions/gameGrid.js":"30","/home/joseph/Documents/projects/stack-em-blocks/src/store/reducers/helpers/GameBlockHelper.js":"31","/home/joseph/Documents/projects/stack-em-blocks/src/store/reducers/helpers/GameGridHelper.js":"32","/home/joseph/Documents/projects/stack-em-blocks/src/store/reducers/helpers/GameStatusHelper.js":"33","/home/joseph/Documents/projects/stack-em-blocks/src/screens/components/util.js":"34","/home/joseph/Documents/projects/stack-em-blocks/src/store/utils/blockDisplayConstants.js":"35","/home/joseph/Documents/projects/stack-em-blocks/src/screens/components/BlockDisplay.js":"36","/home/joseph/Documents/projects/stack-em-blocks/src/store/utils/blockConstants.js":"37","/home/joseph/Documents/projects/stack-em-blocks/src/sound/SoundLoader.js":"38","/home/joseph/Documents/projects/stack-em-blocks/src/store/utils/blockActions.js":"39"},{"size":624,"mtime":1621567635080,"results":"40","hashOfConfig":"41"},{"size":362,"mtime":1613257610958,"results":"42","hashOfConfig":"41"},{"size":877,"mtime":1623258811175,"results":"43","hashOfConfig":"41"},{"size":810,"mtime":1621567637832,"results":"44","hashOfConfig":"41"},{"size":518,"mtime":1621567637592,"results":"45","hashOfConfig":"41"},{"size":1955,"mtime":1621567637832,"results":"46","hashOfConfig":"41"},{"size":5001,"mtime":1621748920149,"results":"47","hashOfConfig":"41"},{"size":2893,"mtime":1620360420879,"results":"48","hashOfConfig":"41"},{"size":629,"mtime":1620360459429,"results":"49","hashOfConfig":"41"},{"size":2815,"mtime":1621750166344,"results":"50","hashOfConfig":"41"},{"size":950,"mtime":1621743151789,"results":"51","hashOfConfig":"41"},{"size":2391,"mtime":1613257610962,"results":"52","hashOfConfig":"41"},{"size":2372,"mtime":1620356028752,"results":"53","hashOfConfig":"41"},{"size":1197,"mtime":1621567637592,"results":"54","hashOfConfig":"41"},{"size":1078,"mtime":1613257610962,"results":"55","hashOfConfig":"41"},{"size":1444,"mtime":1621748341176,"results":"56","hashOfConfig":"41"},{"size":1408,"mtime":1620356386246,"results":"57","hashOfConfig":"41"},{"size":558,"mtime":1621707356545,"results":"58","hashOfConfig":"41"},{"size":3306,"mtime":1621748948077,"results":"59","hashOfConfig":"41"},{"size":1132,"mtime":1621567637592,"results":"60","hashOfConfig":"41"},{"size":1028,"mtime":1621567637592,"results":"61","hashOfConfig":"41"},{"size":3194,"mtime":1621318804816,"results":"62","hashOfConfig":"41"},{"size":3389,"mtime":1621749790361,"results":"63","hashOfConfig":"41"},{"size":1091,"mtime":1613257610962,"results":"64","hashOfConfig":"41"},{"size":1028,"mtime":1613257610962,"results":"65","hashOfConfig":"41"},{"size":863,"mtime":1613257610962,"results":"66","hashOfConfig":"41"},{"size":4212,"mtime":1620355867151,"results":"67","hashOfConfig":"41"},{"size":2773,"mtime":1620360916090,"results":"68","hashOfConfig":"41"},{"size":246,"mtime":1620660263837,"results":"69","hashOfConfig":"41"},{"size":634,"mtime":1613257610962,"results":"70","hashOfConfig":"41"},{"size":1841,"mtime":1613257610962,"results":"71","hashOfConfig":"41"},{"size":902,"mtime":1620360726644,"results":"72","hashOfConfig":"41"},{"size":1490,"mtime":1621748565582,"results":"73","hashOfConfig":"41"},{"size":186,"mtime":1613257610958,"results":"74","hashOfConfig":"41"},{"size":550,"mtime":1620624718226,"results":"75","hashOfConfig":"41"},{"size":1178,"mtime":1621749967782,"results":"76","hashOfConfig":"41"},{"size":953,"mtime":1621749582176,"results":"77","hashOfConfig":"41"},{"size":3034,"mtime":1620360930718,"results":"78","hashOfConfig":"41"},{"size":1454,"mtime":1613257610962,"results":"79","hashOfConfig":"41"},{"filePath":"80","messages":"81","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"82"},"msub1j",{"filePath":"83","messages":"84","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"82"},{"filePath":"85","messages":"86","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"87","messages":"88","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"82"},{"filePath":"89","messages":"90","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"82"},{"filePath":"91","messages":"92","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"82"},{"filePath":"93","messages":"94","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"82"},{"filePath":"95","messages":"96","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"82"},{"filePath":"97","messages":"98","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"82"},{"filePath":"99","messages":"100","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"101","usedDeprecatedRules":"82"},{"filePath":"102","messages":"103","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"82"},{"filePath":"104","messages":"105","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"82"},{"filePath":"106","messages":"107","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"82"},{"filePath":"108","messages":"109","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"82"},{"filePath":"110","messages":"111","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"82"},{"filePath":"112","messages":"113","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"82"},{"filePath":"114","messages":"115","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"82"},{"filePath":"116","messages":"117","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"82"},{"filePath":"118","messages":"119","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"82"},{"filePath":"120","messages":"121","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"82"},{"filePath":"122","messages":"123","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"82"},{"filePath":"124","messages":"125","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"82"},{"filePath":"126","messages":"127","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"82"},{"filePath":"128","messages":"129","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"82"},{"filePath":"130","messages":"131","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"82"},{"filePath":"132","messages":"133","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"82"},{"filePath":"134","messages":"135","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"82"},{"filePath":"136","messages":"137","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"82"},{"filePath":"138","messages":"139","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"82"},{"filePath":"140","messages":"141","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"82"},{"filePath":"142","messages":"143","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"82"},{"filePath":"144","messages":"145","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"82"},{"filePath":"146","messages":"147","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"82"},{"filePath":"148","messages":"149","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"82"},{"filePath":"150","messages":"151","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"82"},{"filePath":"152","messages":"153","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"82"},{"filePath":"154","messages":"155","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"82"},{"filePath":"156","messages":"157","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"158"},{"filePath":"159","messages":"160","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"82"},"/home/joseph/Documents/projects/stack-em-blocks/src/index.js",[],["161","162"],"/home/joseph/Documents/projects/stack-em-blocks/src/reportWebVitals.js",[],"/home/joseph/Documents/projects/stack-em-blocks/src/App.js",[],"/home/joseph/Documents/projects/stack-em-blocks/src/store/index.js",[],"/home/joseph/Documents/projects/stack-em-blocks/src/sound/SoundManagerComponent.js",[],"/home/joseph/Documents/projects/stack-em-blocks/src/screens/MainMenu.js",[],"/home/joseph/Documents/projects/stack-em-blocks/src/screens/MainGame.js",[],"/home/joseph/Documents/projects/stack-em-blocks/src/store/sagas/controls.js",[],"/home/joseph/Documents/projects/stack-em-blocks/src/store/sagas/sound.js",[],"/home/joseph/Documents/projects/stack-em-blocks/src/store/reducers/game.js",["163","164"],"import { newBlank2dArray } from \"../utils/misc\";\n\nimport { MOVE_BLOCK, ROTATE_BLOCK, REPLACE_PLAYER_BLOCK } from \"../actions/block\";\nimport { CLEAR_FILLED_ROWS, SHIFT_CLEARED_ROWS, ADD_PLAYER_BLOCK_TO_GRID } from \"../actions/gameGrid\";\nimport { INCREMENT_GAME_SCORE, SET_NEXT_BLOCK_INDEX ,RESTART_GAME, START_GAME, PAUSE_RESUME_GAME, GAME_OVER, setNextBlockIndex } from \"../actions/gameStatus\";\nimport { INCREMENT_BLOCK_COUNT } from \"../actions/gameStats\";\n\n\nimport GameBlockHelper from \"./helpers/GameBlockHelper\";\nimport GameGridHelper from \"./helpers/GameGridHelper\";\nimport GameStatusHelper from \"./helpers/GameStatusHelper\";\nimport { act } from \"react-dom/test-utils\";\n\n\nconst defaultState = {\n grid: newBlank2dArray(10,20),\n playerBlock: {\n xPos: 0, \n yPos: 0,\n blockData: null\n },\n stats: {\n paused: false,\n gameOver: false,\n level: 1,\n score: 0,\n nextBlockIndex: null,\n blockCount : {\n 0: 0,\n 1: 0,\n 2: 0,\n 3: 0,\n 4: 0,\n 5: 0,\n 6: 0\n }\n } \n}\n\nconst game = function(state = defaultState, action)\n{ \n\n switch(action.type)\n {\n case REPLACE_PLAYER_BLOCK:\n const newPlayerBlock = action.payload;\n return GameBlockHelper.replacePlayerBlock(state, newPlayerBlock);\n case MOVE_BLOCK:\n const moveDirection = action.payload;\n return GameBlockHelper.moveBlock(state, moveDirection);\n case ROTATE_BLOCK:\n const rotateDirection = action.payload;\n return GameBlockHelper.rotateBlock(state, rotateDirection);\n case ADD_PLAYER_BLOCK_TO_GRID: \n return GameGridHelper.addBlockToGrid(state); \n case CLEAR_FILLED_ROWS:\n return GameGridHelper.clearFilledRows(state);\n case SHIFT_CLEARED_ROWS:\n return GameGridHelper.shiftClearedRowsDown(state);\n case INCREMENT_GAME_SCORE:\n const incrementAmount = action.payload; \n return GameStatusHelper.incrementGameScore(state, incrementAmount);\n case INCREMENT_BLOCK_COUNT:\n const blockCountIncAmount = action.payload;\n return GameStatusHelper.incrementBlockCount(state, blockCountIncAmount);\n case SET_NEXT_BLOCK_INDEX: \n const nextBlockIndex = action.payload;\n return GameStatusHelper.setNextBlockIndex(state, nextBlockIndex); \n case PAUSE_RESUME_GAME:\n return GameStatusHelper.togglePaused(state);\n case GAME_OVER:\n return GameStatusHelper.gameOver(state);\n case START_GAME:\n return defaultState;\n case RESTART_GAME:\n return defaultState;\n default:\n return state;\n }\n}\n\nexport default game;","/home/joseph/Documents/projects/stack-em-blocks/src/screens/components/popup/PopupMainMenu.js",[],"/home/joseph/Documents/projects/stack-em-blocks/src/store/actions/sound.js",[],"/home/joseph/Documents/projects/stack-em-blocks/src/store/utils/gameGrid.js",[],"/home/joseph/Documents/projects/stack-em-blocks/src/screens/components/GameGridDisplay.js",[],"/home/joseph/Documents/projects/stack-em-blocks/src/store/utils/misc.js",[],"/home/joseph/Documents/projects/stack-em-blocks/src/store/actions/gameStatus.js",[],"/home/joseph/Documents/projects/stack-em-blocks/src/screens/components/InputControls.js",[],"/home/joseph/Documents/projects/stack-em-blocks/src/screens/components/PauseButton.js",[],"/home/joseph/Documents/projects/stack-em-blocks/src/screens/components/GameStatsDisplay.js",[],"/home/joseph/Documents/projects/stack-em-blocks/src/screens/components/popup/PopupPaused.js",[],"/home/joseph/Documents/projects/stack-em-blocks/src/screens/components/popup/PopupGameOver.js",[],"/home/joseph/Documents/projects/stack-em-blocks/src/screens/components/InputTouchScreenControls.js",[],"/home/joseph/Documents/projects/stack-em-blocks/src/store/sagas/index.js",[],"/home/joseph/Documents/projects/stack-em-blocks/src/store/actions/block.js",[],"/home/joseph/Documents/projects/stack-em-blocks/src/store/actions/input.js",[],"/home/joseph/Documents/projects/stack-em-blocks/src/sound/soundNames.js",[],"/home/joseph/Documents/projects/stack-em-blocks/src/store/utils/moveValidations.js",[],"/home/joseph/Documents/projects/stack-em-blocks/src/sound/soundManager.js",[],"/home/joseph/Documents/projects/stack-em-blocks/src/store/actions/gameStats.js",[],"/home/joseph/Documents/projects/stack-em-blocks/src/store/actions/gameGrid.js",[],"/home/joseph/Documents/projects/stack-em-blocks/src/store/reducers/helpers/GameBlockHelper.js",[],"/home/joseph/Documents/projects/stack-em-blocks/src/store/reducers/helpers/GameGridHelper.js",[],"/home/joseph/Documents/projects/stack-em-blocks/src/store/reducers/helpers/GameStatusHelper.js",[],"/home/joseph/Documents/projects/stack-em-blocks/src/screens/components/util.js",[],"/home/joseph/Documents/projects/stack-em-blocks/src/store/utils/blockDisplayConstants.js",[],"/home/joseph/Documents/projects/stack-em-blocks/src/screens/components/BlockDisplay.js",[],"/home/joseph/Documents/projects/stack-em-blocks/src/store/utils/blockConstants.js",[],"/home/joseph/Documents/projects/stack-em-blocks/src/sound/SoundLoader.js",[],["165","166"],"/home/joseph/Documents/projects/stack-em-blocks/src/store/utils/blockActions.js",[],{"ruleId":"167","replacedBy":"168"},{"ruleId":"169","replacedBy":"170"},{"ruleId":"171","severity":1,"message":"172","line":5,"column":110,"nodeType":"173","messageId":"174","endLine":5,"endColumn":127},{"ruleId":"171","severity":1,"message":"175","line":12,"column":10,"nodeType":"173","messageId":"174","endLine":12,"endColumn":13},{"ruleId":"167","replacedBy":"176"},{"ruleId":"169","replacedBy":"177"},"no-native-reassign",["178"],"no-negated-in-lhs",["179"],"no-unused-vars","'setNextBlockIndex' is defined but never used.","Identifier","unusedVar","'act' is defined but never used.",["178"],["179"],"no-global-assign","no-unsafe-negation"]