Comments (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.
- 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)
- upgrade eslint v5 HOT 1
- Group related packages together into monorepo
- ESLint compromise
- Logo
- Remove `no-unused-variable` in TSLint config
- Tslint with exportedConfig and lynt have different output HOT 4
- lint typescript using eslint HOT 2
- --strict mode HOT 1
- Add eslint-plugin-react-hooks for react lint config
- Invalid "is defined but never used" errors HOT 6
- Add jest config HOT 7
- ESLint 5 Breaking Change: Globs to lint MUST be valid HOT 1
- Auto-detect if the user needs react, flow, or typescript support
- Lynt v1 HOT 1
- Create gitter chat and add badge of it HOT 1
- --watch mode
- CLI flags should override config file options
- 30 high severity vulnerabilities in 2466 scanned packages HOT 3
- Is this project alive?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lynt.