Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 799 Bytes

README.md

File metadata and controls

38 lines (27 loc) · 799 Bytes

po-tslint

⚠️ PO TSLint is deprecated.

Migramos para o @angular-eslint veja nossa documentação de apoio.

Package with lint rules used in the PO UI.

Install

npm i --save-dev @po-ui/ng-tslint

Usage

To apply lint rules used in PO projects you should, after installing the package, add the following lines of code in the tslint.json file, found at the root of your project.

"extends": [
  "@po-ui/ng-tslint"
]

Your file should look like this:

{
  "extends": [
    "@po-ui/ng-tslint"
  ],
  "rules": {
    // your personal rules.
  }
}

For more informations read Starting with po-tslint.