From 5a983ff4d2a73c89f8894f0c17e9ae78cfe026a3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Mon, 24 Apr 2023 15:11:17 +0200 Subject: [PATCH] refactor: format configuration files MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- tsconfig-base.json | 8 ++++++-- ui/web/tsconfig.json | 32 ++++++-------------------------- 2 files changed, 12 insertions(+), 28 deletions(-) diff --git a/tsconfig-base.json b/tsconfig-base.json index e3dba047..28e4186c 100644 --- a/tsconfig-base.json +++ b/tsconfig-base.json @@ -7,7 +7,9 @@ // "incremental": true, /* Enable incremental compilation */ "target": "es2022", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */ "module": "esnext", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */ - "lib": ["es2022"], /* Specify library files to be included in the compilation. */ + "lib": [ + "es2022" + ], /* Specify library files to be included in the compilation. */ // "allowJs": true, /* Allow javascript files to be compiled. */ // "checkJs": true, /* Report errors in .js files. */ // "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */ @@ -68,5 +70,7 @@ // "skipLibCheck": true, /* Skip type checking of declaration files. */ "forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */ }, - "exclude": ["ui/web/**/*.ts"] + "exclude": [ + "ui/web/**/*.ts" + ] } diff --git a/ui/web/tsconfig.json b/ui/web/tsconfig.json index bfd63b8a..bec95477 100644 --- a/ui/web/tsconfig.json +++ b/ui/web/tsconfig.json @@ -1,37 +1,17 @@ { "$schema": "https://json.schemastore.org/tsconfig", - "extends": [ - "@tsconfig/node20/tsconfig.json", - "@vue/tsconfig/tsconfig.json" - ], + "extends": ["@tsconfig/node20/tsconfig.json", "@vue/tsconfig/tsconfig.json"], "compilerOptions": { "experimentalDecorators": true, "allowSyntheticDefaultImports": true, "sourceMap": true, "baseUrl": ".", - "types": [ - "node", - "mocha", - "chai" - ], + "types": ["node", "mocha", "chai"], "paths": { - "@/*": [ - "src/*" - ] + "@/*": ["src/*"] }, - "lib": [ - "esnext", - "dom" - ] + "lib": ["esnext", "dom"] }, - "include": [ - "src/**/*.ts", - "src/**/*.tsx", - "src/**/*.vue", - "tests/**/*.ts", - "tests/**/*.tsx" - ], - "exclude": [ - "node_modules" - ] + "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue", "tests/**/*.ts", "tests/**/*.tsx"], + "exclude": ["node_modules"] } -- 2.34.1