From e5056333effe0160d80fc7bf2c7b2333a6a0bcfa Mon Sep 17 00:00:00 2001 From: Nevio Di Gennaro Date: Tue, 24 Dec 2024 11:53:06 +0100 Subject: [PATCH] run prettier --- frontend/eslint.config.mjs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/frontend/eslint.config.mjs b/frontend/eslint.config.mjs index 55c593970b..991f053a81 100644 --- a/frontend/eslint.config.mjs +++ b/frontend/eslint.config.mjs @@ -85,7 +85,7 @@ export default tsEslint.config( allowDeclarations: true, }, ], - '@typescript-eslint/no-empty-function': ['error', {allow: ['arrowFunctions', 'constructors']}], + '@typescript-eslint/no-empty-function': ['error', { allow: ['arrowFunctions', 'constructors'] }], //Turned off to allow ! in the code '@typescript-eslint/no-non-null-assertion': 'off', '@typescript-eslint/no-non-null-asserted-optional-chain': 'off', @@ -98,15 +98,15 @@ export default tsEslint.config( '@stylistic/quotes': ['error', 'single'], '@stylistic/padded-blocks': ['error', 'never'], '@stylistic/dot-location': ['error', 'property'], - '@stylistic/newline-per-chained-call': ['error', {ignoreChainWithDepth: 1}], + '@stylistic/newline-per-chained-call': ['error', { ignoreChainWithDepth: 1 }], '@stylistic/indent': ['error', 2], '@stylistic/quote-props': ['error', 'as-needed'], '@stylistic/object-property-newline': ['error'], '@stylistic/multiline-ternary': ['off'], '@stylistic/object-curly-spacing': ['error', 'always'], - '@stylistic/array-bracket-newline': ['error', {minItems: 4}], + '@stylistic/array-bracket-newline': ['error', { minItems: 4 }], '@stylistic/semi-style': ['error'], - '@stylistic/function-paren-newline': ['error', {minItems: 4}], + '@stylistic/function-paren-newline': ['error', { minItems: 4 }], '@stylistic/space-before-function-paren': ['error', 'never'], // Disabled because it's an unnecessary rule in our case '@stylistic/lines-around-comment': 'off', @@ -131,7 +131,7 @@ export default tsEslint.config( }, ], // Off because angular our files are not standalone - '@angular-eslint/prefer-standalone': 'off' + '@angular-eslint/prefer-standalone': 'off', }, }, { @@ -160,7 +160,7 @@ export default tsEslint.config( // Must be defined. If not, all recommended rules will be lost '@html-eslint/require-img-alt': 'off', '@html-eslint/indent': ['error', 2], - '@html-eslint/require-closing-tags': ['error', {selfClosing: 'always'}], + '@html-eslint/require-closing-tags': ['error', { selfClosing: 'always' }], //Doesn't work with Angular 17+ '@html-eslint/element-newline': 'off', },