From d57e5153150e00b79ae555eff3626c0c6616d709 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Sat, 7 Sep 2024 19:47:46 +0200 Subject: [PATCH] refactor: rule optimization --- .xo-config.cjs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.xo-config.cjs b/.xo-config.cjs index 87b2ce7e981..9427b553b6d 100644 --- a/.xo-config.cjs +++ b/.xo-config.cjs @@ -35,7 +35,10 @@ module.exports = { files: ['./showcases/**'], rules: { // In TS we don't need extension - 'import/extensions': 0, + 'import/extensions': [ + 2, + { ts: 'never' }, + ], 'n/file-extension-in-import': 0, '@typescript-eslint/no-unsafe-assignment': 0, // We don't need this tsc will handle it anyway '@typescript-eslint/no-unsafe-call': 0, // We don't need this tsc will handle it anyway