forked from semantic-release/semantic-release
-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: switches to standard prettier and eslint and reformat code
* docs: fixes contributors shield * style: removes xo and replaces with standard eslint and prettier and applies rules to 01_bug_report this is in preparation for switching to jest and migrated to nx COMPLETES: #211 * test: adds "unused" const back to fix tests * refactor: move config to files outside of package.json * Merge branch 'master' of https://github.com/semantic-release-plus/semantic-release into update-from-master * chore(deps): update dependency p-retry to v4.6.0 * chore(deps): update dependency codecov to v3.8.3 * chore(deps): update dependency sinon to v11.1.2 * Merge branch 'master' of https://github.com/semantic-release-plus/semantic-release into update-from-master * fix: updates lint-staged conifg Co-authored-by: Renovate Bot <bot@renovateapp.com>
- Loading branch information
1 parent
6a92e53
commit 20b0c44
Showing
98 changed files
with
6,387 additions
and
6,540 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,13 @@ | ||
# Editor configuration, see http://editorconfig.org | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
max_line_length = off | ||
trim_trailing_whitespace = false |
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,11 @@ | ||
{ | ||
"extends": ["eslint:recommended", "prettier"], | ||
"parserOptions": { | ||
"ecmaVersion": 2018 | ||
}, | ||
"env": { | ||
"node": true, | ||
"es6": true | ||
}, | ||
"rules": {} | ||
} |
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,21 +1,20 @@ | ||
--- | ||
name: Bug report | ||
about: Something not working as expected | ||
|
||
--- | ||
|
||
## Current behavior | ||
|
||
<!-- Describe how the issue manifests. --> | ||
|
||
## Expected behavior | ||
|
||
<!-- Describe what the desired behavior would be. --> | ||
|
||
## Environment | ||
|
||
- **semantic-release** version: <!-- Version set in package.json devDpendencies --> | ||
- CI environment: <!-- CI service name --> | ||
- Plugins used: <!-- List semantic-release plugin used if any --> | ||
- **semantic-release** configuration: <!-- link to your repository or relevant part of the semantic-release config --> | ||
- CI logs: <!-- link to your CI logs or semantic-release logs --> | ||
--- | ||
name: Bug report | ||
about: Something not working as expected | ||
--- | ||
|
||
## Current behavior | ||
|
||
<!-- Describe how the issue manifests. --> | ||
|
||
## Expected behavior | ||
|
||
<!-- Describe what the desired behavior would be. --> | ||
|
||
## Environment | ||
|
||
- **semantic-release** version: <!-- Version set in package.json devDpendencies --> | ||
- CI environment: <!-- CI service name --> | ||
- Plugins used: <!-- List semantic-release plugin used if any --> | ||
- **semantic-release** configuration: <!-- link to your repository or relevant part of the semantic-release config --> | ||
- CI logs: <!-- link to your CI logs or semantic-release logs --> |
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,17 +1,16 @@ | ||
--- | ||
name: Feature request | ||
about: Wouldn’t it be nice if semantic-release could ... | ||
|
||
--- | ||
|
||
## New feature motivation | ||
|
||
<!-- Describe the context, the use-case and the advantages of the feature request. --> | ||
|
||
## New feature description | ||
|
||
<!-- Describe the functional changes that would have to be made in semantic-release or its plugins. --> | ||
|
||
## New feature implementation | ||
|
||
<!-- Optionally describe the technical changes to be made in semantic-release or its plugins. --> | ||
--- | ||
name: Feature request | ||
about: Wouldn’t it be nice if semantic-release could ... | ||
--- | ||
|
||
## New feature motivation | ||
|
||
<!-- Describe the context, the use-case and the advantages of the feature request. --> | ||
|
||
## New feature description | ||
|
||
<!-- Describe the functional changes that would have to be made in semantic-release or its plugins. --> | ||
|
||
## New feature implementation | ||
|
||
<!-- Optionally describe the technical changes to be made in semantic-release or its plugins. --> |
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,13 +1,12 @@ | ||
--- | ||
name: New plugin suggestion | ||
about: Integrate with a new platform, etc | ||
|
||
--- | ||
|
||
## New plugin motivation | ||
|
||
<!-- Describe the reasons to create a new plugin and why it's not covered by the existing ones. --> | ||
|
||
## Third-party documentation | ||
|
||
<!-- Provide explanation and documentation links for the platform to integrate with. --> | ||
--- | ||
name: New plugin suggestion | ||
about: Integrate with a new platform, etc | ||
--- | ||
|
||
## New plugin motivation | ||
|
||
<!-- Describe the reasons to create a new plugin and why it's not covered by the existing ones. --> | ||
|
||
## Third-party documentation | ||
|
||
<!-- Provide explanation and documentation links for the platform to integrate with. --> |
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 @@ | ||
_ |
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 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
npx lint-staged |
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 @@ | ||
{ | ||
"*.js": "eslint --fix", | ||
"*": "prettier --write --ignore-unknown" | ||
} |
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,5 @@ | ||
{ | ||
"include": ["lib/**/*.js", "index.js", "cli.js"], | ||
"reporter": ["json", "text", "html"], | ||
"all": 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,5 @@ | ||
# Add files here to ignore them from prettier formatting | ||
|
||
/dist | ||
/coverage | ||
/.nyc_output |
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,3 @@ | ||
{ | ||
"singleQuote": true | ||
} |
File renamed without changes.
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,9 +1 @@ | ||
{ | ||
"[javascript]": { | ||
"editor.defaultFormatter": "samverschueren.linter-xo" | ||
}, | ||
"xo.enable": true, | ||
"xo.format.enable": true, | ||
"editor.formatOnSave": false, | ||
"jira-plugin.workingProject": "" | ||
} | ||
{} |
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
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
Oops, something went wrong.