Custom rule to identify unused goog.require() calls

This commit is contained in:
Tim Schaub
2016-08-07 16:14:40 -06:00
parent fe35c05860
commit 3c7e9f6870
5 changed files with 122 additions and 1 deletions
+6 -1
View File
@@ -35,6 +35,7 @@
"browserify": "13.1.0",
"closure-util": "1.15.0",
"derequire": "2.0.3",
"eslint-plugin-openlayers-internal": "file:test/rules",
"fs-extra": "0.30.0",
"glob": "7.0.5",
"handlebars": "4.0.5",
@@ -82,6 +83,9 @@
"goog": false,
"proj4": false
},
"plugins": [
"openlayers-internal"
],
"rules": {
"no-console": [
2,
@@ -91,7 +95,8 @@
]
}
],
"no-constant-condition": 0
"no-constant-condition": 0,
"openlayers-internal/no-unused-requires": 2
}
},
"ext": [