Skip to content

Commit 1dac839

Browse files
authored
Add editorconfig, disable code block style indentation rule (GoogleChrome#552)
1 parent 4bee299 commit 1dac839

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

.editorconfig

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# https://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
# Make sure every file:
7+
# - Uses utf-8
8+
# - Indents with spaces instead of tabs
9+
# - Uses two space indents
10+
# - Uses Unix-style newlines
11+
# - Has a newline at the end of every file
12+
# - Trims trailing whitespace
13+
[*]
14+
charset = utf-8
15+
indent_style = space
16+
indent_size = 2
17+
end_of_line = lf
18+
insert_final_newline = true
19+
trim_trailing_whitespace = true

.remarkrc.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ exports.plugins = [
66

77
// Remark Lint Style Guide preset and overrides.
88
require('remark-preset-lint-markdown-style-guide'),
9+
['lint-code-block-style', false],
910
['lint-blockquote-indentation', false],
1011
['lint-emphasis-marker', false],
1112
['lint-hard-break-spaces', false],

0 commit comments

Comments
 (0)