mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CategoryTree
synced 2024-11-30 11:06:55 +00:00
44998a759a
The following sniffs are failing and were disabled: * MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic * MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage 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: Ib5a3697712078a4ed22195c274eae9c82ddd7227
16 lines
187 B
JSON
16 lines
187 B
JSON
{
|
|
"root": true,
|
|
"extends": [
|
|
"wikimedia",
|
|
"wikimedia/mediawiki",
|
|
"wikimedia/jquery"
|
|
],
|
|
"env": {
|
|
"browser": true,
|
|
"commonjs": true
|
|
},
|
|
"rules": {
|
|
"no-shadow": "warn"
|
|
}
|
|
}
|