Skip to content

Commit ee85ccb

Browse files
authored
chore: migrate to eslint 8+ (#1235)
* chore: migrate to eslint 8+ * chore: remove unused deps * fix: fix type check * chore(eslint): add missing rules
1 parent 758a80b commit ee85ccb

File tree

228 files changed

+3050
-2445
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

228 files changed

+3050
-2445
lines changed

.eslintignore

-39
This file was deleted.

.eslintrc.cjs

-193
This file was deleted.

.github/pull_request_template.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ close #
1313

1414
<!-- A description of the proposed changes. -->
1515

16-
<!-- How to test them. -->
16+
<!-- How to test them. -->

.github/workflows/check-pr.yml

+16-15
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,23 @@
11
name: 📌 Check PR
22

33
on:
4-
pull_request:
5-
types:
6-
- opened
7-
- edited
8-
- synchronize
4+
pull_request:
5+
types:
6+
- opened
7+
- edited
8+
- synchronize
99

1010
permissions:
11-
pull-requests: read
11+
pull-requests: read
1212

1313
jobs:
14-
validate:
15-
name: validate PR title
16-
runs-on: ubuntu-latest
17-
steps:
18-
- uses: amannn/action-semantic-pull-request@v5
19-
env:
20-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21-
with:
22-
subjectPattern: ^(?![A-Z]).+$
14+
validate:
15+
name: validate PR title
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- uses: amannn/action-semantic-pull-request@v5
20+
env:
21+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22+
with:
23+
subjectPattern: ^(?![A-Z]).+$
+10-8
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
name: 🌍 Issues Translator
2+
23
on:
3-
issue_comment:
4-
types: [created]
5-
issues:
6-
types: [opened]
4+
issue_comment:
5+
types: [created]
6+
issues:
7+
types: [opened]
78

89
jobs:
9-
build:
10-
runs-on: ubuntu-latest
11-
steps:
12-
- uses: usthe/[email protected]
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: usthe/[email protected]

.github/workflows/preview-deploy.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: 📤 Preview Deploy
22

33
on:
44
workflow_run:
5-
workflows: ['📦 Build']
5+
workflows: [📦 Build]
66
types: [completed]
77

88
permissions:
@@ -133,7 +133,7 @@ jobs:
133133
vercel-token: ${{ secrets.VERCEL_TOKEN }}
134134
vercel-org-id: ${{ secrets.ORG_ID}}
135135
vercel-project-id: ${{ secrets.PROJECT_ID}}
136-
vercel-args: '--prod'
136+
vercel-args: --prod
137137

138138
- name: 🚀 Deploy to Vercel (demo)
139139
uses: amondnet/vercel-action@v25

.prettierrc

-8
This file was deleted.

0 commit comments

Comments
 (0)