0.1.12 • Published 6 years ago

tslint-mango v0.1.12

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

tslint-mango v0.1.12

TSLint preset

The recommended .prettierrc is included, but must be installed manually.

This preset extends the following presets (in order):

Rules

Here are the rules I use from each of the presets.

Unlisted presets have all of their rules used.

tslint-clean-code

  • "no-commented-out-code": true

tslint-react

These rules are described here.

  • "jsx-boolean-value": true
  • "jsx-curly-spacing": [true, "never"]
  • "jsx-equals-spacing": [true, "never"]
  • "jsx-self-close": true
  • "jsx-space-before-trailing-slash": true
  • "jsx-wrap-multiline": true

tslint-jasmine-rules

These rules are only warnings:

  • "no-focused-tests": true
  • "no-disabled-tests": true

tslint-etc

  • "no-unused-declaration": true

tslint-misc-rules

Custom rules

interface-member-separator

Enforce which character separates interface members.

Usage:

[true, ";"] # semicolon
[true, ","] # comma
[true, ""]  # none

Has fixer? Yes

0.1.12

6 years ago

0.1.11

6 years ago

0.1.10

6 years ago

0.1.9

6 years ago

0.1.8

6 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago