[Webkit-unassigned] [Bug 278529] New: [webkitpy] Add LTR and RTL to list of allowed common enum abbreviations

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 22 10:35:09 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=278529

            Bug ID: 278529
           Summary: [webkitpy] Add LTR and RTL to list of allowed common
                    enum abbreviations
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: christian at liebel.org

check-webkit-style does not allow the values "LTR" and "RTL" to appear in enums (rule "readability/enum_casing"):

> enum members should use InterCaps with an initial capital letter or initial 'k' for C-style enums.

In a pull request, it was discussed that the allowlist should include those two values:
* https://github.com/WebKit/WebKit/pull/30634#discussion_r1723324893
* https://github.com/WebKit/WebKit/pull/30634#discussion_r1727244189

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240822/20aca79e/attachment-0001.htm>


More information about the webkit-unassigned mailing list