Skip to content

Commit 046fc9f

Browse files
committed
Ensure eslint is properly configured for all packages
1 parent 800bbd1 commit 046fc9f

31 files changed

Lines changed: 132 additions & 14 deletions
File renamed without changes.

packages/services/api/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"build": "tsc",
1313
"dev": "tsc --watch",
1414
"test": "echo",
15-
"typecheck": "tsc --noEmit"
15+
"typecheck": "tsc --noEmit",
16+
"lint": "eslint . --max-warnings 0"
1617
},
1718
"exports": {
1819
".": {
@@ -23,6 +24,7 @@
2324
"devDependencies": {
2425
"@repo/typescript-config": "workspace:^",
2526
"@types/node": "^25.3.0",
27+
"@repo/eslint-config": "workspace:^",
2628
"typescript": "^5.9.3"
2729
}
2830
}
File renamed without changes.

packages/services/builder/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"build": "tsc",
1313
"dev": "tsc --watch",
1414
"test": "echo",
15-
"typecheck": "tsc --noEmit"
15+
"typecheck": "tsc --noEmit",
16+
"lint": "eslint . --max-warnings 0"
1617
},
1718
"exports": {
1819
".": {
@@ -21,6 +22,7 @@
2122
}
2223
},
2324
"devDependencies": {
25+
"@repo/eslint-config": "workspace:^",
2426
"@repo/typescript-config": "workspace:^",
2527
"@types/node": "^25.3.0",
2628
"typescript": "^5.9.3"
File renamed without changes.

packages/services/guard/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
"dev": "tsc --watch",
1616
"test": "vitest run",
1717
"test:coverage": "vitest run --coverage",
18-
"typecheck": "tsc --noEmit"
18+
"typecheck": "tsc --noEmit",
19+
"lint": "eslint . --max-warnings 0"
1920
},
2021
"exports": {
2122
".": {
@@ -24,6 +25,7 @@
2425
}
2526
},
2627
"devDependencies": {
28+
"@repo/eslint-config": "workspace:^",
2729
"@repo/typescript-config": "workspace:^",
2830
"@types/node": "^25.3.0",
2931
"typescript": "^5.9.3",
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import { config as baseConfig } from "@repo/eslint-config/base"
2+
3+
/** @type {import("eslint").Linter.Config} */
4+
export default baseConfig

packages/services/identity-instrument/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"scripts": {
1111
"build": "tsc",
1212
"dev": "tsc --watch",
13-
"test": "vitest run"
13+
"test": "vitest run",
14+
"lint": "eslint . --max-warnings 0"
1415
},
1516
"exports": {
1617
".": {
@@ -19,6 +20,7 @@
1920
}
2021
},
2122
"devDependencies": {
23+
"@repo/eslint-config": "workspace:^",
2224
"@repo/typescript-config": "workspace:^",
2325
"@types/node": "^25.3.0",
2426
"typescript": "^5.9.3",
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import { config as baseConfig } from "@repo/eslint-config/base"
2+
3+
/** @type {import("eslint").Linter.Config} */
4+
export default baseConfig

packages/services/indexer/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"build": "tsc",
1313
"dev": "tsc --watch",
1414
"test": "echo",
15-
"typecheck": "tsc --noEmit"
15+
"typecheck": "tsc --noEmit",
16+
"lint": "eslint . --max-warnings 0"
1617
},
1718
"exports": {
1819
".": {
@@ -21,6 +22,7 @@
2122
}
2223
},
2324
"devDependencies": {
25+
"@repo/eslint-config": "workspace:^",
2426
"@repo/typescript-config": "workspace:^",
2527
"@types/node": "^25.3.0",
2628
"typescript": "^5.9.3"

0 commit comments

Comments
 (0)