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