Disable var usage for the test/unit folder

This allows us to enforce that `var` is not used anymore in the unit
tests to modernize the code and prevent subtle bugs.
This commit is contained in:
Tim van der Meij 2020-10-25 15:38:52 +01:00
parent b4ca3d55b8
commit 314ac21842
No known key found for this signature in database
GPG Key ID: 8C3FD2925A5F2762

10
test/unit/.eslintrc Normal file
View File

@ -0,0 +1,10 @@
{
"extends": [
"../.eslintrc"
],
"rules": {
// ECMAScript 6
"no-var": "error",
},
}