Skip to content

Commit f17cfa3

Browse files
authored
Merge pull request #54 from monkey0722/upgrade-module
Upgrade modules
2 parents 277c493 + 7096ecb commit f17cfa3

File tree

6 files changed

+465
-431
lines changed

6 files changed

+465
-431
lines changed

.eslintrc.json

Lines changed: 0 additions & 29 deletions
This file was deleted.

.github/workflows/blank.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
node: [18]
16+
node: [20]
1717
timeout-minutes: 300
1818
steps:
1919
- name: checkout pushed commit

.node-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18.18.2
1+
20.18.1

eslint.config.js

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
const parser = require("@typescript-eslint/parser");
2+
3+
module.exports = [
4+
{
5+
files: ["**/*.ts"],
6+
languageOptions: {
7+
parser: parser,
8+
parserOptions: {
9+
sourceType: "module",
10+
project: "./tsconfig.json",
11+
},
12+
},
13+
plugins: {
14+
"@typescript-eslint": require("@typescript-eslint/eslint-plugin"),
15+
},
16+
rules: {
17+
"no-extra-semi": "off",
18+
"no-irregular-whitespace": ["error", { skipTemplates: true }],
19+
"@typescript-eslint/no-unused-vars": "error",
20+
"@typescript-eslint/no-useless-constructor": "error",
21+
},
22+
},
23+
];

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@
1111
"prettier": "prettier --write \"./**/*.{ts,tsx}\" --ignore-path \".gitignore\""
1212
},
1313
"dependencies": {
14-
"typescript": "^5.4.3"
14+
"typescript": "^5.7.2"
1515
},
1616
"devDependencies": {
17-
"@types/jest": "^29.5.12",
18-
"@typescript-eslint/eslint-plugin": "^7.5.0",
19-
"@typescript-eslint/parser": "^7.5.0",
20-
"eslint": "^8.57.0",
21-
"husky": "^9.0.11",
17+
"@types/jest": "^29.5.14",
18+
"@typescript-eslint/eslint-plugin": "^8.18.2",
19+
"@typescript-eslint/parser": "^8.18.2",
20+
"eslint": "^9.17.0",
21+
"husky": "^9.1.7",
2222
"jest": "^29.7.0",
23-
"lint-staged": "^15.2.2",
24-
"prettier": "^3.2.5",
25-
"ts-jest": "^29.1.2",
23+
"lint-staged": "^15.2.11",
24+
"prettier": "^3.4.2",
25+
"ts-jest": "^29.2.5",
2626
"ts-node": "^10.9.2"
2727
},
2828
"lint-staged": {

0 commit comments

Comments
 (0)