- "comma-dangle": "off", // no comman after last item in list needed
- "func-names": "off", // anonymous 'function()' is fine
- "object-shorthand": "off",
- "prefer-arrow-callback": "off",
- "prefer-template": "off", // don't require emplates
- "no-var": "off" // don't require let/const
+ "new-cap": "off", // constructor name can start lowercase (as Leaflet does)
+ "no-multiple-empty-lines": "off",
+ "no-use-before-define": ["error", { "functions": false }],
+ "padded-blocks": "off",
+ "no-param-reassign": "off",
+ "max-len": [
+ "error",
+ 100,
+ 2,
+ {
+ "ignoreUrls": true
+ }
+ ]
+ }
+ },
+ {
+ "files": ["test/**"],
+ "globals": {
+ "browser": true
+ }