From 2dc2d93c1339e12cbb12a036df91e1adb812d417 Mon Sep 17 00:00:00 2001 From: Hongarc Date: Sun, 21 Apr 2019 21:14:01 +0700 Subject: [PATCH 1/2] chore: remove old `editorconfig` file --- .editorconfig | 1 + editorconfig | 12 ------------ 2 files changed, 1 insertion(+), 12 deletions(-) delete mode 100644 editorconfig diff --git a/.editorconfig b/.editorconfig index b2eb5921..de3acdb2 100644 --- a/.editorconfig +++ b/.editorconfig @@ -7,6 +7,7 @@ root = true [*] end_of_line = lf insert_final_newline = true +trim_trailing_whitespace = true # Matches multiple files with brace expansion notation # Set default charset diff --git a/editorconfig b/editorconfig deleted file mode 100644 index c08160c4..00000000 --- a/editorconfig +++ /dev/null @@ -1,12 +0,0 @@ -# Cross-editor coding style settings. -# See http://editorconfig.org/ for details. - -root = true - -[*] -charset = utf-8 -indent_style = space -indent_size = 2 -end_of_line = lf -trim_trailing_whitespace = true -insert_final_newline = true \ No newline at end of file From 40230011176f3a3a882e0ff2170caf33d2b419f4 Mon Sep 17 00:00:00 2001 From: Hongarc Date: Sun, 21 Apr 2019 21:26:49 +0700 Subject: [PATCH 2/2] chore: trim trailing whitespace --- lab/exercises/05-bits/02-binary-to-string.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lab/exercises/05-bits/02-binary-to-string.js b/lab/exercises/05-bits/02-binary-to-string.js index 8dd528be..24b57948 100644 --- a/lab/exercises/05-bits/02-binary-to-string.js +++ b/lab/exercises/05-bits/02-binary-to-string.js @@ -58,7 +58,7 @@ module.exports = binaryToString; // 17 = 7 * 10^0 + 1 * 10^1 -// 0.893 = 8*10^-1 + 9*10^-2 + 3*10^-1 +// 0.893 = 8*10^-1 + 9*10^-2 + 3*10^-1 // 0.10010 => 1*2^-1 + 0*2^-2 + 0*2^-3 + 1*2^-4 =