question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"rxjs-no-unsafe-scope" false positve

See original GitHub issue

“rxjs-no-unsafe-scope” produces a false positive for the following piece of code:

platformBrowserDynamic()
    .bootstrapModule(AppModule)
    .catch(err => console.log(`ERROR CAUGHT: ${err}`)); // <=== HERE

What is interesting to note is that “bootstrapModule” returns a Promise, not Observable. So, i do not expect “rxjs-tslint-rules” to kick in here at all.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
cartantcommented, Jun 19, 2019

This project will be around for the foreseeable future, but perhaps not this rule. If it continues to effect bugs, I will likely deprecate and delete it. There are other, more useful, rules in this package than the unsafe scope rule.

0reactions
dmytro-gokuncommented, Jun 19, 2019

Gotcha. Thanks for the explanation.

Read more comments on GitHub >

github_iconTop Results From Across the Web

10 Medications That Can Cause a False Positive on Drug Tests
Some medications can cause “false positive” results on a urine drug test. · Antidepressants, decongestants, and dextromethorphan (an ingredient ...
Read more >
Participant‐Related Risk Factors for False‐Positive ... - NCBI
OBJECTIVES: Colorectal cancer (CRC) screening using fecal immunochemical tests (FIT) may reduce CRC‐related mortality but its effectiveness is influenced by ...
Read more >
What Is a False Positive COVID-19 Test? - Prevention.com
False positive COVID-19 tests occur when you don't have the novel coronavirus, but the test is positive. Experts explain how and why false ......
Read more >
False-Positive Interferences of Common Urine Drug Screen ...
False -positive results were described for amphetamines, opiates, benzodiazepines, cannabi- noids, tricyclic antidepressants, phencyclidine, ...
Read more >
Don't Dismiss False Positive Calprotectin Results
High fCAL reading classed as false positive calprotectin by colonoscopy may indicate small bowel Crohn's cases, confirmed by small bowel capsule endoscopy.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found