Run new lint rules (#5413)
This commit is contained in:
@@ -42,7 +42,7 @@ const visitor = {
|
||||
|
||||
state.selfReference = true;
|
||||
path.stop();
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
function wrap(state, method, id, scope) {
|
||||
@@ -60,7 +60,7 @@ function wrap(state, method, id, scope) {
|
||||
const template = build({
|
||||
FUNCTION: method,
|
||||
FUNCTION_ID: id,
|
||||
FUNCTION_KEY: scope.generateUidIdentifier(id.name)
|
||||
FUNCTION_KEY: scope.generateUidIdentifier(id.name),
|
||||
}).expression;
|
||||
template.callee._skipModulesRemap = true;
|
||||
|
||||
@@ -82,10 +82,10 @@ function wrap(state, method, id, scope) {
|
||||
function visit(node, name, scope) {
|
||||
const state = {
|
||||
selfAssignment: false,
|
||||
selfReference: false,
|
||||
outerDeclar: scope.getBindingIdentifier(name),
|
||||
references: [],
|
||||
name: name
|
||||
selfReference: false,
|
||||
outerDeclar: scope.getBindingIdentifier(name),
|
||||
references: [],
|
||||
name: name,
|
||||
};
|
||||
|
||||
// check to see if we have a local binding of the id we're setting inside of
|
||||
|
||||
Reference in New Issue
Block a user