X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/7ed97d6aceab15f29088f45aa6fbf1eda551173d..33ee9e3e73dfead56bd0a0067e35c3faad5b3404:/.eslintrc.json diff --git a/.eslintrc.json b/.eslintrc.json index 908eb4d..a05265d 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -2,7 +2,8 @@ { "extends": [ "airbnb-base/legacy", - "plugin:mocha/recommended" + "plugin:mocha/recommended", + "plugin:svelte/recommended" ], "parserOptions": { "ecmaVersion": 2019, @@ -12,7 +13,7 @@ "browser": true }, "plugins": [ - "svelte3", + "svelte", "mocha" ], "overrides": [ @@ -36,19 +37,11 @@ 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": {