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:
parent
b4ca3d55b8
commit
314ac21842
10
test/unit/.eslintrc
Normal file
10
test/unit/.eslintrc
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"extends": [
|
||||||
|
"../.eslintrc"
|
||||||
|
],
|
||||||
|
|
||||||
|
"rules": {
|
||||||
|
// ECMAScript 6
|
||||||
|
"no-var": "error",
|
||||||
|
},
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user