fix linting

This commit is contained in:
Milan Pässler 2017-03-17 03:19:03 +01:00
parent 62d64c717c
commit 2630b6197d
2 changed files with 6 additions and 9 deletions

View file

@ -311,7 +311,7 @@ define(["map/clientlayer", "map/labelslayer",
localStorage.setItem("map/customLayers", JSON.stringify(Object.keys(customLayers)));
}
} catch (e) {
console.error(e);
}
}

View file

@ -13,15 +13,12 @@ module.exports = function (grunt) {
},
eslint: {
options: {
extends: [
"defaults/configurations/eslint"
],
rules: {
"semi": [2, "never"],
"curly": [2, "multi"],
"strict": [2, "never"],
"no-multi-spaces": 0,
"no-new": 0,
"no-shadow": 0,
"no-use-before-define": [1, "nofunc"],
"no-underscore-dangle": 0
"semi": [2, "always"],
"no-undef": 0
}
},
sources: {