From 7b2d460a7f6df8ab17ad75ca586b4b45530198dd Mon Sep 17 00:00:00 2001 From: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com> Date: Mon, 4 Apr 2022 21:32:17 +0900 Subject: [PATCH] chore: update .prettierrc.yaml to be consistent with pre-commit-hooks-ros (#143) Signed-off-by: Kenji Miyake --- .prettierrc.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.prettierrc.yaml b/.prettierrc.yaml index 48b0552e..e29bf327 100644 --- a/.prettierrc.yaml +++ b/.prettierrc.yaml @@ -1,2 +1,20 @@ printWidth: 100 tabWidth: 2 +overrides: + - files: package.xml + options: + printWidth: 1000 + xmlSelfClosingSpace: false + xmlWhitespaceSensitivity: ignore + + - files: "*.launch.xml" + options: + printWidth: 200 + xmlSelfClosingSpace: false + xmlWhitespaceSensitivity: ignore + + - files: "*.xacro" + options: + printWidth: 200 + xmlSelfClosingSpace: false + xmlWhitespaceSensitivity: ignore