add indent files

This commit is contained in:
silverwind 2020-12-22 16:02:33 +01:00
parent eaedc8dcf4
commit 2020172748
Signed by: silverwind
GPG Key ID: 2E62B41C93869443
12 changed files with 84 additions and 0 deletions

@ -0,0 +1,8 @@
[*]
indent_style = space
indent_size = 2
tab_width = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

6
indent/2space/test.js Normal file

@ -0,0 +1,6 @@
const test = {
first: false,
second: {
third: true,
},
}

@ -0,0 +1,8 @@
[*]
indent_style = tab
indent_size = 2
tab_width = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

6
indent/2tab/test.js Normal file

@ -0,0 +1,6 @@
const test = {
first: false,
second: {
third: true,
},
}

@ -0,0 +1,8 @@
[*]
indent_style = space
indent_size = 4
tab_width = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

6
indent/4space/test.js Normal file

@ -0,0 +1,6 @@
const test = {
first: false,
second: {
third: true,
},
}

@ -0,0 +1,8 @@
[*]
indent_style = tab
indent_size = 4
tab_width = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

6
indent/4tab/test.js Normal file

@ -0,0 +1,6 @@
const test = {
first: false,
second: {
third: true,
},
}

@ -0,0 +1,8 @@
[*]
indent_style = space
indent_size = 8
tab_width = 8
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

6
indent/8space/test.js Normal file

@ -0,0 +1,6 @@
const test = {
first: false,
second: {
third: true,
},
}

@ -0,0 +1,8 @@
[*]
indent_style = tab
indent_size = 8
tab_width = 8
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

6
indent/8tab/test.js Normal file

@ -0,0 +1,6 @@
const test = {
first: false,
second: {
third: true,
},
}