Skip to content

Commit c57daac

Browse files
chore: update linters
1 parent f735323 commit c57daac

File tree

2 files changed

+22
-3
lines changed

2 files changed

+22
-3
lines changed

.editorconfig

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ root = true
66
# Unix-style newlines and whitespace cleanup
77
[*]
88
end_of_line = lf
9-
insert_final_newline = true
109
trim_trailing_whitespace = true
1110
insert_final_newline = true
1211

@@ -15,7 +14,7 @@ insert_final_newline = true
1514
trim_trailing_whitespace = false
1615

1716
# general formatting
18-
[*.{bash,go,sh,zsh,justfile,Makefile}]
17+
[*.{bash,go,sh,zsh,justfile,Earthfile,Makefile}]
1918
indent_style = tab
2019
indent_size = 4
2120

@@ -29,6 +28,6 @@ indent_style = space
2928
indent_size = 4
3029

3130
# webdev et al
32-
[*.{html,xml,js,css,json,gql,lua,tf,tfvars,yml,yaml}]
31+
[*.{html,xml,js,ts,mjs,css,json,jsonc,gql,lua,tf,tfvars,yml,yaml}]
3332
indent_style = space
3433
indent_size = 2

.markdownlint.jsonc

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
// https://github.com/markdownlint/markdownlint/blob/main/docs/RULES.md
3+
"default": true,
4+
// Trailing spaces
5+
"MD009": false,
6+
// Line length (default: 80)
7+
"MD013": false,
8+
// Duplicate headings (e.g., nested headings)
9+
"MD024": false,
10+
// Ordered list item prefix
11+
"MD029": {
12+
"style": "ordered"
13+
},
14+
// Fenced code blocks should be surrounded by blank lines
15+
"MD031": false,
16+
// Inline HTML
17+
"MD033": false,
18+
// Empahsis as heading (e.g., table of contents)
19+
"MD036": false
20+
}

0 commit comments

Comments
 (0)