GithubHelp home page GithubHelp logo

Avoid installing extra packages about lynt HOT 1 OPEN

saadq avatar saadq commented on June 23, 2024
Avoid installing extra packages

from lynt.

Comments (1)

saadq avatar saadq commented on June 23, 2024 1

Hey @danielpa9708, very sorry about the delay in my response. I've been away for a bit, but should now have some more time to continue work on open-source stuff.

When I first created the project, I had been considering making lynt and tslynt as two separate projects, mainly due to the huge size of babel-eslint, which as you mention is a really big package for TypeScript users who won't even be using it. I ended up deciding not to go that way for "simplicity" and to just make life easier regardless for js/flow/react/ts users.

Nowadays, I'm pretty much all-in on TypeScript, so I definitely feel the pain a lot more. I think I agree with you in that we should be able to opt-in out of eslint/babel stuff.

So there's two ways we could probably do this.

  1. Your approach:
# for typescript
$ npm i lynt lynt-ts

# for js
$ npm i lynt lynt-js

2: Lynt becomes something you should install globally, and then you run lynt --init to set it up for a specific project, which installs all the necessary packages you will need

# for typescript
$ lynt --init --typescript

# for js
$ lynt --init

I think I'm leaning more towards your approach. I'll look into implementing this soon, unless I get some other feedback on alternative suggestions.

from lynt.

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.