Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit c445df8

Browse files
committed
Add clang-format script
1 parent d1b3f03 commit c445df8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"benchmark": "node benchmark/marker-index.benchmark.js",
1616
"prepublishOnly": "npm run build:browser",
1717
"standard": "standard --recursive src test",
18+
"format": "clang-format -i src/core/*.cc src/core/*.h src/bindings/*.cc src/bindings/*.h src/bindings/em/*.cc src/bindings/em/*.h",
1819
"tidy": "clang-tidy src/core/*.cc src/core/*.h src/bindings/*.cc src/bindings/*.h src/bindings/em/*.cc src/bindings/em/*.h",
1920
"tidy:fix": "npm run tidy -- --fix --fix-errors"
2021
},

0 commit comments

Comments
 (0)