From 62d50b5a0ba58108105f807bda2b6fe102bad461 Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Mon, 11 May 2020 23:17:31 +0200 Subject: [PATCH] Add prettier configuration (#372) --- .prettierrc.json | 3 +++ Cargo.toml | 2 ++ 2 files changed, 5 insertions(+) create mode 100644 .prettierrc.json diff --git a/.prettierrc.json b/.prettierrc.json new file mode 100644 index 00000000..5b5bd993 --- /dev/null +++ b/.prettierrc.json @@ -0,0 +1,3 @@ +{ + "proseWrap": "always" +} diff --git a/Cargo.toml b/Cargo.toml index 7fe8aa71..34d6d8f5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,6 +11,7 @@ repository = "https://github.com/denoland/rusty_v8" 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. + ".*", "*.md", "*.settings", "*.txt", @@ -37,6 +38,7 @@ exclude = [ "v8/test/", "v8/tools/", # These files are required for the build. + "!.gn", "!BUILD.gn", "!tools/clang/scripts/update.py", "!v8/test/torque/test-torque.tq",