Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
run: npx prettier --check .

- name: Lint
run: npx eslint src/
run: npm run lint

- name: Typecheck
run: npm run typecheck
Expand Down
17 changes: 14 additions & 3 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
import eslint from "@eslint/js";
import globals from "globals";
import tseslint from "typescript-eslint";

export default tseslint.config(eslint.configs.recommended, ...tseslint.configs.recommended, {
ignores: ["dist/", "node_modules/", "test/"],
});
export default tseslint.config(
eslint.configs.recommended,
...tseslint.configs.recommended,
{
ignores: ["dist/", "node_modules/", "test/"],
},
{
// Build and maintenance scripts run directly under Node (no TypeScript to
// supply its globals), so `console`, `process`, `fetch` etc. must be declared.
files: ["scripts/**/*.{js,mjs,cjs}"],
languageOptions: { globals: globals.node },
},
);
14 changes: 14 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"test:watch": "vitest",
"test:integration": "vitest run --config vitest.integration.config.ts",
"typecheck": "tsc --noEmit",
"lint": "eslint src/",
"lint": "eslint src/ scripts/",
"format": "prettier --write .",
"format:check": "prettier --check .",
"test:resilience:errors": "tsx test/resilience-errors.ts",
Expand Down Expand Up @@ -120,6 +120,7 @@
"@blockrun/router-core": "https://codeload.github.com/BlockRunAI/router-core/tar.gz/3b2904aed5bbde24af65af1fe73740744df70482",
"@eslint/js": "^10.0.1",
"eslint": "^10.2.0",
"globals": "^17.14.0",
"openclaw": "^2026.7.2-beta.7",
"prettier": "^3.8.1",
"tsup": "^9.0.0",
Expand Down
Loading