diff --git a/.xo-config.cjs b/.xo-config.cjs index 60542fdfc0d..99105118367 100644 --- a/.xo-config.cjs +++ b/.xo-config.cjs @@ -28,7 +28,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