Subject: bug#78548: 29.4; js-ts-mode indentation issue for switch-case

From: Fabrice Salvaire <[email-masked]>
Date: Thu, 22 May 2025 14:35:18 +0200

Actually, Emacs indents this JavaScript code like this:

```

switch (foo) {

case bar:

     ....

}

```

In `js.el` : `js--treesit-indent-rules`, the line

`       ((parent-is ,switch-case) parent-bol 0)`

should be

`       ((node-is ,switch-case) parent-bol js-switch-indent-offset)`

There is also a lot of mixed tab/space indent in this file.