Join GitHub today
Disallow string concatenation when using __dirname and __filename (no-path-concat) #403
var fullPath = __dirname + "/foo.js";
var fullPath = path.join(__dirname, "foo.js");
From eslint docs:
7.5% of packages either don't work on Windows, or their tests don't work on Windows.
I think we should enable this, because even though this will make people change their code, this is actually a real problem – a programmer error — in their code that should be fixed.