X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/d1075b7512f5004614ac98c174f2ba699cb510b9..f5a2de8df679bee5d57eb4f4134143991bfbb137:/.eslintrc.json?ds=sidebyside 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": {