fix linting
This commit is contained in:
parent
62d64c717c
commit
2630b6197d
|
@ -311,7 +311,7 @@ define(["map/clientlayer", "map/labelslayer",
|
||||||
localStorage.setItem("map/customLayers", JSON.stringify(Object.keys(customLayers)));
|
localStorage.setItem("map/customLayers", JSON.stringify(Object.keys(customLayers)));
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
console.error(e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -13,15 +13,12 @@ module.exports = function (grunt) {
|
||||||
},
|
},
|
||||||
eslint: {
|
eslint: {
|
||||||
options: {
|
options: {
|
||||||
|
extends: [
|
||||||
|
"defaults/configurations/eslint"
|
||||||
|
],
|
||||||
rules: {
|
rules: {
|
||||||
"semi": [2, "never"],
|
"semi": [2, "always"],
|
||||||
"curly": [2, "multi"],
|
"no-undef": 0
|
||||||
"strict": [2, "never"],
|
|
||||||
"no-multi-spaces": 0,
|
|
||||||
"no-new": 0,
|
|
||||||
"no-shadow": 0,
|
|
||||||
"no-use-before-define": [1, "nofunc"],
|
|
||||||
"no-underscore-dangle": 0
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
sources: {
|
sources: {
|
||||||
|
|
Loading…
Reference in a new issue