We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request
Current behavior?
e.g. await expectAsync(new Promise... triggers 'expectAsync' is not defined
await expectAsync(new Promise...
'expectAsync' is not defined
What is the expected behavior? At least it should pass wit
Please mention your node.js, eslint-plugin-jasmine and operating system version. Node: 9 eslint-plugin-jasmine: 2.10.1 os: MacOS, docker node:9-alpine jasmine 3.2.0
The text was updated successfully, but these errors were encountered:
I think this would be handled by eslint globals instead.
Sorry, something went wrong.
@sidvishnoi Can you please elaborate? Is there a way we could it get working now?
This project's readme says:
ESLint itself provides a Jasmine environment for Jasmine's global variables
meaning globals are not handled here.
So, we can add to following to .eslintrc.yml:
.eslintrc.yml
globals: expectAsync: true
It would be a workaround until sindresorhus/globals#152 is merged and included in eslint
ok, thx, makes sense.
No branches or pull requests
Feature request
Current behavior?
e.g.
await expectAsync(new Promise...
triggers'expectAsync' is not defined
What is the expected behavior?
At least it should pass wit
Please mention your node.js, eslint-plugin-jasmine and operating system version.
Node: 9
eslint-plugin-jasmine: 2.10.1
os: MacOS, docker node:9-alpine
jasmine 3.2.0
The text was updated successfully, but these errors were encountered: