mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-21 23:58:07 +02:00
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
1 changed files with 10 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue