Check out our website at ipfs.tech.
For papers on IPFS, please see the Academic Papers section of the IPFS Docs.
MIT.
An ESLint Shareable Config used by IPFS project
License: Other
Check out our website at ipfs.tech.
For papers on IPFS, please see the Academic Papers section of the IPFS Docs.
MIT.
The eslint estree parser is very out of date:
See ipfs/aegir#1007
However due to dependency conflicts it may not be possible to upgrade until a new version is released here:
This repository for some reason goes against the conventional "main" branch and is using 'default' - not sure why? Can it be renamed to main for uniformity?
This rule stops you from doing things like:
const self = this
function foo () {
return self.derp()
}
It prefers:
const foo = () => {
return this.derp()
}
Which is fine. The problem is fat-arrows can't be generator functions and we use them all over the place so you have to use this
aliases:
const self = this
function * foo () {
yield self.derp()
}
typescript should be a dependency on the config as otherwise the rules don't work in standalone
The default setting for @typescript-eslint/return-await
is ['error', 'always'].
This disallows code like:
async function myAsyncFunction () {
return someOtherAsyncFunction()
}
instead demanding:
async function myAsyncFunction () {
return await someOtherAsyncFunction()
}
It doesn't seem to make any difference to the stack traces and we have other rules that catch floating promises so I'm not sure what value it adds, and it occasionally raises some eyebrows.
The rule comes from standard but it's not even clear that the standard maintainers are for this version of the rule.
It does have another mode which is "in-try-catch"
, this disallows this sort of thing, demanding and await
before the return
, which seems a bit more useful, as it looks like the author might think any rejection would be caught which is not the case:
try {
return someOtherAsyncFunction()
} catch (err) {
// phew!
}
Shall we switch this rule to "in-try-catch"
?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.