@manuth/tslint-presets
Version:
A set of personal linting-rulesets for TypeScript
26 lines (22 loc) • 971 B
Markdown
# THIS PACKAGE IS DEPRECATED
As it is recommended to move from `tslint` to `eslint`, this package is now deprecated.
You might want to move on to using `eslint` and install use the presets of the [`@manuth/eslint-plugin-typescript` package](https://github.com/manuth/ESLintPresets.git).
# TSLintPresets
A set of personal linting-rulesets for TypeScript
## Usage
The provided linting-presets can be used by setting the `extends`-option of the `tslint.json`-file:
***tslint.json:***
```json
{
"extends": "@manuth/tslint-presets/recommended"
}
```
By setting this option your `tslint.json`-file will inherit the `recommended`-file located in the `@manuth/tsconfig`-module.
## Presets
Following presets are available in this module:
* `@manuth/tslint-presets`:
The short form of `@manuth/tslint-presets/recommended`
* `@manuth/tslint-presets/recommended`:
manuth's recommended settings
* `@manuth/tslint-presets/weak`:
manuth's weak settings