-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:winstonjs/winston into fix-bad-test
- Loading branch information
Showing
62 changed files
with
5,149 additions
and
5,406 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# EditorConfig is awesome: https://EditorConfig.org | ||
|
||
# top-most EditorConfig file | ||
root = true | ||
|
||
# default configuration | ||
[*] | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
# Tab indentation (no size specified) | ||
[Makefile] | ||
indent_style = tab |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
{ | ||
"extends": "populist", | ||
"extends": "@dabh/eslint-config-populist", | ||
"rules": { | ||
"one-var": ["error", { var: "never", let: "never", const: "never" }], | ||
"one-var": ["error", { "var": "never", "let": "never", "const": "never" }], | ||
"strict": 0 | ||
} | ||
}, | ||
"parserOptions": { | ||
"ecmaVersion": 2022, | ||
}, | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
name: Have you encountered an issue? | ||
description: Report an issue with Winston. | ||
title: "[Bug]: " | ||
labels: ["Bug", "Needs Investigation"] | ||
body: | ||
- type: markdown # Form Header | ||
attributes: | ||
value: >- | ||
This issue form is for reporting bugs only! | ||
- type: input # Search Terms | ||
validations: | ||
required: true | ||
attributes: | ||
label: 🔎 Search Terms | ||
description: >- | ||
What search terms did you use when trying to find an existing bug report, looking in both open and closed issues? | ||
List them here (comma seperated) so people in the future can find this one more easily. | ||
- type: textarea # Problem Definition | ||
validations: | ||
required: true | ||
attributes: | ||
label: The problem | ||
description: >- | ||
Please provide a clear and concise description of the problem you've encountered and what the | ||
expected behavior was. | ||
- type: markdown # Environment Section Header | ||
attributes: | ||
value: | | ||
## Environment | ||
- type: input # Affected Version Input | ||
id: winston-version | ||
validations: | ||
required: true | ||
attributes: | ||
label: What version of Winston presents the issue? | ||
placeholder: v3.4.0 | ||
description: > | ||
Can be found by running one of the following (depending on your package manager of choice): | ||
- `npm list winston` | ||
- `yarn list --pattern winston` | ||
- type: input # Affected Version Input | ||
id: node-version | ||
validations: | ||
required: true | ||
attributes: | ||
label: What version of Node are you using? | ||
placeholder: v16.8.0 | ||
description: > | ||
Can be found by running the following: `node -v` | ||
- type: input # Last Known Working Version | ||
attributes: | ||
label: If this worked in a previous version of Winston, which was it? | ||
placeholder: v3.0.0 | ||
description: > | ||
If known, otherwise please leave blank. | ||
- type: markdown # Details Section Header | ||
attributes: | ||
value: | | ||
# Details | ||
- type: textarea # Minimum Working Example Input | ||
attributes: | ||
label: Minimum Working Example | ||
description: | | ||
If you can, providing an MWE to reproduce the issue you're encountering can greatly speed up | ||
investigation into the issue by one of our maintainers, or anyone else in the community who's looking | ||
to get involved. | ||
This can be as simple as a script, a link to a repo, etc. | ||
If using a script please wrap with triple backticks and language. EG: | ||
` ```javascript ` | ||
- type: textarea # Additional Information | ||
attributes: | ||
label: Additional information | ||
description: > | ||
If you have any additional information for us that you feel will be valuable, please use the field below. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: Have a formatting issue or feature request? | ||
url: https://github.com/winstonjs/logform/issues/new/choose | ||
about: Please search and report @ WinstonJS/Logform | ||
- name: Need help using Winston? | ||
url: https://stackoverflow.com/questions/tagged/winston | ||
about: Please look on StackOverflow first to see if someone has already answered your question. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Would you like to see a feature implemented? | ||
description: Request a new feature for Winston | ||
title: "[Feature Request]: " | ||
labels: ["Feature Request", "Needs Investigation"] | ||
body: | ||
- type: markdown # Form Header | ||
attributes: | ||
value: | | ||
This issue form is for requesting features only! | ||
- type: input # Search Terms | ||
validations: | ||
required: true | ||
attributes: | ||
label: 🔎 Search Terms | ||
description: >- | ||
What search terms did you use when trying to find an existing feature request, looking in both open and closed issues? | ||
List them here (comma seperated) so people in the future can find this one more easily. | ||
- type: textarea # Feature Definition | ||
validations: | ||
required: true | ||
attributes: | ||
label: The vision | ||
description: >- | ||
Please provide a clear and concise description of the feature you would like to see implemented. | ||
- type: markdown # Feature Details Section | ||
attributes: | ||
value: | | ||
# Details | ||
- type: textarea # Use Case Input | ||
attributes: | ||
label: Use case | ||
description: | | ||
If you desire you can provide use cases for the requested feature. | ||
- type: textarea # Additional Information | ||
attributes: | ||
label: Additional information | ||
description: > | ||
If you have any additional information for us that you feel will be valuable, please use the field below. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
exclude: | ||
- test/helpers/scripts/*.js | ||
exit: true | ||
recursive: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
reporter: | ||
- text | ||
- lcov | ||
check-coverage: true | ||
branches: 61.51 | ||
lines: 70.85 | ||
functions: 73.21 | ||
statements: 70.54 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"arrowParens": "avoid", | ||
"bracketSameLine": false, | ||
"bracketSpacing": true, | ||
"embeddedLanguageFormatting": "auto", | ||
"insertPragma": false, | ||
"jsxSingleQuote": false, | ||
"printWidth": 80, | ||
"proseWrap": "preserve", | ||
"quoteProps": "as-needed", | ||
"requirePragma": false, | ||
"semi": true, | ||
"singleQuote": true, | ||
"tabWidth": 2, | ||
"trailingComma": "none", | ||
"useTabs": false, | ||
"endOfLine": "auto" | ||
} |
Oops, something went wrong.