Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Aug 16, 2025. It is now read-only.

Commit9d01dfe

Browse files
committed
Add Yamllint documentation and configuration
1 parentba5b505 commit9d01dfe

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed

‎docs/guides/tools/tools.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,5 @@ Remove extraneous f prefix
4444
-[Hadolint](./hadolint.md)
4545
-[SwiftLint](./swiftlint.md)
4646
-[PHPStan](./phpstan.md)
47+
-[golangci-lint](./golangci-lint.md)
48+
-[YamlLint](./yamllint.md)

‎docs/guides/tools/yamllint.md‎

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
title:Yamllint
3+
sidebar_label:Yamllint
4+
description:CodeRabbit's guide to Yamllint.
5+
sidebar_position:8
6+
---
7+
8+
[Yamllint](https://yamllint.readthedocs.io/en/stable/) is a linter for YAML.
9+
10+
##Files
11+
12+
Yamllint will run on files with the following extensions:
13+
14+
-`.yaml`
15+
-`.yml`
16+
17+
##Configuration
18+
19+
Yamllint supports the following config files:
20+
21+
-`.yamllint`
22+
-`.yamllint.yaml`
23+
-`.yamllint.yml`
24+
25+
CodeRabbit will use the following settings based on the profile selected if no config file is found:
26+
27+
###Chill
28+
29+
```yaml
30+
extends:relaxed
31+
rules:
32+
line-length:disable
33+
```
34+
35+
### Assertive
36+
37+
```yaml
38+
extends:default
39+
rules:
40+
line-length:disable
41+
document-start:disable
42+
```
43+
44+
## Links
45+
46+
- [Yamllint Configuration](https://yamllint.readthedocs.io/en/stable/configuration.html)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp