Comments (5)
Changed my mind, lol
from lynt.
With tslint I had something like
"no-floating-promises": [true, "DocumentQuery", "Query", "MongooseThenable"],
from lynt.
Unfortunately a lot of the TS errors were added in pretty hastily when I was creating the initial TSLint config, so there are a lot of overly oppressive rules right now that will be removed very soon. They are being kept track of in this issue.
I don't think it would be a good idea to try to come up with every case with for Promise-like stuff, so I think it might be just a good idea to remove this rule altogether and add it to that issue. Thoughts?
from lynt.
Sounds good for me, maybe we could make a .lyntrc
file like prettier to allow altering these rules a little
from lynt.
Fixed by #16. There is already support for a .lyntrc
file as noted here, but it is only for the same stuff that the CLI offers like ignore
and such. I don't really want to add support for configuration of rules, because I think that vastly takes away from the point of this project.
The one thing I may consider is adding a disable
property to the settings which allows you to turn off any of the rules, but I think having something like enable
wouldn't make sense – the rules that you would want to enable should already exist in lynt
, and if they don't an issue should be raised about it or there is already a good reason why it shouldn't be in there.
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
- Avoid installing extra packages HOT 1
- 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.