landmines is a set of Oxlint rules aimed at the shortcuts coding agents take to get a green build: mocking the thing under test, sleeping until a race passes, retrying flaky tests, raising timeouts and narrating the diff in comments. It matters because all of those pass CI while hiding real bugs, and each rule fails with a message telling the agent or human what to do instead. Install is one dev dependency plus an extends line in your Oxlint config, and categories can be layered. Tradeoffs: it requires Oxlint, so ESLint-only projects need to add a second linter, and some rules will flag legitimate patterns you then have to disable. Built and used at Interfere. MIT, about 740 stars.
AI agents write a lot of your tests and you have caught them faking passes.
You are deep in ESLint with custom rules and do not want a second linter in CI.
# Clone + explore: git clone https://github.com/interfere-inc/landmines cd landmines # Then read the README below for setup steps.
Inferred from package · always double-check against the official README below.