Closed danwenzel closed 4 years ago
Hi @danwenzel
Environment option of the eslint
tool is a basic option. It should not be set-up in the plugin.
To fix this problem, specify the env
option in the .eslint
configuration file.
Ah, that makes sense. I was thinking we could set the env
automatically for anyone using the plugin, but I see now that that's not the eslint convention. Thanks!
If you try to access an environment variable using
process.env
(as instructed by the testcafe docs), eslint throws'process' is not defined
.I believe we need to add
node: true
to theenv
config: