objectionary/eo-lsp-server

`lint` target in `Makefile` uses `--ext .ts` flag that was removed in ESLint v9

Offen

#364 geöffnet am 14.06.2026

 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)TypeScript (9 Forks)github user discovery
bughelp wanted

Repository-Metriken

Stars
 (6 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 4T 17h) (5 gemergte PRs in 30 T)

Beschreibung

What happens: The lint target in Makefile runs npx eslint src --ext .ts. The project's package.json specifies "eslint": "^9.0.0", but the --ext CLI option was removed as a breaking change in ESLint v9 (it was replaced by specifying file patterns in the config file). Running make lint therefore fails. The eslint.config.js already specifies files: ["**/*.ts", ...], so the flag is both redundant and unsupported.

What should happen: The lint target should run npx eslint src (without --ext .ts), relying on the files patterns already present in eslint.config.js to select TypeScript files.

Contributor Guide