1.0.0 • Published 7 years ago

standardts v1.0.0

Weekly downloads
58
License
MIT
Repository
github
Last release
7 years ago

StandardTS

Opinionated code style for TypeScript based on StandardJS.

npm install standardts -g

Currently supported

  • no semicolons
  • single quotes
  • use spaces for indent
  • no unused variables
  • use always === (only == null check allowed)
  • parameters named err or error must always be handled

Usage

standardts <files...> [--fix]

standardts by default will run linting on every ts or tsx file in the current working directory (omitting node_modules and typings)

Missing core rules

TSlint rules created thanks to this project:

  • handle-callback-err

Development

Package is under heavy development. Community input is appreciated.

1.0.0

7 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago