mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-12-18 02:41:09 +00:00
00fc2c3f1e
The following sniffs are failing and were disabled: * MediaWiki.Commenting.FunctionComment.ObjectTypeHintParam * MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate * MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected * MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic * MediaWiki.Commenting.PropertyDocumentation.WrongStyle Additional changes: * Added the `wikimedia/mediawiki` profile in .eslintrc.json (T262222). * Added the `wikimedia/jquery` profile in .eslintrc.json (T262222). * Removed global `$`, included in the `wikimedia/jquery` profile (T262222). * Removed global `mw`, included via `wikimedia/mediawiki` profile (T262222). * Dropped the emtpy global definition in .eslintrc.json. Change-Id: Ib0acbf92bcb8327ecd065db5db1083d7b222976c
19 lines
337 B
JSON
19 lines
337 B
JSON
{
|
|
"root": true,
|
|
"extends": [
|
|
"wikimedia",
|
|
"wikimedia/mediawiki",
|
|
"wikimedia/jquery"
|
|
],
|
|
"env": {
|
|
"browser": true
|
|
},
|
|
"rules": {
|
|
"no-jquery/no-global-selector": "warn",
|
|
"no-jquery/no-parse-html-literal": "warn",
|
|
"no-jquery/no-global-selector": "warn",
|
|
"mediawiki/class-doc": "warn",
|
|
"mediawiki/msg-doc": "warn"
|
|
}
|
|
}
|