fix linting errors
This commit is contained in:
parent
5f6808ba92
commit
341528ee4a
@ -111,10 +111,6 @@ var visit = function (node, name, scope) {
|
||||
return state;
|
||||
};
|
||||
|
||||
var hasParamOfSameName = function (name, scope) {
|
||||
return bindingInfo && bindingInfo.kind === "param";
|
||||
};
|
||||
|
||||
exports.property = function (node, file, scope) {
|
||||
var key = t.toComputedKey(node, node.key);
|
||||
if (!t.isLiteral(key)) return node; // we can't set a function id with this
|
||||
|
||||
@ -1,8 +1,5 @@
|
||||
"use strict";
|
||||
|
||||
var nameMethod = require("../../helpers/name-method");
|
||||
var util = require("../../../util");
|
||||
var t = require("../../../types");
|
||||
|
||||
//exports.ArrowFunctionExpression =
|
||||
exports.FunctionExpression = nameMethod.bare;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user