Skip to content
This repository has been archived by the owner on Jan 2, 2022. It is now read-only.

Latest commit

 

History

History
39 lines (28 loc) · 773 Bytes

README.md

File metadata and controls

39 lines (28 loc) · 773 Bytes

DEPRECATED

NPM @latest

usage

eslint(recommend)

// add .eslintrc.json
{
    "extends": "@kidwen/tslint"
}

tslint(deprecated)

// add tslint.json
{
    "extends": "@kidwen/tslint/tslint.json",
    "rules": {
        "component-selector": [true, "element", "app", "kebab-case"],
        "deprecation": false
    },
    "rulesDirectory": ["codelyzer"]
}

publish

$ npm publish
  • publish to https://registry.npmjs.org/
  • no longer publish to github repository

install this package in your project

$ npm i @kidwen/tslint