Skip to content

Commit 73c2f04

Browse files
committed
chore: dependency updates
1 parent 6e99c4d commit 73c2f04

File tree

9 files changed

+418
-449
lines changed

9 files changed

+418
-449
lines changed

.eslintrc.cjs

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

discord-webhook.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ async function fetchJobs() {
139139
...(process.env.GITHUB_TOKEN
140140
? {
141141
Authorization: `token ${process.env.GITHUB_TOKEN}`,
142-
// eslint-disable-next-line no-mixed-spaces-and-tabs
143142
}
144143
: undefined),
145144
},

eslint.config.ts

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
import eslint from '@eslint/js'
2+
import pluginN from 'eslint-plugin-n'
3+
import tseslint from 'typescript-eslint'
4+
5+
export default tseslint.config(
6+
{
7+
ignores: ['workspace/**'],
8+
},
9+
eslint.configs.recommended,
10+
...tseslint.configs.recommended,
11+
{
12+
name: 'main',
13+
languageOptions: {
14+
parser: tseslint.parser,
15+
parserOptions: {
16+
sourceType: 'module',
17+
ecmaVersion: 2022,
18+
project: true,
19+
},
20+
},
21+
plugins: {
22+
n: pluginN,
23+
},
24+
rules: {
25+
eqeqeq: ['warn', 'always', { null: 'never' }],
26+
'no-debugger': ['error'],
27+
'no-empty': ['warn', { allowEmptyCatch: true }],
28+
'no-process-exit': 'off',
29+
'no-useless-escape': 'off',
30+
'prefer-const': [
31+
'warn',
32+
{
33+
destructuring: 'all',
34+
},
35+
],
36+
'n/no-missing-import': 'off', // doesn't like ts imports
37+
'n/no-process-exit': 'off',
38+
'@typescript-eslint/no-explicit-any': 'off', // we use any in some places
39+
},
40+
},
41+
)

package.json

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"preinstall": "npx only-allow pnpm",
88
"postinstall": "pnpm install --dir typings",
99
"prepare": "pnpm exec simple-git-hooks",
10-
"lint": "eslint --ignore-path .gitignore '**/*.ts'",
10+
"lint": "eslint",
1111
"lint:fix": "pnpm lint --fix",
1212
"format": "prettier --ignore-path .gitignore --check .",
1313
"format:fix": "pnpm format --write",
@@ -28,11 +28,11 @@
2828
"eslint --fix"
2929
]
3030
},
31-
"packageManager": "pnpm@9.15.4",
31+
"packageManager": "pnpm@10.2.1",
3232
"type": "module",
3333
"engines": {
3434
"node": ">=18",
35-
"pnpm": "^9.5.0"
35+
"pnpm": "^10.2.1"
3636
},
3737
"repository": {
3838
"type": "git",
@@ -46,25 +46,24 @@
4646
"dependencies": {
4747
"@actions/core": "^1.11.1",
4848
"cac": "^6.7.14",
49-
"execa": "^9.5.1",
49+
"execa": "^9.5.2",
5050
"node-fetch": "^3.3.2",
5151
"verdaccio": "^6.0.5",
5252
"verdaccio-auth-memory": "^10.2.2"
5353
},
5454
"devDependencies": {
55-
"@antfu/ni": "^0.21.12",
56-
"@typescript-eslint/eslint-plugin": "^7.18.0",
57-
"@typescript-eslint/parser": "^7.18.0",
58-
"eslint": "^8.57.1",
59-
"eslint-define-config": "^2.1.0",
60-
"eslint-plugin-n": "^17.14.0",
61-
"lint-staged": "^15.2.10",
62-
"prettier": "^3.4.1",
63-
"rimraf": "^5.0.10",
55+
"@antfu/ni": "^23.3.1",
56+
"eslint": "^9.20.0",
57+
"eslint-plugin-n": "^17.15.1",
58+
"jiti": "^2.4.2",
59+
"lint-staged": "^15.4.3",
60+
"prettier": "^3.5.0",
61+
"rimraf": "^6.0.1",
6462
"simple-git-hooks": "^2.11.1",
6563
"tsx": "^4.19.2",
66-
"typescript": "^5.7.2",
67-
"yaml": "^2.6.1"
64+
"typescript": "^5.7.3",
65+
"typescript-eslint": "^8.23.0",
66+
"yaml": "^2.7.0"
6867
},
6968
"pnpm": {
7069
"overrides": {

0 commit comments

Comments
 (0)