Disable no-missing-requires rule in generated shader code

This commit is contained in:
Tim Schaub
2017-05-02 10:54:17 -06:00
parent 3f973e6fa3
commit 479d98212b
13 changed files with 19 additions and 12 deletions

View File

@@ -446,8 +446,8 @@ if (ol.ENABLE_WEBGL) {
// get the locations
var locations;
if (!this.defaultLocations_) {
locations =
new ol.render.webgl.linestringreplay.defaultshader.Locations(gl, program);
// eslint-disable-next-line openlayers-internal/no-missing-requires
locations = new ol.render.webgl.linestringreplay.defaultshader.Locations(gl, program);
this.defaultLocations_ = locations;
} else {
locations = this.defaultLocations_;