From 19c052d1380499ddbf75c78d7a878800a4ce8a39 Mon Sep 17 00:00:00 2001 From: "jeremy@jermolene.com" Date: Wed, 5 Apr 2023 17:51:43 +0100 Subject: [PATCH] Make prettierignore consistent with eslintignore @pmario do you happen to know if there's a way to avoid the duplication here? Can we make prettier use the ignore list from eslint? --- .eslintignore | 3 +++ .prettierignore | 18 ++++++++++-------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/.eslintignore b/.eslintignore index 9e586b92e..4fe4bb47a 100644 --- a/.eslintignore +++ b/.eslintignore @@ -6,3 +6,6 @@ /core/modules/utils/diff-match-patch/diff_match_patch_uncompressed.js /core/modules/utils/dom/csscolorparser.js /plugins/tiddlywiki/*/files/ +/tmp/ +/output/ + \ No newline at end of file diff --git a/.prettierignore b/.prettierignore index 8203382c8..7c5774456 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,8 +1,10 @@ -# Ignore third party libraries -files -output -tmp -base64-utf8 -diff-match-patch -csscolorparser.js -sjcl.js \ No newline at end of file +# Ignore "third party" code whose style we will not change. +/boot/sjcl.js +/core/modules/utils/base64-utf8/base64-utf8.module.js +/core/modules/utils/base64-utf8/base64-utf8.module.min.js +/core/modules/utils/diff-match-patch/diff_match_patch.js +/core/modules/utils/diff-match-patch/diff_match_patch_uncompressed.js +/core/modules/utils/dom/csscolorparser.js +/plugins/tiddlywiki/*/files/ +/tmp/ +/output/