Auto-generated tile from GitHub (10 skills)
92
94%
Does it follow best practices?
Impact
92%
1.16xAverage score across 44 eval scenarios
Advisory
Suggest reviewing before use
The payments-api project has been using the standard package for linting since it was created three years ago. The team is now hitting friction: standard doesn't support ESLint v9, the ecosystem of plugins they want to adopt uses flat config, and onboarding new developers is getting messy because some editors support the old vscode-standard extension while others use the ESLint extension.
The engineering lead wants to migrate the project to a modern ESLint setup that preserves the Standard-like rules the team is comfortable with, while moving to the current ESLint v9 flat config system. The migration should not change which lint rules are enforced — it's purely a tooling upgrade, not a rule overhaul.
Your task is to migrate the project from its current linting setup to a modern equivalent, update all scripts and configuration, and produce a brief migration notes file documenting what was changed and why each step was taken separately.
Produce the following files:
package.json — updated (dependencies and scripts modernized)eslint.config.js — the new ESLint flat configmigration-notes.md — a short document listing what was changed, in what order, and the reasoning for separating any stepsmigrate.sh — a shell script that performs the migration steps from start to finishThe following files are provided as inputs. Extract them before beginning.
=============== FILE: package.json =============== { "name": "payments-api", "version": "2.3.1", "description": "Payments processing API", "main": "index.js", "type": "module", "scripts": { "test": "node --test", "lint": "standard", "lint:fix": "standard --fix" }, "standard": { "ignore": [ "dist/**" ] }, "devDependencies": { "standard": "^17.1.0" } }
=============== FILE: index.js =============== import { createServer } from 'http'
export function startServer (port) { const server = createServer((req, res) => { res.writeHead(200) res.end('OK') }) server.listen(port) return server }
=============== FILE: .gitignore =============== node_modules/ dist/ .env
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10
scenario-11
scenario-12
scenario-13
scenario-14
scenario-15
scenario-16
scenario-17
scenario-18
scenario-19
scenario-20
scenario-21
scenario-22
scenario-23
scenario-24
scenario-25
scenario-26
scenario-27
scenario-28
scenario-29
scenario-30
scenario-31
scenario-32
scenario-33
scenario-34
scenario-35
scenario-36
scenario-37
scenario-38
scenario-39
scenario-40
scenario-41
scenario-42
scenario-43
scenario-44
skills
documentation
fastify
init
linting-neostandard-eslint9
node
nodejs-core
rules
oauth
octocat
snipgrapher