Skip to content

Commit 4227295

Browse files
committed
Use prettier
1 parent 4a8c614 commit 4227295

File tree

2 files changed

+23
-3
lines changed

2 files changed

+23
-3
lines changed

package-lock.json

Lines changed: 18 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
"scripts": {
66
"start": "npm run build-loose -- --watch",
77
"build": "npm run build-loose -- --strict",
8-
"build-loose": "ecmarkup --verbose --lint-spec --load-biblio @tc39/ecma262-biblio --load-biblio @tc39/ecma402-biblio spec.emu index.html"
8+
"build-loose": "ecmarkup --verbose --lint-spec --load-biblio @tc39/ecma262-biblio --load-biblio @tc39/ecma402-biblio spec.emu index.html",
9+
"format": "prettier . --write",
10+
"lint": "prettier . --check"
911
},
1012
"repository": {
1113
"type": "git",
@@ -26,6 +28,7 @@
2628
"devDependencies": {
2729
"@tc39/ecma262-biblio": "2.1",
2830
"@tc39/ecma402-biblio": "^2.1.1050",
29-
"ecmarkup": "github:jessealama/ecmarkup#permit-decimal-subscript-D"
31+
"ecmarkup": "github:jessealama/ecmarkup#permit-decimal-subscript-D",
32+
"prettier": "^3.5.3"
3033
}
3134
}

0 commit comments

Comments
 (0)