How do I use this project?
See original GitHub issueI 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:
- Created 5 years ago
- Comments:5
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Sorry, my problem was that I did not realize that the migration was dependent on rxjs-compat being used in the project code.
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
.