mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ReplaceText
synced 2024-11-13 17:51:35 +00:00
8f054de250
The following sniffs are failing and were disabled: * Generic.ControlStructures.DisallowYodaConditions.Found * MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate * MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage * MediaWiki.Usage.ExtendClassUsage.FunctionVarUsage Additional changes: * Dropped .inc files from .phpcs.xml (T200956). * 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: I4ace90c3162ca94e401d80d9d68f278c6a2e9960
15 lines
186 B
JSON
15 lines
186 B
JSON
{
|
|
"root": true,
|
|
"extends": [
|
|
"wikimedia",
|
|
"wikimedia/mediawiki",
|
|
"wikimedia/jquery"
|
|
],
|
|
"env": {
|
|
"browser": true
|
|
},
|
|
"rules": {
|
|
"no-jquery/no-global-selector": "warn"
|
|
}
|
|
}
|