Gathering detailed insights and metrics for rxjs-tslint
Gathering detailed insights and metrics for rxjs-tslint
Gathering detailed insights and metrics for rxjs-tslint
Gathering detailed insights and metrics for rxjs-tslint
npm install rxjs-tslint
Typescript
Module System
Node Version
NPM Version
88.3
Supply Chain
88.1
Quality
76.1
Maintenance
100
Vulnerability
97.9
License
TypeScript (99.68%)
JavaScript (0.32%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
310 Stars
46 Commits
41 Forks
7 Watchers
5 Branches
39 Contributors
Updated on Feb 16, 2025
Latest Version
0.1.8
Package Id
rxjs-tslint@0.1.8
Size
8.46 kB
NPM Version
6.9.2
Node Version
12.0.0
Published on
Apr 14, 2020
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
5
2
TSLint rules for rxjs.
This repository provides the following rules:
Rule name | Configuration | Description |
---|---|---|
rxjs-collapse-imports | none | Collapses multiple imports from rxjs to a single one |
rxjs-pipeable-operators-only | none | Migrates side-effect operators to pipeables |
rxjs-no-static-observable-methods | none | Migrates static Observable method calls |
rxjs-proper-imports | none | Updates RxJS 5.x.x imports to RxJS 6.0 |
Using the current set of rules allows you to automatically migrate your project which uses RxJS 5 to RxJS 6. Here's how you can perform the automatic migration:
1npm i -g rxjs-tslint 2rxjs-5-to-6-migrate -p [PATH_TO_TSCONFIG]
For an Angular CLI project the invocation of rxjs-5-to-6-migrate
will be:
1rxjs-5-to-6-migrate -p src/tsconfig.app.json
Note: The rules use type checking to find all the instances of operators that need to be migrated to pipeables. This requires you to have rxjs@5
installed so that tslint could find the correct type definitions.
If you're following the migration instructions from https://update.angular.io, between versions 5 and 6 you'll have to run ng update @angular/core
. This step will install rxjs-compat
, which will let rxjs-5-to-6-migrate
to perform the correct code transformations.
To use the exported rules without rxjs-5-to-6-migrate
, use the rulesDirectory
configuration property of tslint.json
:
1{ 2 "rulesDirectory": [ 3 "node_modules/rxjs-tslint" 4 ], 5 "rules": { 6 "rxjs-collapse-imports": true, 7 "rxjs-pipeable-operators-only": true, 8 "rxjs-no-static-observable-methods": true, 9 "rxjs-proper-imports": true 10 } 11}
To lint your project use:
./node_modules/.bin/tslint -c tslint.json -p tsconfig.json
MIT
No vulnerabilities found.
Reason
no vulnerabilities detected
Reason
no dangerous workflow patterns detected
Reason
all dependencies are pinned
Details
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
tokens are read-only in GitHub workflows
Reason
update tool detected
Details
Reason
GitHub code reviews found for 17 commits out of the last 30 -- score normalized to 5
Details
Reason
0 commit(s) out of 30 and 0 issue activity out of 30 found in the last 90 days -- score normalized to 0
Reason
no badge detected
Reason
branch protection not enabled on development/release branches
Details
Reason
security policy file not detected
Reason
project is not fuzzed
Score
Last Scanned on 2022-08-15
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More