-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
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
feat(globals): Add Cypress support #28
Conversation
.eslintrc.js
Outdated
ENV: true, | ||
after: true, | ||
before: true, | ||
browser: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What are your thoughts on browser
given this config is used on node projects too. Should we add a separate node profile that sets this to false
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Usually it's one config for the whole project though, not sure if we want to start splitting it and creating extra setup for that 🤔
Might be able to make this list a cypress only list, given our env settings...
Maybe this PR should pivot to adding cypress support using eslint-plugin-cypress? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nailed it!
BREAKING CHANGE:
ENV
andbrowser
globals are no longer supported and should be added where applicable as a project config. For webdriveriobrowser
usewebdriverio
plugin