Skip to content

Commit fa3b491

Browse files
committed
ci(lint): add linter config files
1 parent f2612dc commit fa3b491

3 files changed

Lines changed: 65 additions & 0 deletions

File tree

.markdownlint.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"default": true,
3+
"MD013": false,
4+
"MD031": true,
5+
"MD032": true,
6+
"MD040": true,
7+
"MD022": true,
8+
"MD009": true,
9+
"MD007": {
10+
"indent": 2
11+
},
12+
"MD026": false,
13+
"MD041": false,
14+
"MD034": false,
15+
"MD024": false,
16+
"MD033": false,
17+
"MD060": false
18+
}

.taplo.toml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Taplo configuration file for TOML formatting
2+
# Used by the "Even Better TOML" VS Code extension
3+
4+
# Exclude generated and runtime folders from linting
5+
exclude = [
6+
"target/**",
7+
"storage/**",
8+
".coverage/**",
9+
]
10+
11+
[formatting]
12+
# Preserve blank lines that exist
13+
allowed_blank_lines = 1
14+
# Don't reorder keys to maintain structure
15+
reorder_keys = false
16+
# Array formatting
17+
array_trailing_comma = true
18+
array_auto_expand = false
19+
array_auto_collapse = false
20+
# Inline table formatting
21+
inline_table_expand = false
22+
compact_inline_tables = false
23+
compact_arrays = false
24+
# Alignment
25+
align_entries = false
26+
align_comments = true
27+
# Indentation
28+
indent_tables = false
29+
indent_entries = false
30+
# Other
31+
trailing_newline = true

.yamllint-ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
extends: default
2+
3+
rules:
4+
line-length:
5+
max: 200 # More reasonable for infrastructure code
6+
comments:
7+
min-spaces-from-content: 1 # Allow single space before comments
8+
document-start: disable # Most project YAML files don't require ---
9+
truthy:
10+
allowed-values: ["true", "false", "yes", "no", "on", "off"] # Allow common GitHub Actions values
11+
12+
# Ignore generated/runtime directories
13+
ignore: |
14+
target/**
15+
storage/**
16+
.coverage/**

0 commit comments

Comments
 (0)