Giter Club home page Giter Club logo

Comments (5)

bhovhannes avatar bhovhannes commented on September 14, 2024

Pull request #51 closes this one.

Airbnb styleguide includes a lot of rules related with JSX, React and other stuff which is not used here.
In #51 basic ESLint support has been added. I think we can have this as starting point in any case.

from tslint-loader.

jmlopez-rod avatar jmlopez-rod commented on September 14, 2024

Why not use typescript and tslint?

from tslint-loader.

bhovhannes avatar bhovhannes commented on September 14, 2024

That will require additional transpilation step, which we think is overhead for relatively small amount of code we currently have

from tslint-loader.

jmlopez-rod avatar jmlopez-rod commented on September 14, 2024

True, an additional step, but as the code grows you have added error checks done by typescript. I wouldn't think so much as typescript having to traspile the code. I like to think more of typescript as as additional error checker. Also, the transpilation doesn't take long.

from tslint-loader.

bhovhannes avatar bhovhannes commented on September 14, 2024

I don't think the code here will grow much. This is the loader for webpack. It does not aim to do complex things.
I personally use Typescript now in one of mine projects and find it extremely useful for refactoring code. But my code is approx. 50 times longer than the code of this loader, and I don't think we'll gain big benefits from Typescript here.
Another downside of typescript is that after introducing it you'll bring in remap-Istanbul for correct code coverage, which is not actively maintained and has several nasty issues.

from tslint-loader.

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.