Skip to content

Commit 39a568f

Browse files
authored
Merge pull request #166 from zhensherlock/dev
chore: remove typescript-eslint dependencies and update eslint config
2 parents 6d91a96 + 7177046 commit 39a568f

File tree

7 files changed

+38
-38
lines changed

7 files changed

+38
-38
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v4
14+
uses: actions/checkout@v6
1515
with:
1616
fetch-depth: 0
1717

1818
- name: Install Node
19-
uses: actions/setup-node@v4
19+
uses: actions/setup-node@v6
2020
with:
21-
node-version: 22
21+
node-version: 24
2222

2323
- name: Install PNPM
2424
run: npm i pnpm@latest -g

.github/workflows/pr-build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout
15-
uses: actions/checkout@v4
15+
uses: actions/checkout@v6
1616
with:
1717
fetch-depth: 0
1818

1919
- name: Install Node
20-
uses: actions/setup-node@v4
20+
uses: actions/setup-node@v6
2121
with:
22-
node-version: 22
22+
node-version: 24
2323

2424
- name: Install PNPM
2525
run: npm i pnpm@latest -g

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ jobs:
1515
run: echo "VERSION=${{ github.event.release.tag_name }}" >> $GITHUB_ENV
1616

1717
- name: Checkout
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v6
1919
with:
2020
fetch-depth: 0
2121

2222
- name: Install Node
23-
uses: actions/setup-node@v4
23+
uses: actions/setup-node@v6
2424
with:
25-
node-version: 22
25+
node-version: 24
2626

2727
- name: Install PNPM
2828
run: npm i pnpm@latest -g

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v22
1+
24

eslint.config.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import tsPlugin from '@typescript-eslint/eslint-plugin';
2-
import tsParser from '@typescript-eslint/parser';
31
import importPlugin from 'eslint-plugin-import';
42
import prettierPlugin from 'eslint-plugin-prettier';
53
import globals from 'globals';
@@ -21,7 +19,7 @@ export default [
2119
files: ['packages/**/*.{js,ts}'],
2220

2321
languageOptions: {
24-
parser: tsParser,
22+
parser: tseslint.parser,
2523
parserOptions: {
2624
ecmaVersion: 'latest',
2725
sourceType: 'module',
@@ -43,7 +41,7 @@ export default [
4341
},
4442

4543
plugins: {
46-
'@typescript-eslint': tsPlugin,
44+
'@typescript-eslint': tseslint.plugin,
4745
import: importPlugin,
4846
prettier: prettierPlugin,
4947
},

package.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,9 @@
2828
},
2929
"devDependencies": {
3030
"@biomejs/biome": "2.3.8",
31-
"@commitlint/cli": "^20.0.0",
31+
"@commitlint/cli": "^20.1.0",
3232
"@commitlint/config-conventional": "^20.0.0",
33-
"@types/chrome": "^0.1.31",
34-
"@typescript-eslint/eslint-plugin": "^8.48.0",
35-
"@typescript-eslint/parser": "^8.48.0",
33+
"@types/chrome": "^0.1.32",
3634
"adm-zip": "^0.5.16",
3735
"copy-webpack-plugin": "^13.0.1",
3836
"css-loader": "^7.1.2",
@@ -43,14 +41,14 @@
4341
"globals": "^16.5.0",
4442
"husky": "^9.1.7",
4543
"mini-css-extract-plugin": "^2.9.4",
46-
"prettier": "^3.7.3",
44+
"prettier": "^3.7.4",
4745
"rimraf": "^6.1.2",
4846
"sass": "^1.94.2",
4947
"sass-loader": "^16.0.6",
5048
"terser-webpack-plugin": "^5.3.14",
5149
"ts-loader": "^9.5.4",
5250
"typescript": "^5.9.3",
53-
"typescript-eslint": "^8.48.0",
51+
"typescript-eslint": "^8.48.1",
5452
"webpack": "^5.103.0",
5553
"webpack-cli": "^6.0.1",
5654
"webpack-merge": "^6.0.1"

pnpm-lock.yaml

Lines changed: 22 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)