Meta: Increase the line length enforced by prettier to 120

This matches our coding style recommendation in CodingStyle.md, and
matches our python formatting.
This commit is contained in:
Timothy Flynn
2025-10-31 11:50:48 -04:00
committed by Tim Flynn
parent b7ecdad685
commit 019c529c07
Notes: github-actions[bot] 2025-10-31 23:56:51 +00:00
178 changed files with 774 additions and 2019 deletions

View File

@@ -1,9 +1,7 @@
test("basic functionality", () => {
let string = `{"var1":10,"var2":"hello","var3":{"nested":5}}`;
let object = JSON.parse(string, (key, value) =>
typeof value === "number" ? value * 2 : value
);
let object = JSON.parse(string, (key, value) => (typeof value === "number" ? value * 2 : value));
expect(object).toEqual({ var1: 20, var2: "hello", var3: { nested: 10 } });
object = JSON.parse(string, (key, value) => (typeof value === "number" ? undefined : value));