From a2410bc511d39ed749c91bf904ca1833a06f51a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Stocki?= Date: Mon, 11 Sep 2017 12:37:50 +0200 Subject: [PATCH] Added Readme --- Readme.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/Readme.md b/Readme.md index e69de29..3921808 100644 --- a/Readme.md +++ b/Readme.md @@ -0,0 +1,35 @@ +# tslint-config-uxpin + +UXPin recommended TSLint configuration. + +## Installation + +Install TSLint and `tslint-config-uxpin`: + + yarn add --dev tslint tslint-config-uxpin + +or + + npm install tslint tslint-config-uxpin --save-dev + +Then create a `tslint.json` file in the root directory of your package, with the following contents: + +```json +{ + "extends": "tslint-config-uxpin" +} +``` + +## Customization + +In some cases, default configuration of the `tslint-config-uxpin` may not fit specifics of your projects. In most cases it's unrecommended but still possible to override the default configuration: + +```json +{ + "extends": "tslint-config-uxpin", + "rules": { + "no-default-export": false, + "match-default-export-name": true + } +} +```