This repository has been archived by the owner on Mar 23, 2024. It is now read-only.
does not support async methods #2270
Labels
Comments
Fixed in cst repo |
How do I use the cst repo?
|
Wait until cst is updated in jscs, hence this ticket is still open |
I still get this issue. See related issue filed with AtomLinter AtomLinter/linter-jscs#282 for more info. Sample Code: import shortid from 'shortid';
const rootResolvers = () => {
return {
Query: {
async test(root, args, context) {
return test;
},
},
};
};
export default rootResolvers; JSCS CLI Export:
|
Those are different issues - you are talking about object method whereas original issue is about class method, created - cst/cst#133 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Using the airbnb preset with:
I get:
It works fine with:
The text was updated successfully, but these errors were encountered: