https://github.com/webcomputing/tslint-config-webcomputing
https://github.com/webcomputing/tslint-config-webcomputing
Last synced: 13 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/webcomputing/tslint-config-webcomputing
- Owner: webcomputing
- License: other
- Created: 2019-03-22T14:54:45.000Z (about 7 years ago)
- Default Branch: develop
- Last Pushed: 2024-09-06T03:44:54.000Z (almost 2 years ago)
- Last Synced: 2025-08-09T00:10:44.999Z (10 months ago)
- Size: 63.5 KB
- Stars: 0
- Watchers: 11
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
### TSLint Configuration Web Computing
## Installation
```
npm i tslint-config-webcomputing --save-dev
```
## Usage
Add the following config in your `tslint.json` file, to extend from our basic configuration:
```
{
"extends": "@webcomputing/tslint-config-webcomputing"
}
```
For angular workspaces, we recommend to extend from `tslint-angular.json`file
```
{
"extends": "@webcomputing/tslint-config-webcomputing/tslint-angular"
}
```
## Visual Studio Code
The popular VSCode linting extension [TSLint](https://marketplace.visualstudio.com/items?itemName=eg2.tslint) isn't able to support rules that need typing, e.g. `no-floating-promises` or `use-strict-boolean` and is hence deprecated.
Please make sure you use the new extension [TSLint](https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-typescript-tslint-plugin) along with [tslint-language-service](https://github.com/angelozerr/tslint-language-service).