mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-03 19:57:19 +00:00
b8122cc40b
This will allow us to write ES6 code for the new features which is limited to those browsers. For browsers that do not support ES6, the code will not execute because of the "es6" flag. Doing this will help us avoid issues like T293402 Change-Id: Iffb7098cb22395e33b87352fb4f08516f6f25e6f
22 lines
304 B
JSON
22 lines
304 B
JSON
{
|
|
"root": true,
|
|
"extends": [
|
|
"wikimedia/client-es6",
|
|
"wikimedia/jquery",
|
|
"wikimedia/mediawiki"
|
|
],
|
|
"env": {
|
|
"browser": true
|
|
},
|
|
"parserOptions": {
|
|
"sourceType": "module"
|
|
},
|
|
"settings": {
|
|
"jsdoc": {
|
|
"preferredTypes": {
|
|
"VectorHeaderObserver": "VectorHeaderObserver"
|
|
}
|
|
}
|
|
}
|
|
}
|