sandbox/.yamllint
revi 59f6ff9855
CI: fix (CodeQL|yamllint) rules
Summary:
- run CodeQL on js/ts file edits.
- yamllint rule modified to respect my styling decision (1 space
  before comment).

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: `arc lint`, wait for codeql run next time.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D475
2024-06-30 17:24:15 +09:00

32 lines
535 B
YAML

---
yaml-files:
- '*.yaml'
- '*.yml'
- '.yamllint'
extends: default
ignore-from-file: .gitignore
rules:
comments:
level: warning
min-spaces-from-content: 1
comments-indentation: {}
document-start:
present: true
level: warning
empty-lines:
max: 1
level: warning
line-length:
max: 80
level: warning
new-line-at-end-of-file:
level: warning
quoted-strings: disable
truthy:
level: warning
# on: included because GitHub Actions
allowed-values: ['on', 'true', 'false']