mirror of
https://github.com/beautifier/js-beautify.git
synced 2025-03-03 10:37:18 +00:00
Update issue templates
This commit is contained in:
parent
afa2d3849a
commit
3a4ccd06af
60
.github/ISSUE_TEMPLATE/beautification-problem.md
vendored
Normal file
60
.github/ISSUE_TEMPLATE/beautification-problem.md
vendored
Normal file
@ -0,0 +1,60 @@
|
||||
---
|
||||
name: Beautification problem
|
||||
about: You tried using the beautifier and the resulting format was not what you expected
|
||||
|
||||
---
|
||||
|
||||
# Description
|
||||
> This is the default template for bug reports
|
||||
>
|
||||
> NOTE:
|
||||
> * Do not include screenshots! This library is a text processor, we need text inputs and outputs for debugging and fixing issues.
|
||||
> * Check the list of open issues before filing a new issue.
|
||||
|
||||
# Input
|
||||
The code looked like this before beautification:
|
||||
```
|
||||
<INSERT CODE HERE>
|
||||
```
|
||||
|
||||
# Expected Output
|
||||
The code should have looked like this after beautification:
|
||||
```
|
||||
<INSERT CODE HERE>
|
||||
```
|
||||
|
||||
# Actual Output
|
||||
The code actually looked like this after beautification:
|
||||
```
|
||||
<INSERT CODE HERE>
|
||||
```
|
||||
|
||||
# Steps to Reproduce
|
||||
|
||||
|
||||
## Environment
|
||||
OS:
|
||||
|
||||
|
||||
## Settings
|
||||
Example:
|
||||
```json
|
||||
{
|
||||
"indent_size": 4,
|
||||
"indent_char": " ",
|
||||
"indent_level": 0,
|
||||
"indent_with_tabs": false,
|
||||
"preserve_newlines": true,
|
||||
"max_preserve_newlines": 10,
|
||||
"jslint_happy": false,
|
||||
"space_after_anon_function": false,
|
||||
"brace_style": "collapse,preserve-inline",
|
||||
"keep_array_indentation": false,
|
||||
"keep_function_indentation": false,
|
||||
"space_before_conditional": true,
|
||||
"break_chained_methods": false,
|
||||
"eval_code": false,
|
||||
"unescape_strings": false,
|
||||
"wrap_line_length": 0
|
||||
}
|
||||
```
|
28
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
28
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
---
|
||||
name: Feature request
|
||||
about: You want new functionality added to the beautifier
|
||||
|
||||
---
|
||||
|
||||
# Description
|
||||
> This is the default template for feature requests.
|
||||
>
|
||||
> NOTE:
|
||||
> * Do not include screenshots! This library is a text processor, we need text inputs and outputs for debugging and fixing issues.
|
||||
> * Check the list of open issues before filing a new issue.
|
||||
|
||||
|
||||
# Input
|
||||
With this new feature, when I give like this input:
|
||||
```
|
||||
<INSERT CODE HERE>
|
||||
```
|
||||
|
||||
# Expected Output
|
||||
I'd like to see this output:
|
||||
```
|
||||
<INSERT CODE HERE>
|
||||
```
|
||||
|
||||
## Environment
|
||||
OS:
|
Loading…
x
Reference in New Issue
Block a user