JSPM

  • Created
  • Published
  • Downloads 970
  • Score
    100M100P100Q96198F
  • License MIT

A sharable TSLint configuration

Package Exports

  • @aaronchenwei/tslint-config

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@aaronchenwei/tslint-config) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

tslint-config

`NPM version` `Downloads` `Dependencies`

This is an opinioned tslint configuration with prettier.

Installation

yarn add --dev @aaronchenwei/tslint-config tslint

Usage

In file tslint.json

{
  "extends": ["@aaronchenwei/tslint-config", "tslint-config-prettier"]
}

In order to configure pretitier, install packages and then add following to file package.json

yarn add --dev husky prettier pretty-quick
  "prettier": {
    "singleQuote": true,
    "trailingComma": "es5"
  },
  "husky": {
    "hooks": {
      "pre-commit": "pretty-quick --staged"
    }
  }

Versioning

+----- Major version.
| +--- Minor version has BREAKING CHANGE and feature.
| | +- Patch version has patch.
| | |
x.x.x

License

MIT