- "object-shorthand": "off",
- "prefer-arrow-callback": "off",
- "prefer-template": "off", // don't require emplates
- "no-var": "off" // don't require let/const
+ "vars-on-top": "off",
+ "new-cap": "off", // constructor name can start lowercase (as Leaflet does)
+ "no-multiple-empty-lines": "off",
+ "padded-blocks": "off",
+ "no-param-reassign": "off",
+ "max-len": [
+ "error",
+ 100,
+ 2,
+ {
+ "ignoreUrls": true,
+ "ignoreComments": false
+ }
+ ]
+ }
+ },
+ {
+ "files": ["handlebar_helpers.js"],
+ "globals": {
+ "get_config_value": true
+ }