mediawiki-extensions-Multim.../resources/.eslintrc.json
Fomafix 3481080251 Improve variable declarations in JavaScript
Use the eslint rule
	"no-var": "error"
in resources/.eslintrc.json and in .eslintrc.json
to require the use of `const` and `let` instead of `var`.

Bug: T337102
Change-Id: I3b3d6d426966a97c13f62494443f62bd5b790920
2023-11-06 23:11:23 +00:00

31 lines
631 B
JSON

{
"root": true,
"extends": [
"wikimedia/client",
"wikimedia/jquery",
"wikimedia/mediawiki"
],
"rules": {
"no-var": "error",
"max-len": "off",
"no-jquery/no-class-state": "off",
"no-jquery/no-support": "off"
},
"settings": {
"jsdoc": {
"preferredTypes": {
"Config": "Config",
"License": "License",
"LightboxImage": "LightboxImage",
"MultimediaViewer": "MultimediaViewer",
"Repo": "Repo",
"TaskQueue": "TaskQueue",
"TaskQueueLightboxImage": "TaskQueueLightboxImage",
"Thumbnail": "Thumbnail",
"ThumbnailWidth": "ThumbnailWidth",
"UiElement": "UiElement"
}
}
}
}