From db61631708841019d16b774f894867c79b9975e1 Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Fri, 18 Oct 2024 15:46:40 +0200 Subject: [PATCH] build: :construction_worker: fix little things around ts building --- .l10nignore | 1 + .php-cs-fixer.dist.php | 1 - tsconfig.json | 8 ++------ 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.l10nignore b/.l10nignore index dc590f0..89e7f37 100644 --- a/.l10nignore +++ b/.l10nignore @@ -9,5 +9,6 @@ tests/.phpunit.cache node_modules/ js/ +css/ build/ diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index 4b71520..273bc13 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -15,7 +15,6 @@ class MyConfig extends Config $rules['curly_braces_position']['classes_opening_brace'] = 'next_line_unless_newline_at_signature_end'; $rules['phpdoc_separation'] = false; $rules['phpdoc_to_comment'] = false; - $rules['single_line_comment_style'] = false; return $rules; } } diff --git a/tsconfig.json b/tsconfig.json index 9fcbaff..730e0e3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,9 +2,8 @@ "extends": "@vue/tsconfig/tsconfig.json", "include": ["./src/**/*.ts", "./src/**/*.vue", "**/*.ts"], "compilerOptions": { - "allowJs": true, "allowSyntheticDefaultImports": true, - "target": "ESNext", + "target": "ES2022", "module": "ESNext", "moduleResolution": "Bundler", "noImplicitAny": false, @@ -12,8 +11,5 @@ "strict": true, "noEmit": true, "allowImportingTsExtensions": true, - }, - "vueCompilerOptions": { - "target": 3.3, - }, + } }