3.0.0 • Published 4 years ago

@lego/tslint-config-prettier v3.0.0

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

@lego/tslint-config-prettier

Purpose

This is a stand-alone all-round configuration that inherits prettier configurations from @lego/prettier-config and is tailored towards usage with tslint.

If you want to use your own tslint ruleset without the other packages like @lego/tslint-config then you should install this package, otherwise refer to the aforementioned.

Installation

Install this config package:

npm i -D @lego/tslint-config-prettier

Usage

Extend your tslint.json, and make sure @lego/tslint-config-prettier is at the end:

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

Rules

This package currently implements rules from the following tslint extensions:

Overriding Rules

With the above tslint.json configuration example, you can still use or override already defined rules as such:

{
  "extends": ["tslint:latest", "@lego/tslint-config-prettier"],
  "rules": {
    "prettier": [true, {
      "printWidth": 100,
      "semi": true,
      "singleQuote": true,
      "trailingComma": "es5",
      "arrowParens": "always",
      "proseWrap": "preserve"',
    }],
  }
}
3.0.0

4 years ago

2.0.0

4 years ago

1.17.2

4 years ago

1.17.1

4 years ago

1.17.1-alpha.0

4 years ago

1.17.0

4 years ago

1.16.1

4 years ago

1.16.0

4 years ago

1.15.1

4 years ago

1.15.0

4 years ago

1.14.2

4 years ago

1.14.1

4 years ago

1.14.0

4 years ago

1.13.1

4 years ago

1.13.0

4 years ago

1.11.1

4 years ago

1.11.0

4 years ago

1.10.15

4 years ago

1.10.14

4 years ago

1.10.13

4 years ago

1.10.12

4 years ago

1.10.11

4 years ago

1.10.9

4 years ago

1.10.8

4 years ago

1.10.7

4 years ago

1.10.6

4 years ago

1.10.5

4 years ago

1.10.4

4 years ago

1.9.0

5 years ago

1.8.1

5 years ago

1.8.1-alpha.6

5 years ago

1.8.1-alpha.1

5 years ago

1.8.1-alpha.0

5 years ago

1.8.0

5 years ago

1.7.19

5 years ago

1.7.17

5 years ago

1.7.16

5 years ago

1.7.15

5 years ago

1.7.14

5 years ago

1.7.13

5 years ago

1.7.12

5 years ago

1.7.11

5 years ago

1.7.7

5 years ago

1.7.6

5 years ago

1.7.5

5 years ago

1.7.4

5 years ago

1.7.3

5 years ago

1.7.2

5 years ago

1.7.1

5 years ago