2.0.1 • Published 5 years ago

@privacycloud/tslint-config v2.0.1

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

PrivacyCloud shared TSLint configuration

Usage

First, you need to install all the required dependencies:

npm i --save-dev typescript tslint @privacycloud/tslint-config

Once every package is installed, it is time to setup your local TSLint configuration. Depending on the project, you may want to extend one file or another from the shared configuration.

NOTE: you can still overwrite any extended rule in your local configuration.

Client-side projects

tslint.json:

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

Server-side projects

tslint.json:

{
  "extends": "@privacycloud/tslint-config/server"
}

privacycloud-tslint-config/server inherits the whole base configuration but it overwrites some rules for server-side projects (i.e. it disables the no-console rule).

Contributing

In order to publish any update from this package to the npm registry, please follow the following instructions about publishing packages to npm and working with scoped packages on npm.

TL;DR

npm adduser # "npm login" if you already have an account
npm publish --access=public

NOTE: Your user must be a member of the @privacycloud organization on npm.

2.0.1

5 years ago

2.0.0

5 years ago

1.4.1

6 years ago

1.4.0

6 years ago

1.3.0

6 years ago

1.1.0

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago