Skip to content

Commit 2a99500

Browse files
committed
fix: lint
1 parent 9855dab commit 2a99500

File tree

5 files changed

+207
-4
lines changed

5 files changed

+207
-4
lines changed

.github/workflows/build-image.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ jobs:
3434
matrix:
3535
platform:
3636
- linux/arm64/v8
37-
- linux/arm
3837
- linux/arm64
3938
- linux/amd64
4039

build/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,13 @@ RUN go mod verify
2929
RUN --mount=type=cache,target="/root/.cache/go-build" \
3030
go build -o ChargePi -v -tags="linux" .
3131

32-
FROM --platform=$BUILDPLATFORM node:24 AS build-ui
32+
FROM node:24 AS build-ui
3333

3434
WORKDIR /ui
3535

3636
RUN corepack enable pnpm
3737
RUN corepack install -g [email protected]
3838
COPY ./ui/pnpm-lock.yaml ./
39-
RUN --mount=type=cache,id=pnpm,target=/root/.local/share/pnpm/store pnpm fetch --frozen-lockfile
4039
COPY ./ui/package*.json ./
4140
RUN --mount=type=cache,id=pnpm,target=/root/.local/share/pnpm/store pnpm install --frozen-lockfile --prod
4241

ui/.eslintrc.cjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ module.exports = {
33
env: { browser: true, es2020: true },
44
extends: [
55
'eslint:recommended',
6-
'@typescript-eslint/recommended',
76
'plugin:react-hooks/recommended',
87
],
98
ignorePatterns: ['dist', '.eslintrc.cjs'],

ui/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0"
4343
},
4444
"devDependencies": {
45+
"@eslint/js": "^9.32.0",
4546
"@types/react": "^18.3.23",
4647
"@types/react-dom": "^18.3.7",
4748
"@types/react-grid-layout": "^1.3.5",
@@ -55,6 +56,7 @@
5556
"postcss": "^8.5.6",
5657
"tailwindcss": "^3.4.17",
5758
"typescript": "^5.8.3",
59+
"typescript-eslint": "^8.38.0",
5860
"vite": "^5.4.19"
5961
}
6062
}

0 commit comments

Comments
 (0)