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
+4 -2
View File
@@ -158,7 +158,8 @@ describe('ol.source.Vector', function() {
url: 'spec/ol/source/vectorsource/single-feature.json'
});
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,
@@ -592,7 +593,8 @@ describe('ol.source.Vector', function() {
}
});
const div = document.createElement('div');
div.style.width = div.style.height = '100px';
div.style.width = '100px';
div.style.height = '100px';
document.body.appendChild(div);
const map = new Map({
target: div,