From 77290d9c780dabc268a2f2ece5b7763aff8f77fa Mon Sep 17 00:00:00 2001 From: Perreal Guillaume <guillaume.perreal@irstea.fr> Date: Tue, 17 Sep 2019 12:28:46 +0200 Subject: [PATCH] Fixed the configuration of code quality tools. --- package.json | 1 + tsconfig.common.json | 3 ++- tslint.json | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index dc03345..99e66f0 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,7 @@ "lint": "ng lint", "package": "ng-packagr" }, + "prettier": "./node_modules/irstea-typescript-config/prettier.config.js", "peerDependencies": { "@angular/common": "^8.2.0", "@angular/core": "^8.2.0", diff --git a/tsconfig.common.json b/tsconfig.common.json index 228767c..bbd7188 100644 --- a/tsconfig.common.json +++ b/tsconfig.common.json @@ -1,4 +1,5 @@ { + "extends": "./node_modules/irstea-typescript-config/tsconfig.json", "compilerOptions": { "outDir": "out-tsc/lib", "target": "es2015", @@ -9,7 +10,7 @@ "typeRoots": [ "node_modules/@types" ], - "moduleResolution": "node", + "moduleResolution": "node" }, "angularCompilerOptions": { "annotateForClosureCompiler": true, diff --git a/tslint.json b/tslint.json index 2a73af4..1896f09 100644 --- a/tslint.json +++ b/tslint.json @@ -1,5 +1,6 @@ { "extends": [ + "tslint:recommended", "irstea-typescript-config" ], "rulesDirectory": [ -- GitLab