Skip to content

Commit

Permalink
Run eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
simlmx committed Jul 16, 2024
1 parent 1e013b7 commit fe30d66
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
1 change: 0 additions & 1 deletion game-template/game/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"plugins": ["@typescript-eslint", "simple-import-sort"],
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": "warn",
"simple-import-sort/imports": [
"error",
{
Expand Down
2 changes: 1 addition & 1 deletion game-template/game/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { UserId } from "@lefun/core";
import { createMove, GameDef, Moves, PlayerMove } from "@lefun/game";
import { createMove, GameDef, Moves } from "@lefun/game";

type Player = {
isRolling: boolean;
Expand Down
1 change: 1 addition & 0 deletions game-template/ui/lingui.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import type { LinguiConfig } from "@lingui/conf";

import { lefunExtractor } from "@lefun/ui/lefunExtractor";

import { game } from "roll-game";

const config: LinguiConfig = {
Expand Down
5 changes: 2 additions & 3 deletions game-template/ui/src/Board.tsx
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
import "./index.css";

import { Trans } from "@lingui/macro";
import classNames from "classnames";

import type { UserId } from "@lefun/core";
import {
useUsername,
makeUseSelector,
makeUseSelectorShallow,
useDispatch,
useIsPlayer,
useUsername,
} from "@lefun/ui";

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

import { Trans } from "@lingui/macro";

type B = _Board;

// Dice symbol characters
Expand Down
1 change: 1 addition & 0 deletions game-template/ui/src/main.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { render } from "@lefun/dev-server";

import { Board, game } from "roll-game";

// @ts-expect-error abc
Expand Down

0 comments on commit fe30d66

Please sign in to comment.