gaelcolas / gaelcolas/Sampler

Should have the correct `pipelineIndentationStyle` for the dsccommunity template

Open
#329 0 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue help wanted
Dominant language
PowerShell
Stars
243
Forks
46
Avg merge
1h 41m
Merged PRs (30d)
1

Description

### Problem description

We have always used the following indentation style for pipelines in DSC Community repositories (HQRM modules).

```
"powershell.codeFormatting.pipelineIndentationStyle": "IncreaseIndentationForFirstPipeline",
```

but currently the template is set to

https://github.com/gaelcolas/Sampler/blob/656803bec36b2b279336a7efa76c6cfbf63862c0/Sampler/Templates/VscodeConfig/settings.json#L10

### Verbose logs

```text
n/a
```

### How to reproduce

n/a

### Expected behavior

Have the correct indentation style for pipelines so we don't have to change the code in all modules to align to HQRM (as suggested by the current template).

### Current behavior

Have the wrong expected indentation style for pipelines.

### Suggested solution

Change the template when the module type that is being created is `dsccommunity`.

```
"powershell.codeFormatting.pipelineIndentationStyle": "IncreaseIndentationForFirstPipeline",
```

### Operating system the target node is running

```text
n/a
```

### PowerShell version and build the target node is running

```text
n/a
```

### Module version used

```text
n/a
```

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.