From 79837a6715a871a19d5ab2dd44bb68385c528d2c Mon Sep 17 00:00:00 2001 From: Siddharth Gelera Date: Thu, 25 Sep 2025 18:21:15 +0530 Subject: [PATCH] feat(eslint): add TypeScript support and update test file patterns --- eslint.config.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/eslint.config.js b/eslint.config.js index 4eaaf583b..74751051f 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -16,9 +16,16 @@ module.exports = runESMImports().then(() => defineConfig([ 'diff': fixupPluginRules(eslintPluginDiff), '@stylistic': stylistic, }, + languageOptions: { + parser: require('@typescript-eslint/parser'), + parserOptions: { + ecmaVersion: 'latest', + sourceType: 'module', + }, + }, files: [ './eslint.config.js', - 'tests/**/*.spec.{ts,js}', + 'tests/**/*.{ts,js}', 'packages/bruno-app/**/*.{js,jsx,ts}', 'packages/bruno-app/src/test-utils/mocks/codemirror.js', 'packages/bruno-cli/**/*.js',