build: 👷 fix little things around ts building

This commit is contained in:
Michel Roux 2024-10-18 15:46:40 +02:00
parent 0024507ed5
commit 3a503e1969
4 changed files with 4 additions and 7 deletions

View File

@ -9,5 +9,6 @@
/node_modules/ /node_modules/
/js/ /js/
/css/
/build/ /build/

View File

@ -9,5 +9,6 @@ tests/.phpunit.cache
node_modules/ node_modules/
js/ js/
css/
build/ build/

View File

@ -15,7 +15,6 @@ class MyConfig extends Config
$rules['curly_braces_position']['classes_opening_brace'] = 'next_line_unless_newline_at_signature_end'; $rules['curly_braces_position']['classes_opening_brace'] = 'next_line_unless_newline_at_signature_end';
$rules['phpdoc_separation'] = false; $rules['phpdoc_separation'] = false;
$rules['phpdoc_to_comment'] = false; $rules['phpdoc_to_comment'] = false;
$rules['single_line_comment_style'] = false;
return $rules; return $rules;
} }
} }

View File

@ -2,9 +2,8 @@
"extends": "@vue/tsconfig/tsconfig.json", "extends": "@vue/tsconfig/tsconfig.json",
"include": ["./src/**/*.ts", "./src/**/*.vue", "**/*.ts"], "include": ["./src/**/*.ts", "./src/**/*.vue", "**/*.ts"],
"compilerOptions": { "compilerOptions": {
"allowJs": true,
"allowSyntheticDefaultImports": true, "allowSyntheticDefaultImports": true,
"target": "ESNext", "target": "ES2022",
"module": "ESNext", "module": "ESNext",
"moduleResolution": "Bundler", "moduleResolution": "Bundler",
"noImplicitAny": false, "noImplicitAny": false,
@ -12,8 +11,5 @@
"strict": true, "strict": true,
"noEmit": true, "noEmit": true,
"allowImportingTsExtensions": true, "allowImportingTsExtensions": true,
}, }
"vueCompilerOptions": {
"target": 3.3,
},
} }