Move eslint globals to to test/.eslintrc
This commit is contained in:
@@ -2,5 +2,10 @@
|
|||||||
"rules": {
|
"rules": {
|
||||||
"openlayers-internal/no-missing-requires": 0,
|
"openlayers-internal/no-missing-requires": 0,
|
||||||
"openlayers-internal/valid-provide": 0
|
"openlayers-internal/valid-provide": 0
|
||||||
|
},
|
||||||
|
"globals": {
|
||||||
|
"createMapDiv": true,
|
||||||
|
"disposeMap": true,
|
||||||
|
"resemble": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
/*global createMapDiv, disposeMap*/
|
|
||||||
goog.provide('ol.test.control.ZoomSlider');
|
goog.provide('ol.test.control.ZoomSlider');
|
||||||
|
|
||||||
goog.require('ol.Map');
|
goog.require('ol.Map');
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
/*global createMapDiv, disposeMap*/
|
|
||||||
goog.provide('ol.test.interaction.KeyboardPan');
|
goog.provide('ol.test.interaction.KeyboardPan');
|
||||||
|
|
||||||
goog.require('ol.Map');
|
goog.require('ol.Map');
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
/*global createMapDiv, disposeMap*/
|
|
||||||
goog.provide('ol.test.interaction.KeyboardZoom');
|
goog.provide('ol.test.interaction.KeyboardZoom');
|
||||||
|
|
||||||
goog.require('ol.Map');
|
goog.require('ol.Map');
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
/*global createMapDiv, disposeMap*/
|
|
||||||
goog.provide('ol.test.interaction.MouseWheelZoom');
|
goog.provide('ol.test.interaction.MouseWheelZoom');
|
||||||
|
|
||||||
goog.require('ol.Map');
|
goog.require('ol.Map');
|
||||||
|
|||||||
@@ -1,6 +1,3 @@
|
|||||||
/* global resemble:false */
|
|
||||||
/* eslint-disable openlayers-internal/no-missing-requires */
|
|
||||||
|
|
||||||
// FIXME remove afterLoadXml as it uses the wrong XML parser on IE9
|
// FIXME remove afterLoadXml as it uses the wrong XML parser on IE9
|
||||||
|
|
||||||
// helper functions for async testing and other utility functions.
|
// helper functions for async testing and other utility functions.
|
||||||
|
|||||||
Reference in New Issue
Block a user