Comments (3)
I support this suggestion. Disabling this rule is the first thing I do when I setup a project with Deno. It's super annoying.
from deno_lint.
There is also https://typescript-eslint.io/rules/promise-function-async/ which makes so much sense to me.
What is it about type checking, is it not possible for deno to do that?
Or asked differently, is there any chance that deno will ever have a rule like promise-function-async
?
(And with the background of JSR "performant types" in which, if I understood it correctly, all exported functions have to declare their return type, maybe it would even be possible to that without type checks, by enforcing declaring the return type on all functions?)
from deno_lint.
Alternatively, the rule could catch situations like these and not report them as errors. Although, that might require type checking.
from deno_lint.
Related Issues (20)
- Lint to detect npm dependencies without versions
- `no-console` and `no-window` warn on object property names
- Support multiple line comments for ignore directive explanation
- Website: Going to lint rule `no-console` via diagnostic url displays nothing HOT 2
- Lint rule for non-bare specifier
- Lint rule for usage of `exports` or `module.exports`
- relax the `no-console` rule within the `Deno.test` calls or the whole test file HOT 2
- Tag All Rules HOT 1
- Interface with no members but with `extend` is not equivalent of the supertype
- no-unused-vars suggests breaking change.
- no-extra-non-null-assertion gives incorrect recommendation
- Class marked as unused when used in a static block
- ban-types gives misleading/wrong suggestion for empty object on generic bounds
- suggestion: `ban-untagged-deprecation` HOT 1
- lint for unused files, dependencies and exports
- `no-invalid-regexp` does not look inside function calls
- constructor overload of derived class should allow custom logic around calling super.
- Add LintDiagnostic::severity
- feature request: add doc comments linting
- feature request (lint): Warn user when they're trying to use `for in` with an array HOT 1
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 deno_lint.