mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeEditor
synced 2024-11-27 08:30:26 +00:00
build: Update linters
Change-Id: I9baecb9fd4b9d9bf86897ccec8289614b136c3a2
This commit is contained in:
parent
bbf2d290e7
commit
4ad54da406
|
@ -1,11 +1,10 @@
|
|||
{
|
||||
"extends": "wikimedia",
|
||||
"env": {
|
||||
"browser": true
|
||||
},
|
||||
"extends": [
|
||||
"wikimedia/client",
|
||||
"wikimedia/jquery"
|
||||
],
|
||||
"globals": {
|
||||
"mw": false,
|
||||
"$": false,
|
||||
"OO": false
|
||||
},
|
||||
"rules": {
|
||||
|
|
|
@ -683,6 +683,7 @@
|
|||
* @param {Object} extended
|
||||
*/
|
||||
saveAndExtend = function ( base, extended ) {
|
||||
// eslint-disable-next-line jquery/no-map-util
|
||||
$.map( extended, function ( func, name ) {
|
||||
var orig;
|
||||
if ( name in base ) {
|
||||
|
|
|
@ -8,18 +8,16 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"ace-builds": "1.2.9",
|
||||
"eslint-config-wikimedia": "0.8.1",
|
||||
"eslint-plugin-qunit": "3.3.0",
|
||||
"eslint-config-wikimedia": "0.9.0",
|
||||
"grunt": "1.0.3",
|
||||
"grunt-banana-checker": "0.6.0",
|
||||
"grunt-contrib-clean": "1.1.0",
|
||||
"grunt-contrib-clean": "2.0.0",
|
||||
"grunt-contrib-copy": "1.0.0",
|
||||
"grunt-eslint": "21.0.0",
|
||||
"grunt-exec": "3.0.0",
|
||||
"grunt-jsonlint": "1.1.0",
|
||||
"grunt-stylelint": "0.10.1",
|
||||
"postcss-less": "1.1.3",
|
||||
"stylelint": "9.2.0",
|
||||
"stylelint-config-wikimedia": "0.4.3"
|
||||
"stylelint-config-wikimedia": "0.5.0"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue