mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-21 12:46:09 +03:00
Update globals in .eslintrc files
1. Add Map as a global 2. Use readonly/writable over false/true Change 2 was done to use non-deprecated values (last paragraph of the section): https://eslint.org/docs/user-guide/configuring/language-options#using-configuration-files-1
This commit is contained in:
parent
c639dd15e3
commit
94f269d6d0
@ -278,8 +278,9 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"globals": {
|
"globals": {
|
||||||
"OpenSeadragon": true,
|
"OpenSeadragon": "writable",
|
||||||
"define": false,
|
"define": "readonly",
|
||||||
"module": false
|
"module": "readonly",
|
||||||
|
"Map": "readonly"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -17,9 +17,10 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"globals": {
|
"globals": {
|
||||||
"OpenSeadragon": true,
|
"OpenSeadragon": "writable",
|
||||||
"define": false,
|
"define": "readonly",
|
||||||
"module": false
|
"module": "readonly",
|
||||||
|
"Map": "readonly"
|
||||||
},
|
},
|
||||||
"rules": {
|
"rules": {
|
||||||
"no-unused-vars": [
|
"no-unused-vars": [
|
||||||
|
Loading…
Reference in New Issue
Block a user