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 22, 2023
1 parent 4f5fe29 commit 479761f
Show file tree
Hide file tree
Showing 8 changed files with 58 additions and 5 deletions.
File renamed without changes.
27 changes: 27 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# vim: filetype=editorconfig
root = true

[*]
max_line_length = 80
end_of_line = lf
charset = utf-8
insert_final_newline = true
indent_style = tab
indent_size = 3
tab_width = 3
trim_trailing_whitespace = true

[*.{yml,yaml,scm,cff}]
indent_style = space
indent_size = 2
tab_width = 2

[*.py]
indent_style = space
indent_size = 4
tab_width = 4

[*.md]
indent_size = 4
tab_width = 4
trim_trailing_whitespace = false
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
2 changes: 1 addition & 1 deletion .rsync-exclude
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ prefs.plist
README.md
LICENSE
Makefile
build-and-release.sh
.build-and-release.sh
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ transfer-local-files:
git status --short

release:
zsh ./build-and-release.sh
zsh ./.build-and-release.sh
2 changes: 1 addition & 1 deletion alfred.d.ts
2 changes: 1 addition & 1 deletion jsconfig.json
2 changes: 1 addition & 1 deletion jxa-globals.d.ts

0 comments on commit 479761f

Please sign in to comment.