Update to Prettier 2.3 (#13288)

This commit is contained in:
Sosuke Suzuki
2021-05-10 22:34:13 +09:00
committed by GitHub
parent 5ae3a6c2a4
commit b2d9156cc6
45 changed files with 262 additions and 364 deletions

View File

@@ -68,9 +68,8 @@ export default declare(api => {
if (!state.fileNameIdentifier) {
const fileName = state.filename || "";
const fileNameIdentifier = path.scope.generateUidIdentifier(
FILE_NAME_VAR,
);
const fileNameIdentifier =
path.scope.generateUidIdentifier(FILE_NAME_VAR);
const scope = path.hub.getScope();
if (scope) {
scope.push({