tslint-midway-contrib

1.20.1 • Public • Published

tslint-midway-contrib

Package Quality PRs Welcome

this is a sub package for midway.

Document: https://midwayjs.org/midway

Install

tnpm i tslint tslint-midway-contrib --save-dev

Usage

  • package.json
  "prettier"{
    "singleQuote": true
  }

Configuration

  • tslint.json
{
  "extends": ["tslint-midway-contrib"]
}

Which Rules Should I Turn On?

There certainly are a lot of options! To start, you can enable our recommended defaults (recommended ruleset) by adding "@ali/tslint-midway" under "extends" in your tslint.json:

{
    "extends": ["tslint-midway-contrib"],
    "rulesDirectory": ["node_modules/tslint-midway-contrib"],
    "rules": {
        // ...
    }
}

License

MIT

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i tslint-midway-contrib

    Weekly Downloads

    53

    Version

    1.20.1

    License

    MIT

    Unpacked Size

    45.3 kB

    Total Files

    12

    Last publish

    Collaborators

    • czy88840616