Skip to content

Commit 285d78f

Browse files
committed
docs: update .editorconfig to exclude markdown files from formatting
1 parent 13a3b2a commit 285d78f

File tree

7 files changed

+33
-2
lines changed

7 files changed

+33
-2
lines changed

.editorconfig

+4
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,7 @@ insert_final_newline = true
99
max_line_length = 120
1010
tab_width = 4
1111
trim_trailing_whitespace = true
12+
13+
[*.md]
14+
max_line_length = off
15+
trim_trailing_whitespace = false

template/cuda/{{cookiecutter.project_slug}}/.editorconfig

+5-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,8 @@ tab_width = 4
1111
trim_trailing_whitespace = true
1212

1313
[Makefile]
14-
indent_style = tab
14+
indent_style = tab
15+
16+
[*.md]
17+
max_line_length = off
18+
trim_trailing_whitespace = false

template/cxx/{{cookiecutter.project_slug}}/.editorconfig

+5-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,8 @@ tab_width = 4
1111
trim_trailing_whitespace = true
1212

1313
[Makefile]
14-
indent_style = tab
14+
indent_style = tab
15+
16+
[*.md]
17+
max_line_length = off
18+
trim_trailing_whitespace = false

template/go/{{cookiecutter.project_slug}}/.editorconfig

+4
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,7 @@ trim_trailing_whitespace = true
1212

1313
[{Makefile,*.go}]
1414
indent_style = tab
15+
16+
[*.md]
17+
max_line_length = off
18+
trim_trailing_whitespace = false

template/py/{{cookiecutter.project_slug}}/.editorconfig

+4
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,7 @@ trim_trailing_whitespace = true
1212

1313
[Makefile]
1414
indent_style = tab
15+
16+
[*.md]
17+
max_line_length = off
18+
trim_trailing_whitespace = false

template/rs/{{cookiecutter.project_slug}}/.editorconfig

+4
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,7 @@ trim_trailing_whitespace = true
1212

1313
[Makefile]
1414
indent_style = tab
15+
16+
[*.md]
17+
max_line_length = off
18+
trim_trailing_whitespace = false

template/ts/{{cookiecutter.project_slug}}/.editorconfig

+7
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,10 @@ insert_final_newline = true
99
max_line_length = 120
1010
tab_width = 4
1111
trim_trailing_whitespace = true
12+
13+
[Makefile]
14+
indent_style = tab
15+
16+
[*.md]
17+
max_line_length = off
18+
trim_trailing_whitespace = false

0 commit comments

Comments
 (0)