New eslint config with no-multi-assign

This commit is contained in:
Andreas Hocevar
2019-11-02 15:20:21 +01:00
parent 06ae419db6
commit ac50cc3460
35 changed files with 162 additions and 85 deletions

View File

@@ -197,7 +197,8 @@ describe('ol.Map', function() {
let map;
beforeEach(function() {
const target = document.createElement('div');
target.style.width = target.style.height = '100px';
target.style.width = '100px';
target.style.height = '100px';
document.body.appendChild(target);
map = new Map({
target: target,
@@ -259,7 +260,8 @@ describe('ol.Map', function() {
let target, map, layer;
beforeEach(function() {
target = document.createElement('div');
target.style.width = target.style.height = '100px';
target.style.width = '100px';
target.style.height = '100px';
document.body.appendChild(target);
layer = new VectorLayer({
source: new VectorSource({
@@ -360,7 +362,8 @@ describe('ol.Map', function() {
useGeographic();
target = document.createElement('div');
target.style.width = target.style.height = size + 'px';
target.style.width = size + 'px';
target.style.height = size + 'px';
document.body.appendChild(target);
map = new Map({
@@ -413,7 +416,8 @@ describe('ol.Map', function() {
useGeographic();
target = document.createElement('div');
target.style.width = target.style.height = size + 'px';
target.style.width = size + 'px';
target.style.height = size + 'px';
document.body.appendChild(target);
map = new Map({