]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - .eslintrc.json
Add build output into dist/ for immediate use
[nominatim-ui.git] / .eslintrc.json
index 908eb4d736bd19ce42f481e174992487f4f7886f..a05265dc40e4dc63fdc7b27b1560d4926288d659 100644 (file)
@@ -2,7 +2,8 @@
 {
   "extends": [
     "airbnb-base/legacy",
 {
   "extends": [
     "airbnb-base/legacy",
-    "plugin:mocha/recommended"
+    "plugin:mocha/recommended",
+    "plugin:svelte/recommended"
   ],
   "parserOptions": {
     "ecmaVersion": 2019,
   ],
   "parserOptions": {
     "ecmaVersion": 2019,
@@ -12,7 +13,7 @@
     "browser": true
   },
   "plugins": [
     "browser": true
   },
   "plugins": [
-    "svelte3",
+    "svelte",
     "mocha"
   ],
   "overrides": [
     "mocha"
   ],
   "overrides": [
           100,
           2,
           {
           100,
           2,
           {
-            "ignoreUrls": true,
-            "ignoreComments": false
+            "ignoreUrls": true
           }
         ]
       }
     },
           }
         ]
       }
     },
-    {
-      "files": ["*.svelte"],
-      "processor": "svelte3/svelte3",
-      "rules": {
-        "no-label-var": "off" // eslint thinks $: (https://svelte.dev/tutorial/reactive-statements) are labels
-      }
-    },
     {
       "files": ["test/**"],
       "globals": {
     {
       "files": ["test/**"],
       "globals": {