Merge pull request #3171 from kepta/lint-modules

Allow linter to do static analysis on modules
This commit is contained in:
Bryan Housel
2016-06-15 11:14:20 -04:00
committed by GitHub
2 changed files with 7 additions and 3 deletions
+4 -1
View File
@@ -2,5 +2,8 @@
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
}
},
extends: [
"plugin:import/errors"
]
}
+3 -2
View File
@@ -27,6 +27,7 @@
"d3": "3.5.5",
"editor-layer-index": "git://github.com/osmlab/editor-layer-index.git#gh-pages",
"eslint": "^2.12.0",
"eslint-plugin-import": "^1.8.1",
"glob": "~3.1.21",
"happen": "0.1.2",
"http-server": "^0.9.0",
@@ -38,6 +39,7 @@
"mocha": "~2.5.3",
"mocha-phantomjs-core": "^2.0.1",
"name-suggestion-index": "0.1.1",
"phantomjs-prebuilt": "2.1.7",
"request": "~2.16.2",
"rollup": "0.31.2",
"sinon": "~1.6",
@@ -46,8 +48,7 @@
"svg-sprite": "1.2.19",
"uglify-js": "~2.4.16",
"xml2js": "~0.4.13",
"xmlbuilder": "~4.2.0",
"phantomjs-prebuilt": "2.1.7"
"xmlbuilder": "~4.2.0"
},
"engines": {
"node": ">=0.10.0"