]> git.openstreetmap.org Git - nominatim-ui.git/blob - .eslintrc.json
when &viewbox was set in URL display a green rectangle on map
[nominatim-ui.git] / .eslintrc.json
1 {
2     "env": {
3         "browser": true,
4         // "es6": true,
5         "jquery": true
6     },
7     "extends": [
8         "airbnb-base"
9     ],
10     "globals": {
11         "jQuery": true,
12         "Handlebars": true,
13         "L": true // Leaflet
14     },
15     "parserOptions": {
16         "ecmaVersion": 2018
17     },
18     "rules": {
19         "camelcase": "off", // abd_def is fine
20         "vars-on-top": "off",
21         "comma-dangle": "off", // no comman after last item in list needed
22         "func-names": "off", // anonymous 'function()' is fine
23         "object-shorthand": "off",
24         "prefer-arrow-callback": "off",
25         "prefer-template": "off", // don't require emplates
26         "no-var": "off" // don't require let/const
27     }
28 }