-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: move golangci-lint info to contribute/software (#3368)
Signed-off-by: Meg McRoberts <meg.mcroberts@dynatrace.com> Co-authored-by: odubajDT <93584209+odubajDT@users.noreply.github.com>
- Loading branch information
1 parent
19163f7
commit a3d48eb
Showing
5 changed files
with
61 additions
and
48 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
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,47 @@ | ||
--- | ||
comments: true | ||
--- | ||
|
||
# Markdownlint | ||
|
||
Keptn uses | ||
[markdownlint](https://github.com/DavidAnson/markdownlint) | ||
to ensure consistent styling within all our markdown files, | ||
including files outside the documentation NAV path | ||
such as `README.md` files.. | ||
Specifically, we are using | ||
[markdownlint-cli](https://github.com/igorshubovych/markdownlint-cli). | ||
|
||
This page tells how to use markdownlint. | ||
|
||
> | ||
We use `GNU make` to ensure the same functionality locally and within our CI builds. | ||
This allows easier debugging and problem resolution. | ||
|
||
## Markdownlint execution | ||
|
||
To verify that your markdown code conforms to the rules, | ||
run the following on your local branch: | ||
|
||
```shell | ||
make markdownlint | ||
``` | ||
|
||
To use the auto-fix option, run: | ||
|
||
```shell | ||
make markdownlint-fix | ||
``` | ||
|
||
## Markdownlint configuration | ||
|
||
We use the default configuration values for `markdownlint`. | ||
|
||
This means: | ||
|
||
[.markdownlint-cli2.yaml](https://github.com/keptn/lifecycle-toolkit/blob/main/.markdownlint-cli2.yaml) | ||
contains the rule configuration | ||
|
||
We use the default values, so tools like | ||
[markdownlint for VSCode](https://marketplace.visualstudio.com/items?itemName=DavidAnson.vscode-markdownlint) | ||
can be used without additional configuration. |
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