Bump eslint-config-babel and fix lint (#5129)
This commit is contained in:
committed by
Daniel Tschinder
parent
2457c8ee14
commit
8c35b320d3
@@ -50,7 +50,7 @@ export default function ({ types: t }) {
|
||||
: null;
|
||||
|
||||
const fileNameIdentifier = path.scope.generateUidIdentifier(FILE_NAME_VAR);
|
||||
path.hub.file.scope.push({id: fileNameIdentifier, init: t.stringLiteral(fileName)});
|
||||
path.hub.file.scope.push({ id: fileNameIdentifier, init: t.stringLiteral(fileName) });
|
||||
state.fileNameIdentifier = fileNameIdentifier;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user