generated from boozt-platform/quickstart-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from boozt-platform/feat-add-markdown-lint
feat: add yaml, json and markdown linters
- Loading branch information
Showing
32 changed files
with
718 additions
and
294 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,44 @@ | ||
--- | ||
name: Report a bug | ||
about: Found something broken? Let us know! If it's not yet reproducible, | ||
please `Ask a question` instead. | ||
labels: 'bug' | ||
--- | ||
|
||
<!-- markdownlint-disable --> | ||
### Summary | ||
|
||
<!-- A brief summary of the problem. --> | ||
|
||
### Lefthook version | ||
|
||
<!-- The result of `lefthook version -f` --> | ||
|
||
### Steps to reproduce | ||
|
||
<!-- All bug reports should include detailed steps to reproduce --> | ||
|
||
### Expected results | ||
|
||
<!-- Outline what you expected to see --> | ||
|
||
### Actual results | ||
|
||
<!-- Outline the actual results --> | ||
|
||
### Possible Solution | ||
|
||
<!--- Optionally suggest a fix or reason for the bug --> | ||
|
||
### Logs / Screenshots | ||
|
||
<!--- | ||
If the error can be reproduced via GUI or CLI command, please send the logs. | ||
Make sure you have set LEFTHOOK_VERBOSE=true before running the command. | ||
--> | ||
|
||
```bash | ||
LEFTHOOK_VERBOSE=true git ... | ||
``` | ||
|
||
<!-- markdownlint restore --> |
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 @@ | ||
# SPDX-FileCopyrightText: Copyright Boozt Fashion, AB | ||
# SPDX-License-Identifier: MIT | ||
--- | ||
blank_issues_enabled: 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,20 @@ | ||
--- | ||
name: Feature request | ||
about: Want to add a new hook or improve it? Create a feature request! | ||
labels: 'feature request' | ||
--- | ||
|
||
<!-- markdownlint-disable --> | ||
### Summary | ||
|
||
<!-- A brief summary of a feature. --> | ||
|
||
### Value | ||
|
||
<!-- A few words about what problem it is solving or how it makes life easier. --> | ||
|
||
### Behavior and configuration changes | ||
|
||
<!-- What should be changed in current behavior/configuration? --> | ||
|
||
<!-- markdownlint restore --> |
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 |
---|---|---|
@@ -1,19 +1,17 @@ | ||
- **Description**: <!-- Briefly describe the changes made in this pull request. --> | ||
- **Current Behavior**: <!-- Describe the current behavior, or link to an open issue if applicable. --> | ||
- **New Behavior**: <!-- Describe the new behavior introduced by this PR, especially if it's a feature change. --> | ||
- **Breaking Changes**: <!-- Does this PR introduce any breaking changes? If so, provide guidelines to support backward compatibility and inform users how to resolve potential issues. --> | ||
- **Type of Change**: <!-- What kind of change does this PR introduce? (Bug fix, feature, docs update, etc.) --> | ||
<!-- markdownlint-disable --> | ||
|
||
<!-- | ||
Closes # (issue) | ||
|
||
- Please review the CONTRIBUTING file for guidelines on contributing to this project. | ||
- Ensure that your commit messages follow the conventional commits guidelines. | ||
- Double-check if any documentation needs to be updated within your changes. | ||
- Have tests been added to cover the changes made? | ||
<!-- Link to an issue(s) this PR fixes --> | ||
|
||
### Additional Information | ||
#### Summary | ||
|
||
Please provide any additional information or context that may be relevant to this pull request. | ||
<!-- Brief description of what was done --> | ||
|
||
Thank you for your contribution to our project! | ||
--> | ||
#### Checklist | ||
|
||
- [ ] Check locally | ||
- [ ] Add tests | ||
- [ ] Add documentation | ||
|
||
<!-- markdownlint restore --> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
# SPDX-FileCopyrightText: Copyright Boozt Fashion, AB | ||
# SPDX-License-Identifier: MIT | ||
|
||
--- | ||
extends: | ||
# lint commit messages based by the conventional commits | ||
- hooks/commitlint/.lefthook.yaml | ||
# lint Dockerfiles | ||
- hooks/hadolint/.lefthook.yaml | ||
# lint shell scripts | ||
- hooks/shellcheck/.lefthook.yaml | ||
# check if the license headers are present in the files | ||
- hooks/license-checker/.lefthook.yaml | ||
# lint the markdown (.md) files | ||
- hooks/markdown-lint/.lefthook.yaml | ||
# lint the yaml (.yml, .yaml) files | ||
- hooks/yamllint/.lefthook.yaml |
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 |
---|---|---|
@@ -1,5 +1,2 @@ | ||
LICENSE_HEADER=$(cat <<EOF | ||
SPDX-FileCopyrightText: Copyright Boozt Fashion, AB | ||
SPDX-License-Identifier: MIT | ||
EOF | ||
) |
Oops, something went wrong.