Skip to content

Commit 966e23c

Browse files
authored
Merge pull request #18 from DVDAGames/develop
ESLint Updates
2 parents 6a3f733 + ed0c5ab commit 966e23c

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

.eslintrc

Lines changed: 0 additions & 8 deletions
This file was deleted.

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,13 @@
2323
"test": "react-scripts test"
2424
},
2525
"eslintConfig": {
26-
"extends": "react-app"
26+
"extends": [
27+
"react-app",
28+
"shared-config"
29+
],
30+
"rules": {
31+
"react-hooks/exhaustive-deps": "off"
32+
}
2733
},
2834
"browserslist": {
2935
"production": [

src/App.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@ export const App = () => {
7171
switch (roll.type) {
7272
case ACTIONS.RANDOM:
7373
setActiveHex(roll.total);
74+
7475
break;
76+
7577
case ACTIONS.RUN:
7678
default:
7779
const direction = currentEngine.directions[roll.total];

0 commit comments

Comments
 (0)