[gjs/esm/static-imports: 23/31] maint: Work around bug in clang-format




commit e910f2d2c82c13a5a22c34adda70ea6d878ab61d
Author: Philip Chimento <philip chimento gmail com>
Date:   Wed Feb 3 14:43:39 2021 -0800

    maint: Work around bug in clang-format
    
    The bug sorts includes even when autoformatting is turned off for a
    particular language.
    See: https://bugs.llvm.org/show_bug.cgi?id=27042

 .clang-format | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/.clang-format b/.clang-format
index deed826d..21a71334 100644
--- a/.clang-format
+++ b/.clang-format
@@ -25,4 +25,5 @@ SpacesBeforeTrailingComments: 2
 # operate on diffs like clang-format does.
 Language: JavaScript
 DisableFormat: true
+SortIncludes: false  # https://bugs.llvm.org/show_bug.cgi?id=27042
 ...


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]