Browse Source

Default indenting to 2 spaces for everything and override to 4 for php instead

pull/3380/head
Jamie Taylor 1 year ago
parent
commit
62d48c59d7
No account linked to committer's email address
1 changed files with 2 additions and 5 deletions
  1. 2
    5
      .editorconfig

+ 2
- 5
.editorconfig View File

@@ -7,11 +7,8 @@ end_of_line = lf
7 7
 insert_final_newline = true
8 8
 trim_trailing_whitespace = true
9 9
 indent_style = space
10
+indent_size = 2
10 11
 
11
-# we use 4 space indentation for php files
12
+# php uses 4 space indentation for php files
12 13
 [*.php]
13 14
 indent_size = 4
14
-
15
-# ...and 2 space indentation for coffee and js files
16
-[*.{coffee,js}]
17
-indent_size = 2

Loading…
Cancel
Save