intersystems / intersystems/isc-codetidy

Multi-line JavaScript Commands should Preserve Indentation

Open
#56 1 comment 0 reactions 1 assignee Claimed by @isc-egabhart View on GitHub
bug
Dominant language
ObjectScript
Stars
4
Forks
6
PR merge metrics
No merged PRs in 30d

Description

For methods in classes with language = javascript CodeTidy will apply indentation like so:
```
var a,
b,
c,
d;
```
becomes
```
var a,
b
c
d;
```
CodeTidy should instead allow for additional indent if preceding line ended in a comma

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.