Skip to content

Commit

Permalink
chore: upgrade eslint and add prettier (#243)
Browse files Browse the repository at this point in the history
* build: upgrade dependencies

* build: upgrade eslint and related config

* chore: fix type check

* style: make lint happy

* ci: add reviewdog workflow

* chore: rename check workflow

* chore: make lint happy
  • Loading branch information
JustAnotherID authored Oct 21, 2024
1 parent 555e26a commit e696f06
Show file tree
Hide file tree
Showing 83 changed files with 9,794 additions and 7,767 deletions.
6 changes: 6 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[*.{js,jsx,mjs,cjs,ts,tsx,mts,cts,vue}]
charset = utf-8
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

308 changes: 0 additions & 308 deletions .eslintrc-auto-import.json

This file was deleted.

31 changes: 0 additions & 31 deletions .eslintrc.cjs

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Install Dependencies
run: pnpm install
- name: Build WebUI
run: pnpm run build
run: pnpm run build-only
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check.yml → .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Check
name: Lint

on:
push:
pull_request:

jobs:
type-check:
lint:
runs-on: ubuntu-latest
steps:
- name: Code
Expand Down
Loading

0 comments on commit e696f06

Please sign in to comment.