From 8201c68f27c6fed07359c1f46af645db2633ea91 Mon Sep 17 00:00:00 2001 From: Pelle Wessman Date: Thu, 28 Oct 2021 09:30:18 +0200 Subject: [PATCH] Use absolute path for keys in `'import/parsers'` --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 472a5f3..38cbd06 100644 --- a/index.js +++ b/index.js @@ -22,7 +22,7 @@ module.exports = { } }, 'import/parsers': { - '@typescript-eslint/parser': [ + [require.resolve('@typescript-eslint/parser')]: [ '.ts', '.tsx' ]