When I use require in my JavaScript, I get a warning from eslint, "require is not defined eslint(no-undef)".
Except for this one file, all the files in my project uses the browser env, which is set in my .eslintrc.
How can I make an exception and specify a node env for just this one file?
var fs = require('fs');
var path = require('path');
// my code