From 43dd356bc15e1f1fd48dca3fb81d954ae421135e Mon Sep 17 00:00:00 2001 From: Ikenna Omekam Date: Tue, 14 Jan 2025 15:53:32 -0600 Subject: [PATCH] target ci failure --- packages/eslint-config/eslint-config.cjs | 7 +++++++ packages/eslint-config/package.json | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/packages/eslint-config/eslint-config.cjs b/packages/eslint-config/eslint-config.cjs index e2514fdc844..8cb873f8e72 100644 --- a/packages/eslint-config/eslint-config.cjs +++ b/packages/eslint-config/eslint-config.cjs @@ -19,6 +19,13 @@ module.exports = { 'prettier', ], plugins: ['import', 'github'], + parserOptions: { + ecmaVersion: 2022, + sourceType: 'module', + tsconfigRootDir: process.cwd(), + project: ['./tsconfig.json'], + createDefaultProgram: true, + }, rules: { 'arrow-body-style': 'off', 'arrow-parens': 'off', diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.json index b2481a8ec28..ae70cc593de 100644 --- a/packages/eslint-config/package.json +++ b/packages/eslint-config/package.json @@ -27,7 +27,9 @@ "peerDependencies": { "@endo/eslint-plugin": "^2.2.3", "@jessie.js/eslint-plugin": "^0.4.1", - "typescript-eslint": "^8.17.0", + "@typescript-eslint/parser": "^6.0.0", + "@typescript-eslint/eslint-plugin": "^6.0.0", + "typescript": "^5.0.0", "eslint": "^9.0.0", "eslint-config-airbnb-base": "^15.0.0", "eslint-plugin-github": "^5.1.4",