shared-tslint-rules-example
v1.0.3
Published
Example package for sharing tslint rules across projects via a npm package
Downloads
2
Readme
Sharing tslint rules across multiple projects via a npm package
This repo is a npm package which can be used to share tslint rules across multiple projects. In microservice architectures built with TypeScript this is necessary to ensure a consistent code style and quality.
How to use this package
- Install this package via
npm install -D shared-tslint-rules-example
- Create a tslint.json as shown below and optional specific rules for your use case
- use tslint via command line/IDE/webpack
Example tslint.json which uses the shared rules
{
"extends": "shared-tslint-rules-example/tslint.json"
}