build: Replace jscs+jshint with eslint
[lhc/web/wiklou.git] / resources / src / mediawiki.special / mediawiki.special.apisandbox.js
index 89a314c..16c10fb 100644 (file)
@@ -1,4 +1,4 @@
-/*global OO */
+/* eslint-disable no-use-before-define */
 ( function ( $, mw, OO ) {
        'use strict';
        var ApiSandbox, Util, WidgetMethods, Validators,
                                                } else {
                                                        n = +value;
                                                        return !isNaN( n ) && isFinite( n ) &&
-                                                               /* jshint bitwise: false */
+                                                               // eslint-disable-next-line no-bitwise
                                                                ( n | 0 ) === n &&
-                                                               /* jshint bitwise: true */
                                                                n >= pi.min && n <= pi.apiSandboxMax;
                                                }
                                        } );