From e9399cf7bb21e35da8cc4e5f227c8ab069feb479 Mon Sep 17 00:00:00 2001 From: Janis Hutz Date: Sat, 13 Dec 2025 14:28:22 +0100 Subject: [PATCH] [Eslint] Fix typing --- config/lint/eslint.config.mjs | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/config/lint/eslint.config.mjs b/config/lint/eslint.config.mjs index bfe9d4f..5e4cbae 100644 --- a/config/lint/eslint.config.mjs +++ b/config/lint/eslint.config.mjs @@ -9,7 +9,7 @@ const style = { 'plugins': { '@stylistic': stylistic, '@stylistic/js': stylistic, - '@stylistic/ts': stylistic, + '@stylistic/ts': stylistic }, 'files': [ '**/*.ts', @@ -45,7 +45,7 @@ const style = { ], '@stylistic/array-bracket-spacing': [ 'error', - 'always', + 'always' ], '@stylistic/array-element-newline': [ 'error', @@ -153,7 +153,7 @@ const style = { '@stylistic/max-statements-per-line': [ 'error', { - 'max': 1, + 'max': 1 } ], '@stylistic/multiline-ternary': [ @@ -213,7 +213,7 @@ const style = { { 'blocks': 'never', 'classes': 'always', - 'switches': 'never', + 'switches': 'never' } ], @@ -597,7 +597,7 @@ const style = { 'blankLine': 'always', 'prev': 'class', 'next': '*' - }, + } ], '@stylistic/quote-props': [ 'error', @@ -661,8 +661,8 @@ const style = { '@stylistic/type-annotation-spacing': [ 'error', { - 'before': false, - 'after': true, + 'before': true, + 'after': true } ], '@stylistic/type-generic-spacing': 'error', @@ -672,7 +672,7 @@ const style = { 'inside' ], '@stylistic/wrap-regex': 'error', - '@stylistic/ts/type-annotation-spacing': 'error', + '@stylistic/ts/type-annotation-spacing': 'error' } }; @@ -691,15 +691,15 @@ export default tseslint.config( 'ecmaVersion': 'latest', 'globals': globals.browser, 'parserOptions': { - 'parser': tseslint.parser, - }, + 'parser': tseslint.parser + } }, 'plugins': { 'vue': vue, '@stylistic': stylistic, '@stylistic/js': stylistic, '@stylistic/ts': stylistic, - '@typescript-eslint': typescript, + '@typescript-eslint': typescript }, 'extends': [ eslint.configs.recommended, @@ -743,9 +743,9 @@ export default tseslint.config( 'error', { 'singleline': 3, - 'multiline': 1, + 'multiline': 1 } - ], - }, - }, + ] + } + } );