Skip to content

2.5.0 — ESLint ↔ CI layer parity

Choose a tag to compare

@pedroknigge pedroknigge released this 09 Jul 01:21

ArkGate 2.5.0

ESLint ↔ CI parity

  • arkgate/eslint loads ark.config.json (walk-up from the linted file)
  • Same layer globs, specificity, exclude, and rules[] as arkgate-check
  • Relative imports resolve to TS/JS; type-only and value forbidden edges both fail
  • no-forbidden-globals uses per-layer forbiddenGlobals from the contract
  • ESLint 8–10 filename API: physicalFilenamefilenamegetFilename()
  • Dual-driver tests: same fixtures → ESLint + ark-check --json

Also on this train

  • .ark/ gitignored for local report snapshots
  • Roadmap: next-iteration debt (split ark-check.mjs, shared layer globs)

Upgrade

npm install -D arkgate@2.5.0
npx arkgate upgrade
# editor: import ark from 'arkgate/eslint' → ark.configs.recommended

Full notes: CHANGELOG.md