Skip to content

How to use with eslint 9 flat config? #136

@Christoph142

Description

@Christoph142

I don't have the slightest idea how to make it work.
I added import rxjs from "eslint-plugin-rxjs-updated"; at the top of eslint.config.mjs
and rxjs.configs.recommended into extends config block for ts files.
But all I get is an error about the first rule specified in the package:
TypeError: Key "rules": Key "rxjs/no-async-subscribe": Could not find plugin "rxjs".

(I also tried installing the original eslint-plugin-rxjs package in addition as well as using an alias for this package: "eslint-plugin-rxjs": "npm:eslint-plugin-rxjs-updated@^1.0.12". Both didn't yield any improvement)

Anything I forgot or any hint to make it work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions