Skip to content

Commit e561674

Browse files
authored
[SC-79354] Update dependencies (#116)
1 parent 633a4e1 commit e561674

File tree

7 files changed

+838
-1061
lines changed

7 files changed

+838
-1061
lines changed

.claude/settings.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"permissions": {
3+
"allow": [
4+
"Bash(pnpm outdated:*)",
5+
"WebSearch",
6+
"WebFetch(domain:eslint.org)",
7+
"WebFetch(domain:typescript-eslint.io)",
8+
"WebFetch(domain:github.com)",
9+
"WebFetch(domain:www.npmjs.com)",
10+
"Bash(pnpm install:*)",
11+
"Bash(pnpm build:*)",
12+
"Bash(pnpm test:ci:*)",
13+
"Bash(pnpm eslint:*)",
14+
"Bash(pnpm prettier:*)"
15+
]
16+
}
17+
}

.eslintignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.eslintrc.js

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

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,7 @@ node_modules/
1111
.npm
1212

1313
# eslint cache
14-
.eslintcache
14+
.eslintcache
15+
16+
# IDE
17+
.claude/settings.local.json

eslint.config.mjs

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
import { defineConfig } from "eslint/config";
2+
import eslint from "@eslint/js";
3+
import tseslint from "typescript-eslint";
4+
import eslintConfigPrettier from "eslint-config-prettier";
5+
import unusedImports from "eslint-plugin-unused-imports";
6+
7+
export default defineConfig([
8+
{
9+
ignores: ["build/", "*.config.{js,mjs,ts}"],
10+
},
11+
eslint.configs.recommended,
12+
tseslint.configs.recommendedTypeChecked,
13+
eslintConfigPrettier,
14+
{
15+
files: ["**/*.ts"],
16+
languageOptions: {
17+
parserOptions: {
18+
projectService: true,
19+
tsconfigRootDir: import.meta.dirname,
20+
},
21+
},
22+
plugins: {
23+
"unused-imports": unusedImports,
24+
},
25+
rules: {
26+
"@typescript-eslint/no-shadow": "warn",
27+
"@typescript-eslint/no-unsafe-argument": "warn",
28+
"@typescript-eslint/no-unsafe-assignment": "warn",
29+
"@typescript-eslint/no-unsafe-call": "warn",
30+
"@typescript-eslint/no-unsafe-member-access": "warn",
31+
"@typescript-eslint/no-unsafe-return": "warn",
32+
"unused-imports/no-unused-imports": "error",
33+
curly: "error",
34+
},
35+
},
36+
{
37+
files: ["**/__tests__/**/*.[jt]s?(x)", "**/?(*.)+(test).[jt]s?(x)"],
38+
rules: {
39+
"@typescript-eslint/no-unsafe-member-access": "off",
40+
"@typescript-eslint/no-unsafe-return": "off",
41+
"@typescript-eslint/no-unsafe-argument": "off",
42+
"@typescript-eslint/no-explicit-any": "off",
43+
"@typescript-eslint/unbound-method": "off",
44+
},
45+
},
46+
]);

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"dev": "tsc --noEmit --watch",
1313
"prepack": "pnpm run build",
1414
"build": "tsup",
15-
"eslint": "eslint --ext .js,.ts --cache --cache-location=node_modules/.cache/eslint --cache-strategy content .",
15+
"eslint": "eslint .",
1616
"eslint:fix": "pnpm run eslint -- --fix",
1717
"prettier": "prettier --check .",
1818
"prettier:fix": "prettier --write .",
@@ -40,21 +40,21 @@
4040
},
4141
"homepage": "https://github.com/Fieldguide/pipeline#readme",
4242
"devDependencies": {
43-
"@babel/core": "^7.28.6",
44-
"@babel/preset-env": "^7.28.6",
45-
"@babel/preset-typescript": "^7.21.5",
43+
"@babel/core": "^7.29.0",
44+
"@babel/preset-env": "^7.29.0",
45+
"@babel/preset-typescript": "^7.28.5",
46+
"@eslint/js": "^10.0.0",
4647
"@tsconfig/node22": "^22.0.5",
4748
"@types/jest": "^30.0.0",
48-
"@types/lodash": "^4.17.23",
49-
"@typescript-eslint/eslint-plugin": "^7.4.0",
50-
"@typescript-eslint/parser": "^7.4.0",
51-
"eslint": "^8.57.0",
52-
"eslint-config-prettier": "^9.1.0",
53-
"eslint-plugin-unused-imports": "^3.0.0",
49+
"@types/lodash": "^4.17.24",
50+
"eslint": "^10.0.0",
51+
"eslint-config-prettier": "^10.1.0",
52+
"eslint-plugin-unused-imports": "^4.4.0",
5453
"jest": "^30.0.4",
5554
"prettier": "^3.8.1",
5655
"tsup": "^8.5.1",
57-
"typescript": "^5.0.4"
56+
"typescript": "^5.0.4",
57+
"typescript-eslint": "^8.56.0"
5858
},
5959
"dependencies": {
6060
"lodash": "^4.17.23"

0 commit comments

Comments
 (0)