diff --git a/indent/2space/.editorconfig b/indent/2space/.editorconfig new file mode 100644 index 0000000..68ee5e8 --- /dev/null +++ b/indent/2space/.editorconfig @@ -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 diff --git a/indent/2space/test.js b/indent/2space/test.js new file mode 100644 index 0000000..1e085d6 --- /dev/null +++ b/indent/2space/test.js @@ -0,0 +1,6 @@ +const test = { + first: false, + second: { + third: true, + }, +} diff --git a/indent/2tab/.editorconfig b/indent/2tab/.editorconfig new file mode 100644 index 0000000..7b0ca40 --- /dev/null +++ b/indent/2tab/.editorconfig @@ -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 diff --git a/indent/2tab/test.js b/indent/2tab/test.js new file mode 100644 index 0000000..bb68529 --- /dev/null +++ b/indent/2tab/test.js @@ -0,0 +1,6 @@ +const test = { + first: false, + second: { + third: true, + }, +} diff --git a/indent/4space/.editorconfig b/indent/4space/.editorconfig new file mode 100644 index 0000000..8958c39 --- /dev/null +++ b/indent/4space/.editorconfig @@ -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 diff --git a/indent/4space/test.js b/indent/4space/test.js new file mode 100644 index 0000000..616d553 --- /dev/null +++ b/indent/4space/test.js @@ -0,0 +1,6 @@ +const test = { + first: false, + second: { + third: true, + }, +} diff --git a/indent/4tab/.editorconfig b/indent/4tab/.editorconfig new file mode 100644 index 0000000..33b5f0e --- /dev/null +++ b/indent/4tab/.editorconfig @@ -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 diff --git a/indent/4tab/test.js b/indent/4tab/test.js new file mode 100644 index 0000000..bb68529 --- /dev/null +++ b/indent/4tab/test.js @@ -0,0 +1,6 @@ +const test = { + first: false, + second: { + third: true, + }, +} diff --git a/indent/8space/.editorconfig b/indent/8space/.editorconfig new file mode 100644 index 0000000..e5be588 --- /dev/null +++ b/indent/8space/.editorconfig @@ -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 diff --git a/indent/8space/test.js b/indent/8space/test.js new file mode 100644 index 0000000..cc17820 --- /dev/null +++ b/indent/8space/test.js @@ -0,0 +1,6 @@ +const test = { + first: false, + second: { + third: true, + }, +} diff --git a/indent/8tab/.editorconfig b/indent/8tab/.editorconfig new file mode 100644 index 0000000..adbe9ab --- /dev/null +++ b/indent/8tab/.editorconfig @@ -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 diff --git a/indent/8tab/test.js b/indent/8tab/test.js new file mode 100644 index 0000000..bb68529 --- /dev/null +++ b/indent/8tab/test.js @@ -0,0 +1,6 @@ +const test = { + first: false, + second: { + third: true, + }, +}