From b5a632d91d8749747b2e9ae37098fcb5950e22c3 Mon Sep 17 00:00:00 2001 From: AlexBob <5199840@qq.com> Date: Tue, 25 Jun 2024 16:15:30 +0800 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20refactor(ui/eslint.config.?= =?UTF-8?q?js):=20=E6=9B=B4=E6=96=B0=20ESLint=20=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E4=BB=A5=E4=BD=BF=E7=94=A8=20eslint-config-prettier?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/eslint.config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/eslint.config.js b/ui/eslint.config.js index b4eac647..6a197682 100644 --- a/ui/eslint.config.js +++ b/ui/eslint.config.js @@ -2,7 +2,7 @@ const eslint = require('@eslint/js'); const tseslint = require('typescript-eslint'); const angular = require('angular-eslint'); -const prettierRecommended = require('eslint-config-prettier'); +const eslintConfigPrettier = require('eslint-config-prettier'); module.exports = tseslint.config( { @@ -12,7 +12,7 @@ module.exports = tseslint.config( ...tseslint.configs.recommended, ...tseslint.configs.stylistic, ...angular.configs.tsRecommended, - prettierRecommended, + eslintConfigPrettier, ], processor: angular.processInlineTemplates, rules: { @@ -39,7 +39,7 @@ module.exports = tseslint.config( extends: [ ...angular.configs.templateRecommended, ...angular.configs.templateAccessibility, - prettierRecommended, + eslintConfigPrettier, ], rules: {}, }