mirror of
https://github.com/hahwul/WebHackersWeapons.git
synced 2024-12-25 07:09:39 -05:00
add yamllint config and update action
This commit is contained in:
parent
d464534e7c
commit
95ca6c66a5
3
.github/workflows/yaml-lint.yml
vendored
3
.github/workflows/yaml-lint.yml
vendored
@ -11,4 +11,5 @@
|
|||||||
- name: yaml-lint
|
- name: yaml-lint
|
||||||
uses: ibiqlik/action-yamllint@v3
|
uses: ibiqlik/action-yamllint@v3
|
||||||
with:
|
with:
|
||||||
file_or_dir: weapons/*.yaml
|
file_or_dir: weapons/*.yaml
|
||||||
|
config_file: .yamllint.yml
|
30
.yamllint.yml
Normal file
30
.yamllint.yml
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
rules:
|
||||||
|
anchors: enable
|
||||||
|
braces: enable
|
||||||
|
brackets: enable
|
||||||
|
colons: enable
|
||||||
|
commas: enable
|
||||||
|
comments:
|
||||||
|
level: warning
|
||||||
|
comments-indentation:
|
||||||
|
level: warning
|
||||||
|
document-end: disable
|
||||||
|
document-start:
|
||||||
|
level: warning
|
||||||
|
empty-lines: enable
|
||||||
|
empty-values: disable
|
||||||
|
float-values: disable
|
||||||
|
hyphens: enable
|
||||||
|
indentation: enable
|
||||||
|
key-duplicates: enable
|
||||||
|
key-ordering: disable
|
||||||
|
line-length: disable
|
||||||
|
new-line-at-end-of-file: enable
|
||||||
|
new-lines: enable
|
||||||
|
octal-values: disable
|
||||||
|
quoted-strings: disable
|
||||||
|
trailing-spaces: enable
|
||||||
|
truthy:
|
||||||
|
level: warning
|
Loading…
Reference in New Issue
Block a user