Use ESLint
This commit is contained in:
@@ -53,6 +53,8 @@
|
|||||||
"clean-css": "3.4.9",
|
"clean-css": "3.4.9",
|
||||||
"coveralls": "2.11.6",
|
"coveralls": "2.11.6",
|
||||||
"debounce": "^1.0.0",
|
"debounce": "^1.0.0",
|
||||||
|
"eslint": "v2.0.0-alpha-2",
|
||||||
|
"eslint-config-openlayers": "^1.0.0",
|
||||||
"expect.js": "0.3.1",
|
"expect.js": "0.3.1",
|
||||||
"gaze": "^0.5.1",
|
"gaze": "^0.5.1",
|
||||||
"istanbul": "0.4.1",
|
"istanbul": "0.4.1",
|
||||||
@@ -68,6 +70,16 @@
|
|||||||
"slimerjs-edge": "0.10.0-pre-3",
|
"slimerjs-edge": "0.10.0-pre-3",
|
||||||
"wrench": "1.5.8"
|
"wrench": "1.5.8"
|
||||||
},
|
},
|
||||||
|
"eslintConfig": {
|
||||||
|
"extends": "openlayers",
|
||||||
|
"globals": {
|
||||||
|
"ol": false,
|
||||||
|
"goog": false
|
||||||
|
},
|
||||||
|
"rules": {
|
||||||
|
"no-multiple-empty-lines": [2, {"max": 3, "maxEOF": 1}]
|
||||||
|
}
|
||||||
|
},
|
||||||
"ext": [
|
"ext": [
|
||||||
"rbush",
|
"rbush",
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user