浏览文件
.ls-lint.yml
42 行 · 970 B历史下载| 1 | # ls-lint configuration file. |
| 2 | # https://ls-lint.org/2.2/configuration/the-basics.html |
| 3 | ls: |
| 4 | .dir: kebab-case |
| 5 | .go: snake_case |
| 6 | .lima: snake_case |
| 7 | .sh: kebab-case |
| 8 | .TEMPLATE.yaml: kebab-case |
| 9 | .yaml: kebab-case |
| 10 | .yml: kebab-case |
| 11 | |
| 12 | .github: |
| 13 | .yaml: snake_case |
| 14 | |
| 15 | cmd/limactl: |
| 16 | # valid names are `show-ssh.go`, `show-ssh_windows.go` or `show-ssh_test.go` |
| 17 | .go: lowercase |
| 18 | |
| 19 | templates: |
| 20 | # _default and _images have leading underscores |
| 21 | .dir: lowercase |
| 22 | |
| 23 | website/content: |
| 24 | .dir: lowercase |
| 25 | |
| 26 | ignore: |
| 27 | - .git |
| 28 | - .golangci.yml |
| 29 | - .ls-lint.yml |
| 30 | - '_output' |
| 31 | - '**/*.pb\.go' |
| 32 | - hack/common.inc.sh |
| 33 | - pkg/cidata/cidata.TEMPLATE.d |
| 34 | - pkg/cidata/cidata.TEMPLATE.d/util/compare_version.sh |
| 35 | - pkg/cidata/cidata.TEMPLATE.d/util/escape_fstab.sh |
| 36 | - pkg/cidata/cidata.TEMPLATE.d/util/unescape_fstab.sh |
| 37 | - pkg/cidata/wincidata.TEMPLATE.d |
| 38 | - website |
| 39 | # "ubuntu-24.04" does not follow the kebab-case |
| 40 | - '**/ubuntu-*\.yaml' |
| 41 | # "boot.<OS>" does not follow the kebab-case |
| 42 | - '**/boot.*' |

