@telenorfrontend/tslint-config-telenor

0.1.1 • Public • Published

TypeScript

Linting

We mainly use tslint to lint our TypeScript.

Tooling

For tslint to work properly we need to install tslint as a dev-dependency.

Install dependencies

Install tslint:

npm install --save-dev tslint

Install tslint config

npm install --save-dev @telenorfrontend/tslint-config-telenor

Add lint script to package.json

scripts: {
  ...
  "test:tslint": "tslint list of your sources",
  ...
}

Extend your local tslint.json

Create your local tslint.json in the project root and add the following:

{
  "extends": "@telenorfrontend/tslint-config-telenor"
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.1
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.1
    2
  • 0.1.0
    1

Package Sidebar

Install

npm i @telenorfrontend/tslint-config-telenor

Weekly Downloads

3

Version

0.1.1

License

Apache-2.0

Last publish

Collaborators

  • td-travis-ci
  • pkkummermo