Skip to content

Commit fe30d66

Browse files
committed
Run eslint
1 parent 1e013b7 commit fe30d66

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

game-template/game/.eslintrc.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"plugins": ["@typescript-eslint", "simple-import-sort"],
55
"rules": {
66
"@typescript-eslint/no-explicit-any": "off",
7-
"@typescript-eslint/no-unused-vars": "warn",
87
"simple-import-sort/imports": [
98
"error",
109
{

game-template/game/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { UserId } from "@lefun/core";
2-
import { createMove, GameDef, Moves, PlayerMove } from "@lefun/game";
2+
import { createMove, GameDef, Moves } from "@lefun/game";
33

44
type Player = {
55
isRolling: boolean;

game-template/ui/lingui.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import type { LinguiConfig } from "@lingui/conf";
22

33
import { lefunExtractor } from "@lefun/ui/lefunExtractor";
4+
45
import { game } from "roll-game";
56

67
const config: LinguiConfig = {

game-template/ui/src/Board.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
11
import "./index.css";
22

3+
import { Trans } from "@lingui/macro";
34
import classNames from "classnames";
45

56
import type { UserId } from "@lefun/core";
67
import {
7-
useUsername,
88
makeUseSelector,
99
makeUseSelectorShallow,
1010
useDispatch,
1111
useIsPlayer,
12+
useUsername,
1213
} from "@lefun/ui";
1314

1415
import { Board as _Board, roll } from "roll-game";
1516

16-
import { Trans } from "@lingui/macro";
17-
1817
type B = _Board;
1918

2019
// Dice symbol characters

game-template/ui/src/main.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { render } from "@lefun/dev-server";
2+
23
import { Board, game } from "roll-game";
34

45
// @ts-expect-error abc

0 commit comments

Comments
 (0)