From 8150fdff1bff1bae03e90a24ae77e3fb894e0ebe Mon Sep 17 00:00:00 2001 From: Joseph Phelan Date: Fri, 12 Jul 2024 14:10:13 -0500 Subject: [PATCH] improve imports --- packages/eslint-config-widen/src/typescript.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/packages/eslint-config-widen/src/typescript.ts b/packages/eslint-config-widen/src/typescript.ts index d4f1bee..a9fafb3 100644 --- a/packages/eslint-config-widen/src/typescript.ts +++ b/packages/eslint-config-widen/src/typescript.ts @@ -1,11 +1,14 @@ -import tseslint from 'typescript-eslint' +import { configs, parser, plugin } from 'typescript-eslint' export default [ - ...tseslint.configs.recommended, + ...configs.recommended, { files: ['*.ts', '*.tsx'], languageOptions: { - parser: tseslint.parser, + parser: parser, + }, + plugins: { + '@typescript-eslint': plugin, }, rules: { '@typescript-eslint/camelcase': 'off',