Commit 653fe4b2 authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

Updated the README.md.

No related merge requests found
Showing with 11 additions and 5 deletions
+11 -5
# irstea-typescript-config # irstea-typescript-config
TSC and TSLint configuration. TSC, TSLint and Prettier configuration.
# Installation # Installation
...@@ -16,19 +16,25 @@ In `tsconfig.json`: ...@@ -16,19 +16,25 @@ In `tsconfig.json`:
```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 ```json
{ {
"extends": [ "extends": [
"tslint:recommended",
"irstea-typescript-config" "irstea-typescript-config"
], ],
... ...
} }
``` ```
In `prettier.config.js`:
```js
module.exports = module.require('./node_modules/irstea-typescript-config/prettier.config');
```
{ {
"name": "irstea-typescript-config", "name": "irstea-typescript-config",
"version": "1.0.6", "version": "1.0.6",
"description": "TSC and TSLint configuration.", "description": "TSC, TSLint and Prettier configuration.",
"keywords": [ "keywords": [
"tslint", "tslint",
"tsc", "tsc",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment