From 4a720625d92a24bd76dc9c4359ab23f0029782bb Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Sat, 31 Jan 2015 21:29:44 +1100 Subject: [PATCH] fix linting errors --- lib/6to5/detection/index.js | 2 +- lib/6to5/transformation/transformer.js | 1 - lib/6to5/transformation/transformers/es6/block-scoping.js | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/6to5/detection/index.js b/lib/6to5/detection/index.js index 990882457c..e73a492d1b 100644 --- a/lib/6to5/detection/index.js +++ b/lib/6to5/detection/index.js @@ -1,6 +1,6 @@ module.exports = detect; -var useragent = require("useragent"); +//var useragent = require("useragent"); var traverse = require("../traverse"); var SYNTAX_KEYS = require("./syntax-keys"); diff --git a/lib/6to5/transformation/transformer.js b/lib/6to5/transformation/transformer.js index a05821cfa6..6ef8575369 100644 --- a/lib/6to5/transformation/transformer.js +++ b/lib/6to5/transformation/transformer.js @@ -7,7 +7,6 @@ var isFunction = require("lodash/lang/isFunction"); var traverse = require("../traverse"); var isObject = require("lodash/lang/isObject"); var each = require("lodash/collection/each"); -var t = require("../types"); /** * This is the class responsible for normalising a transformers handlers diff --git a/lib/6to5/transformation/transformers/es6/block-scoping.js b/lib/6to5/transformation/transformers/es6/block-scoping.js index 6ccc69ddc3..9cd0037f8c 100644 --- a/lib/6to5/transformation/transformers/es6/block-scoping.js +++ b/lib/6to5/transformation/transformers/es6/block-scoping.js @@ -2,7 +2,6 @@ var traverse = require("../../../traverse"); var object = require("../../../helpers/object"); -var clone = require("lodash/lang/clone"); var util = require("../../../util"); var t = require("../../../types"); var values = require("lodash/object/values");