Skip to content

Commit 687bba9

Browse files
Merge pull request #814 from latex3/lint
yamllint
2 parents a2add93 + 2a92138 commit 687bba9

File tree

3 files changed

+12230
-12181
lines changed

3 files changed

+12230
-12181
lines changed
+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: validate-yaml-tagging-status-List
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
paths: ['_data/tagging-status.yml']
7+
pull_request:
8+
branches: [ main ]
9+
paths: ['_data/tagging-status.yml']
10+
11+
jobs:
12+
validate-yaml-tagging-status-list:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Validate YAML tagging status list
17+
run: yamllint -c _data/_config_yamllint.yml _data/tagging-status.yml

_data/_config_yamllint.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
3+
extends: default
4+
5+
rules:
6+
braces:
7+
level: warning
8+
max-spaces-inside: 1
9+
brackets:
10+
level: warning
11+
max-spaces-inside: 1
12+
colons:
13+
level: warning
14+
commas: disable
15+
comments: disable
16+
comments-indentation: disable
17+
document-start: disable
18+
empty-lines:
19+
max: 2
20+
max-start: 1
21+
max-end: 1
22+
level: warning
23+
hyphens:
24+
level: warning
25+
indentation:
26+
level: warning
27+
indent-sequences: consistent
28+
line-length:
29+
max: 300
30+
level: warning
31+
allow-non-breakable-inline-mappings: true
32+
truthy: disable
33+
trailing-spaces: disable

0 commit comments

Comments
 (0)