mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:27:35 +00:00
Base+LibJS+LibWeb: Make prettier clean
Also use "// prettier-ignore" comments where necessary rather than excluding whole files (via .prettierignore).
This commit is contained in:
parent
76239f89c2
commit
5122f98198
24 changed files with 100 additions and 79 deletions
|
@ -1,6 +1,4 @@
|
|||
// This file must not be formatted by prettier. Make sure your IDE
|
||||
// respects the .prettierignore file!
|
||||
|
||||
// prettier-ignore
|
||||
test("new-expression parsing", () => {
|
||||
function Foo() {
|
||||
this.x = 1;
|
||||
|
@ -21,6 +19,7 @@ test("new-expression parsing", () => {
|
|||
expect(foo).toBe("[object Object]2");
|
||||
});
|
||||
|
||||
// prettier-ignore
|
||||
test("new-expressions with object keys", () => {
|
||||
let a = {
|
||||
b: function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue