1 // https://eslint.org/docs/latest/user-guide/configuring/configuration-files
5 "plugin:mocha/recommended"
22 "L": true, // leaflet library
23 "Nominatim_Config": true
26 "camelcase": "off", // my_var is fine, no need for myVar
27 "func-names": "off", // anonymous "function()" is fine
29 "new-cap": "off", // constructor name can start lowercase (as Leaflet does)
30 "no-multiple-empty-lines": "off",
31 "no-use-before-define": ["error", { "functions": false }],
32 "padded-blocks": "off",
33 "no-param-reassign": "off",
40 "ignoreComments": false
46 "files": ["*.svelte"],
47 "processor": "svelte3/svelte3",
49 "no-label-var": "off" // eslint thinks $: (https://svelte.dev/tutorial/reactive-statements) are labels