mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 21:08:12 +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
|
@ -2,16 +2,19 @@ test("Issue #3641, strict mode should be function- or program-level, not block-l
|
|||
function func() {
|
||||
expect(isStrictMode()).toBeFalse();
|
||||
|
||||
// prettier-ignore
|
||||
{
|
||||
"use strict";
|
||||
expect(isStrictMode()).toBeFalse();
|
||||
}
|
||||
|
||||
// prettier-ignore
|
||||
if (true) {
|
||||
"use strict";
|
||||
expect(isStrictMode()).toBeFalse();
|
||||
}
|
||||
|
||||
// prettier-ignore
|
||||
do {
|
||||
"use strict";
|
||||
expect(isStrictMode()).toBeFalse();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue