1.0.1 • Published 6 years ago

@synergycodes/tslint-config v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

@synergycodes/tslint-config

It's recommended code style for Synergy Codes organization

EditorConfig

This package also includes sample .editorconfig for all our projects. Please copy that into main directory of your project. To find out what it is and how to integrate with your tools please look here.

Installation

Open your terminal window and type

npm install typescript tslint @synergycodes/tslint-config --save-dev

Create tslint.json file in main directory of your project and it should look as follows.

{ "extends": "@synergycodes/tslint-config" }

Linting in CI

To lint your project it's nice to intergate that with your existing workflow ex. using webpack plugin. However, it can be easily run in console using following cmd

./node_modules/.bin/tslint --project .

Plugins

There are bunch of plugins that integrates this package with existing workflow