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
The globals config added in #29 is not used automatically. I get lots of warnings about browser, by and such.
browser
by
I had to get and expose it myself:
const globals = require('eslint-plugin-protractor').configs.recommended.globals; module.exports = { plugins: [ 'protractor' ], globals: { ...globals } };
Maybe expose it as an environment as per the docs: https://eslint.org/docs/developer-guide/working-with-plugins#environments-in-plugins?
I'm using
eslint
eslint-plugin-protractor
The text was updated successfully, but these errors were encountered:
feat(config): add 'globals' env by default #88
e1db5e8
@tregusti thanks for the request and for using the plugin!
It's been a while I've personally used ESLint but I think I got what you meant. Please see if this solves your problem: e1db5e8. Thanks!
ESLint
Sorry, something went wrong.
It's now a part of 1.41.0 btw.
It works just fine. Thank you!
alecxe
No branches or pull requests
The globals config added in #29 is not used automatically. I get lots of warnings about
browser
,by
and such.I had to get and expose it myself:
Maybe expose it as an environment as per the docs: https://eslint.org/docs/developer-guide/working-with-plugins#environments-in-plugins?
I'm using
eslint
4.19.1eslint-plugin-protractor
1.40.2The text was updated successfully, but these errors were encountered: