Skip to content

Commit

Permalink
♻️ refactor(ui/eslint.config.js): 更新 ESLint 配置以使用 eslint-config-prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
vnobo committed Jun 25, 2024
1 parent 764822b commit b5a632d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ui/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(
{
Expand All @@ -12,7 +12,7 @@ module.exports = tseslint.config(
...tseslint.configs.recommended,
...tseslint.configs.stylistic,
...angular.configs.tsRecommended,
prettierRecommended,
eslintConfigPrettier,
],
processor: angular.processInlineTemplates,
rules: {
Expand All @@ -39,7 +39,7 @@ module.exports = tseslint.config(
extends: [
...angular.configs.templateRecommended,
...angular.configs.templateAccessibility,
prettierRecommended,
eslintConfigPrettier,
],
rules: {},
}
Expand Down

0 comments on commit b5a632d

Please sign in to comment.