2.0.0-beta.2 • Published 3 years ago

@3angletech/tslint v2.0.0-beta.2

Weekly downloads
20
License
MIT
Repository
github
Last release
3 years ago

tslintConfig

TypeScript Linting libraries created and maintained by 3angleTech.

Installation

# For Angular v11 projects.
npm install @3angletech/tslint@2 --save-dev

# For Angular v10 or non-Angular projects.
npm install @3angletech/tslint@1 --save-dev

Usage

This library contains linting rules for TypeScript, for Angular and for styling.

To use the TypeScript rules, update tslint.json to include:

{
  "extends": [
    "@3angletech/tslint/ts",
    "@3angletech/tslint/angular"
  ]
}

To use the StyleLint rules, update .stylelintrc to include:

{
  "extends": [
    "@3angletech/tslint/styles"
  ]
}

To publish a new version:

npm run build
npm publish dist/