X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/51dab2d73981ff460f7ddc4408df9767ce81ce7a..8299637b4b6b4f1d07c6c5d55c441108b8b71d84:/.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": {