[clang] Add `.cjs` extension handling for JavaScript Language. (PR #118188)

Owen Pan via cfe-commits cfe-commits at lists.llvm.org
Sun Dec 1 20:40:03 PST 2024


================
@@ -49,7 +49,7 @@ to format C/C++/Java/JavaScript/JSON/Objective-C/Protobuf/C# code.
                                      supported:
                                        CSharp: .cs
                                        Java: .java
-                                       JavaScript: .mjs .js .ts
+                                       JavaScript: .mjs .js .ts .cjs
----------------
owenca wrote:

```suggestion
                                       JavaScript: .js .mjs .cjs .ts
```

https://github.com/llvm/llvm-project/pull/118188


More information about the cfe-commits mailing list