Browse Source

fix(build): fait taire le linter car L est globale et les magics numbers sont utiles à la carto (paramètres d icones)

tags/v090
François Poulain 11 months ago
parent
commit
1de8a59e80
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      .eslintrc

+ 5
- 0
.eslintrc View File

@@ -1,4 +1,7 @@
{
"globals": {
"L": true,
},
"env": {
"browser": true,
"es6": true
@@ -52,11 +55,13 @@
"no-labels": "error",
"no-lone-blocks": "error",
"no-loop-func": "error",
/*
"no-magic-numbers": ["error", {
"ignore": [-1, 0, 1],
"ignoreArrayIndexes": true
}
],
*/
"no-multi-spaces": ["error", {
"ignoreEOLComments": true,
"exceptions": {

Loading…
Cancel
Save