From 653fe4b2f1deef5e360bb105bd6de3c660600db0 Mon Sep 17 00:00:00 2001 From: Perreal Guillaume <guillaume.perreal@irstea.fr> Date: Tue, 19 Mar 2019 13:14:14 +0100 Subject: [PATCH] Updated the README.md. --- README.md | 14 ++++++++++---- package.json | 2 +- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a7845c8..94d7d3d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # irstea-typescript-config -TSC and TSLint configuration. +TSC, TSLint and Prettier configuration. # Installation @@ -16,19 +16,25 @@ In `tsconfig.json`: ```json { - "extends": "node_modules/irstea-typescript-config/tsconfig.json", + "extends": "./node_modules/irstea-typescript-config/tsconfig.json", ... } ``` -In `tsling.json`: +In `tslint.json`: ```json { "extends": [ - "tslint:recommended", "irstea-typescript-config" ], ... } ``` + +In `prettier.config.js`: + +```js +module.exports = module.require('./node_modules/irstea-typescript-config/prettier.config'); +``` + diff --git a/package.json b/package.json index 41d5374..73e8fd4 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "irstea-typescript-config", "version": "1.0.6", - "description": "TSC and TSLint configuration.", + "description": "TSC, TSLint and Prettier configuration.", "keywords": [ "tslint", "tsc", -- GitLab