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.

How do I use this project?

See original GitHub issue

I am on a just created Angular 6 RC project. I added rxjs-lint, but tsline complains.

Here is my src/tslint.json:

{
  "extends": [
    "../tslint.json",
    "rxjs-tslint"
  ],
  "rules": {
    "rxjs-collapse-imports": true,
    "rxjs-pipeable-operators-only": true,
    "rxjs-no-static-observable-methods": true,
    "rxjs-proper-imports": true,
    "directive-selector": [true, "attribute", "app", "camelCase"],
    "component-selector": [true, "element", "app", "kebab-case"]
  }
}

I get this error when I run tslint --project .\tsconfig.app.json from the src directory:

Could not find implementations for the following rules specified in the configuration:
    rxjs-collapse-imports
    rxjs-pipeable-operators-only
    rxjs-no-static-observable-methods
    rxjs-proper-imports
Try upgrading TSLint and/or ensuring that you have all necessary custom rules installed.
If TSLint was recently upgraded, you may have old rules configured which need to be cleaned up.

I tried adding, as per your tests to a .ts file:

import { foo } from 'rxjs';
import { bar } from 'rxjs';

But got no warnings.

I am using tslint 5.9.1.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
tony-gutierrezcommented, May 5, 2018

Sorry, my problem was that I did not realize that the migration was dependent on rxjs-compat being used in the project code.

1reaction
mgechevcommented, Apr 26, 2018

Here’s how you can add custom rules https://palantir.github.io/tslint/usage/tslint-json/ (see rulesDirectory). Will add details in the readme.

The readme explains how to migrate your project with rxjs-5-to-6-migrate.

Read more comments on GitHub >

github_iconTop Results From Across the Web

This video explains how to use the Project App in ... - YouTube
This video explains how to use the Project App in Microsoft Teams. Project app. The tutor starts off by demonstrating a channel with...
Read more >
Project Beginner Tutorial - YouTube
Project Beginner Tutorial Who it's For: Microsoft Project is professional ... How to use Microsoft Planner | Complete Guide | Add to Teams....
Read more >
Tutorial for Beginners in 14 MINUTES! [ Office 2021 ] - YouTube
Microsoft Project is indeed the most used project management software available. With either a subscription plan or a perpetual license ...
Read more >
Get started with Project for the web - Microsoft Support
Create a project. On the Project Home page, select New blank project. Select Untitled project. A pane will appear on the right where...
Read more >
How to Use Microsoft Project - A Quick Guide - ProjectManager
Using Microsoft Project often isn't easy. This guide lays out how to use Microsoft Project, from starting a project, scheduling & more.
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