diff --git a/package.json b/package.json index dc03345a1b25786619bab69fb44bdeb6ec3b34c2..99e66f0c1ffb3c4f4181d5e605ff1d91548cd11a 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 228767cceb9e743dd798486025b33bf9f8d6126c..bbd71884510b4df7b9497aaaf0770df7f5c5d17d 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 2a73af45f75e9f98d4c3b66ca14a757f2a3736a6..1896f0918e59d26649b0f7c76b1f7111a9568b47 100644 --- a/tslint.json +++ b/tslint.json @@ -1,5 +1,6 @@ { "extends": [ + "tslint:recommended", "irstea-typescript-config" ], "rulesDirectory": [