From 2020172748b77176da9e722fdbac4fac0287287c Mon Sep 17 00:00:00 2001 From: silverwind Date: Tue, 22 Dec 2020 16:02:33 +0100 Subject: [PATCH] add indent files --- indent/2space/.editorconfig | 8 ++++++++ indent/2space/test.js | 6 ++++++ indent/2tab/.editorconfig | 8 ++++++++ indent/2tab/test.js | 6 ++++++ indent/4space/.editorconfig | 8 ++++++++ indent/4space/test.js | 6 ++++++ indent/4tab/.editorconfig | 8 ++++++++ indent/4tab/test.js | 6 ++++++ indent/8space/.editorconfig | 8 ++++++++ indent/8space/test.js | 6 ++++++ indent/8tab/.editorconfig | 8 ++++++++ indent/8tab/test.js | 6 ++++++ 12 files changed, 84 insertions(+) create mode 100644 indent/2space/.editorconfig create mode 100644 indent/2space/test.js create mode 100644 indent/2tab/.editorconfig create mode 100644 indent/2tab/test.js create mode 100644 indent/4space/.editorconfig create mode 100644 indent/4space/test.js create mode 100644 indent/4tab/.editorconfig create mode 100644 indent/4tab/test.js create mode 100644 indent/8space/.editorconfig create mode 100644 indent/8space/test.js create mode 100644 indent/8tab/.editorconfig create mode 100644 indent/8tab/test.js 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, + }, +}