Add prettier configuration (#372)

This commit is contained in:
Bert Belder 2020-05-11 23:17:31 +02:00
parent 36bec8cd2b
commit 62d50b5a0b
No known key found for this signature in database
GPG Key ID: 7A77887B2E2ED461
2 changed files with 5 additions and 0 deletions

3
.prettierrc.json Normal file
View File

@ -0,0 +1,3 @@
{
"proseWrap": "always"
}

View File

@ -11,6 +11,7 @@ repository = "https://github.com/denoland/rusty_v8"
exclude = [ exclude = [
# To keep the package under the 10mb limit imposed by crates.io we exclude # To keep the package under the 10mb limit imposed by crates.io we exclude
# a lot of files that are not needed for the build. # a lot of files that are not needed for the build.
".*",
"*.md", "*.md",
"*.settings", "*.settings",
"*.txt", "*.txt",
@ -37,6 +38,7 @@ exclude = [
"v8/test/", "v8/test/",
"v8/tools/", "v8/tools/",
# These files are required for the build. # These files are required for the build.
"!.gn",
"!BUILD.gn", "!BUILD.gn",
"!tools/clang/scripts/update.py", "!tools/clang/scripts/update.py",
"!v8/test/torque/test-torque.tq", "!v8/test/torque/test-torque.tq",