From 736e78d059b54be491991032a2a61a4fd011d766 Mon Sep 17 00:00:00 2001 From: Andrey Mikheychik Date: Mon, 30 Dec 2024 21:08:48 -0600 Subject: [PATCH] Remove unnecessary import renaming --- src/index.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/index.ts b/src/index.ts index fb85f4f..3ddd710 100644 --- a/src/index.ts +++ b/src/index.ts @@ -4,7 +4,8 @@ import * as tsEslint from 'typescript-eslint'; // eslint-disable-next-line import/no-extraneous-dependencies -- ESLint parser used only during development import * as babelParser from '@babel/eslint-parser'; -import { arrayFuncConfig as arrayFunctionConfig } from './rules/array-func'; +// eslint-disable-next-line unicorn/prevent-abbreviations -- matches plugin name +import { arrayFuncConfig } from './rules/array-func'; import { eslintConfig } from './rules/eslint'; import { eslintCommentsConfig } from './rules/eslint-comments'; import { importConfig } from './rules/import'; @@ -45,7 +46,7 @@ export default [ }, }, plugins: { - ...arrayFunctionConfig.plugins, + ...arrayFuncConfig.plugins, ...eslintCommentsConfig.plugins, ...importConfig.plugins, ...jsdocConfig.plugins, @@ -62,7 +63,7 @@ export default [ jsdoc: jsdocConfig.settings, }, rules: { - ...arrayFunctionConfig.rules, + ...arrayFuncConfig.rules, ...eslintConfig.rules, ...eslintCommentsConfig.rules, ...importConfig.rules,