Code Monkey home page Code Monkey logo

Comments (6)

smorimoto avatar smorimoto commented on August 20, 2024 3

+1

from rxjs-tslint.

break7533 avatar break7533 commented on August 20, 2024 1

Yeah, in the meanwhile in the projects I work on we just moved all the rules to the eslint.json file and everything works dandy

from rxjs-tslint.

lorenzodallavecchia avatar lorenzodallavecchia commented on August 20, 2024

Did someone ever try using these rules with ESLint?
In my project, I use ESLint exclusively since TSLint is now deprecated.

from rxjs-tslint.

lorenzodallavecchia avatar lorenzodallavecchia commented on August 20, 2024

@break7533 do you have an example of how to use rxjs-tslint with ESLint?
I'm trying to configure the rules in eslintrc.js but it always errors out saying that the rule definition was not found.

from rxjs-tslint.

break7533 avatar break7533 commented on August 20, 2024

We are now using eslint-plugin-rxjs

And on .eslintrc.json we just add the rules, example

"rules": {
        "rxjs/no-internal": "error",
        "rxjs/no-async-subscribe": "error",
        "rxjs/no-nested-subscribe": "error",
        "rxjs/no-unbound-methods": "error",
}

from rxjs-tslint.

lorenzodallavecchia avatar lorenzodallavecchia commented on August 20, 2024

Yeah, I have tried eslint-plugin-rxjs.
The bad part is that it does not have a rule for detecting usages of non-pipeable operators.
I guess I'll have to live with that.

from rxjs-tslint.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.