From 80f9a7c5a58beed95b067be6bababc4cbf4dcc06 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Sat, 2 Jan 2016 11:17:49 -0700 Subject: [PATCH] Use ESLint --- package.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/package.json b/package.json index 4b9a24a26f..82d8a9d409 100644 --- a/package.json +++ b/package.json @@ -53,6 +53,8 @@ "clean-css": "3.4.9", "coveralls": "2.11.6", "debounce": "^1.0.0", + "eslint": "v2.0.0-alpha-2", + "eslint-config-openlayers": "^1.0.0", "expect.js": "0.3.1", "gaze": "^0.5.1", "istanbul": "0.4.1", @@ -68,6 +70,16 @@ "slimerjs-edge": "0.10.0-pre-3", "wrench": "1.5.8" }, + "eslintConfig": { + "extends": "openlayers", + "globals": { + "ol": false, + "goog": false + }, + "rules": { + "no-multiple-empty-lines": [2, {"max": 3, "maxEOF": 1}] + } + }, "ext": [ "rbush", {