Skip to content

Commit b7985f0

Browse files
committed
Explicitly set tab_width = 8
Although tabs usually default to 8 columns, people who set their editors to a different value for the tab width may see different indentation in project files unless we explicitly specify a tab width of 8 in `.editorconfig`.
1 parent 48a537c commit b7985f0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.editorconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ root = true
2323
charset = utf-8
2424
indent_style = space
2525
insert_final_newline = true
26+
max_line_length = 80
2627
spelling_language = en-US
28+
tab_width = 8
2729
trim_trailing_whitespace = true
28-
max_line_length = 80
2930

3031
[{BUILD,*.BUILD,*.bzl,*.bazel,.bazelrc,WORKSPACE}]
3132
indent_size = 4

0 commit comments

Comments
 (0)