Skip to content

Commit

Permalink
Issue template: force using latest version, CLI (#3143)
Browse files Browse the repository at this point in the history
  • Loading branch information
kitbellew authored Mar 3, 2022
1 parent 638b497 commit d3f1daa
Showing 1 changed file with 25 additions and 13 deletions.
38 changes: 25 additions & 13 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,37 @@
This template is a guideline, not a strict requirement.
- **Version**: 0.5
- **Integration**: IntelliJ
- **Configuration**:
This template is mostly a guideline, not a strict requirement.

Please make sure that the issue is observable using the latest version of `scalafmt` and within the `scalafmt` CLI: `https://scalameta.org/scalafmt/docs/installation.html#cli`

## Configuration (required) ##
```
version = 2.0.1
maxColumn = 100
version = <please enter the version here and make sure it's the latest>
...
```

NB: before submitting, please confirm that the problem is observed in the
*latest published* version of the formatter! We don't publish hotfixes for older
versions, and the problem you have observed in an older version may have already
been fixed.

## Command-line parameters (required) ##

When I run scalafmt via CLI like this: `<command-line parameter>`

If you were not using CLI initially:
- please check using `scalafmt` CLI before submitting here
- if the problem does not present via CLI, instead please submit the issue in
the appropriate tool's repository
- for instance, if the tool is `sbt` with the `sbt-scalafmt` plugin: please
submit in `sbt-scalafmt` and include scalafmt parameters from `build.sbt`
and the `sbt` command used

## Steps

Given code like this:
```scala
ORIGINAL CODE
```

When I run scalafmt like this:

```bash
scalafmt
```

## Problem

Scalafmt formats code like this:
Expand All @@ -40,4 +52,4 @@ I've found that by...

## Notes

See also..
See also...

0 comments on commit d3f1daa

Please sign in to comment.