Disabled ESlint for search suggestions since it is on ES6

This commit is contained in:
alistair3149 2020-02-15 18:52:29 -05:00
parent 509acf94b4
commit a2a39b9e5e
No known key found for this signature in database
GPG key ID: 94D081060FD3DD9C
2 changed files with 2 additions and 6 deletions

View file

@ -2,8 +2,7 @@
* Based on https://gerrit.wikimedia.org/g/wikimedia/portals/+/refs/heads/master
* See T219590 for more details
*/
/* eslint-env node, es6 */
/* eslint-disable */
/* global WMTypeAhead, _, addEvent */
( function ( WMTypeAhead ) {

View file

@ -2,14 +2,10 @@
* Based on https://gerrit.wikimedia.org/g/wikimedia/portals/+/refs/heads/master
* See T219590 for more details
*/
/* eslint-env node, es6 */
/**
* Below are additional dependency extracted from polyfills.js
* TODO: Optimize and clear unneeded code
*/
/**
* Detects reported or approximate device pixel ratio.
* * 1.0 means 1 CSS pixel is 1 hardware pixel
@ -20,6 +16,7 @@
*
* @return {number} Device pixel ratio
*/
/* eslint-disable */
function getDevicePixelRatio() {
if ( window.devicePixelRatio !== undefined ) {