Skip to content
Open
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
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/target
.env

.playwright-mcp
.playwright-mcp
node_modules/
37 changes: 37 additions & 0 deletions agent-runner/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
import recommendedIncremental from "eslint-config-agent/recommended-incremental";
import globals from "globals";

/**
* Incremental adoption of eslint-config-agent.
*
* This package previously had no ESLint setup at all, so `src/index.js` was
* never linted. Starting on the `recommended-incremental` preset (the divisive
* strict-mode rules disabled, everything else downgraded to a warning) keeps
* `pnpm lint` exiting 0 while still surfacing the full backlog. Promote to
* `eslint-config-agent/recommended` — or the strict default export — once the
* warnings are burned down.
*/
export default [
{ ignores: ["node_modules/**"] },
...recommendedIncremental,
{
// A Node.js HTTP server, not browser code: `process`, `Buffer` and
// `console` are runtime globals here, and the default browser globals the
// shared config assumes would otherwise leave every one of them
// undefined under `no-undef`.
files: ["**/*.js"],
languageOptions: {
sourceType: "module",
globals: {
...globals.node,
},
},
// The shared config leaves eslint-plugin-react's version on "detect".
// There is no React here (this is a server with zero runtime deps), so
// detection fails and the plugin prints a warning on every run. Pin a
// version to keep the lint output clean; no React rules actually apply.
settings: {
react: { version: "19.0.0" },
},
},
];
8 changes: 7 additions & 1 deletion agent-runner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
"type": "module",
"main": "src/index.js",
"scripts": {
"start": "node src/index.js"
"start": "node src/index.js",
"lint": "eslint ."
},
"devDependencies": {
"eslint": "^9.39.4",
"eslint-config-agent": "^3.1.0",
"globals": "^16.0.0"
}
}
Loading
Loading