diff options
author | Alon Zakai <azakai@google.com> | 2024-02-08 11:19:24 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-08 11:19:24 -0800 |
commit | f09af77ce103add9d60b656d8bd7e995120dc54e (patch) | |
tree | 3c89c61b3bf93d3d8da043c3754d1fa19f6cdfbb /.clang-format | |
parent | 6e1e53f093a92177405d59a6733bfe3e57a5b877 (diff) | |
download | binaryen-f09af77ce103add9d60b656d8bd7e995120dc54e.tar.gz binaryen-f09af77ce103add9d60b656d8bd7e995120dc54e.tar.bz2 binaryen-f09af77ce103add9d60b656d8bd7e995120dc54e.zip |
Add package.json for unit tests (#6245)
The JS there is not an ES6 module, so declare it so (otherwise a package.json in a
parent, perhaps in folders outside of our own project that we are pasted in, can
cause an error, as require does not work in ES6 modules and we might be forced
to be seen as one).
Fixes #6240
Diffstat (limited to '.clang-format')
-rw-r--r-- | .clang-format | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format index cedadcbd0..316f76d89 100644 --- a/.clang-format +++ b/.clang-format @@ -12,3 +12,6 @@ BinPackParameters: false Language: JavaScript DisableFormat: true --- +Language: Json +BasedOnStyle: LLVM +--- |