From 40478b6f7b48e1f245652842f1f92e36fe2bec9a Mon Sep 17 00:00:00 2001 From: Aric Camarata Date: Sun, 31 May 2026 08:49:46 -0400 Subject: [PATCH] ci: fix eslint - add parserOptions.project for typed linting rules --- eslint.config.mjs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index 3a2e636..4fbe66b 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -7,7 +7,10 @@ export default [ { files: ['**/*.ts'], plugins: { '@typescript-eslint': tsPlugin }, - languageOptions: { parser: tsParser }, + languageOptions: { + parser: tsParser, + parserOptions: { project: true, tsconfigRootDir: import.meta.dirname }, + }, }, ...typescript.map((config) => ({ files: ['**/*.ts'], ...config })), eslintConfigPrettier,