Match xplat/yoga/javascript prettier conventions

Summary:
Match Prettier config to match other Meta OSS projects

Didn't update the test generator to use this form yet.

Reviewed By: yungsters

Differential Revision: D45570415

fbshipit-source-id: d5fd791b047debf41c28aecac75fb8dde16da3e3
This commit is contained in:
Nick Gerleman
2023-05-09 15:35:42 -07:00
committed by Facebook GitHub Bot
parent 0cb4a49d38
commit 0a6a581936
29 changed files with 197 additions and 199 deletions

View File

@@ -5,11 +5,11 @@
* LICENSE file in the root directory of this source tree.
*/
import { Yoga } from "./tools/globals";
import {Yoga} from './tools/globals';
import { getMeasureCounterMax } from "./tools/MeasureCounter";
import {getMeasureCounterMax} from './tools/MeasureCounter';
test("measure_once_single_flexible_child", () => {
test('measure_once_single_flexible_child', () => {
const root = Yoga.Node.create();
root.setFlexDirection(Yoga.FLEX_DIRECTION_ROW);
root.setAlignItems(Yoga.ALIGN_FLEX_START);