Skip to content

Commit

Permalink
chore: update config files
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgrieser committed Dec 20, 2023
1 parent 5e17824 commit 7007b61
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ indent_size = 3
tab_width = 3
trim_trailing_whitespace = true

[*.{yml,yaml,scm}]
[*.{yml,yaml,scm,cff}]
indent_style = space
indent_size = 2
tab_width = 2
Expand Down
6 changes: 2 additions & 4 deletions .luarc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
{
"runtime.version": "LuaJIT",
"diagnostics.globals": [
"vim"
]
"runtime.version": "LuaJIT",
"diagnostics.globals": ["vim"]
}
26 changes: 26 additions & 0 deletions .markdownlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/DavidAnson/markdownlint/main/schema/markdownlint-config-schema.json
#───────────────────────────────────────────────────────────────────────────────
# Defaults https://github.com/DavidAnson/markdownlint/blob/main/schema/.markdownlint.yaml
# DOCS https://github.com/markdownlint/markdownlint/blob/main/docs/RULES.md
#───────────────────────────────────────────────────────────────────────────────

# MODIFIED SETTINGS
blanks-around-headings:
lines_below: 0 # space waster
ul-style: { style: sublist }

# not autofixable
ol-prefix: { style: ordered }
line-length:
tables: false
code_blocks: false
no-inline-html:
allowed_elements: [img, details, summary, kbd, a, br]

#─────────────────────────────────────────────────────────────────────────────
# DISABLED
ul-indent: false # not compatible with using tabs
no-hard-tabs: false # taken care of by editorconfig
blanks-around-lists: false # space waster
first-line-heading: false # e.g., ignore-comments
no-emphasis-as-heading: false # sometimes useful

0 comments on commit 7007b61

Please sign in to comment.