-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdot-markdownlint.yaml
More file actions
62 lines (56 loc) · 2.3 KB
/
dot-markdownlint.yaml
File metadata and controls
62 lines (56 loc) · 2.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# https://github.com/DavidAnson/markdownlint
#
# New method:
# Use the mfussenegger/nvim-lint plugin and point to this file
#
# Old method:
# Copy this file to each dir in which you want the settings to be applied, for
# example, I copied it to my 'github/obsidian_main' and
# 'github/linkarzu.github.io' dir.
# I copied it to '~/github' but the changes were never applied, so make sure you
# copy it to the working directory, you can see it with `:pwd`
# Unordered list style
# Disabled this because the TOC was giving me warnings for using other symbols
# than -
# https://github.com/DavidAnson/markdownlint/blob/main/doc/md004.md
# MD004: false
# # Unordered list indentation
# # I disable this because for some documents I use 4 space indenting, like
# # markdown files that I need to upload to confluence
# # https://github.com/DavidAnson/markdownlint/blob/main/doc/md007.md
# MD007: false
#
# # Hard tabs
# # https://github.com/DavidAnson/markdownlint/blob/main/doc/md010.md
# # This rule is triggered by any lines that contain hard tab characters instead
# # of using spaces for indentation. To fix this, replace any hard tab characters
# # with spaces instead
# MD010:
# code_blocks: false
# # Multiple consecutive blank lines
# # https://github.com/DavidAnson/markdownlint/blob/main/doc/md012.md
# # Not sure why at the end of markdown files I get an error that there are 2
# # blank lines when there's only 1, so increasing this to fix it
# MD012:
# maximum: 2
# # Line length
# # I disabled this because autoformatting takes care of the line length for me,
# # so it's not necessary, also if I have a really long markdown link with {:target="\_blank"}
# # at the end, it will trigger it, and haven't looked into how to fix that
# # https://github.com/DavidAnson/markdownlint/blob/main/doc/md013.md
# MD013: false
# # MD013:
# # code_blocks: false
# # headings: false
# # tables: false
# # Spaces after list markers
# # Disabled this because of confluence formatting
# # https://github.com/DavidAnson/markdownlint/blob/main/doc/md030.md
# MD030: false
# Inline HTML
# I disabled this so it doesn't warn me when I include HTML code in my markdown
# files, sometimes HTML is needed in github readmes
# https://github.com/DavidAnson/markdownlint/blob/main/doc/md033.md
# MD033:
# false
# # allowed_elements: ["a", "img", "div"]