Skip to content

Commit 95427f4

Browse files
committed
normalize whitespace
The index.js file was using 4 spaces for indents, so update .editorconfig to match that. And update the other js/json files to match as well.
1 parent f1d0739 commit 95427f4

File tree

5 files changed

+1347
-1351
lines changed

5 files changed

+1347
-1351
lines changed

.editorconfig

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,9 @@ root = true
33
[*]
44
end_of_line = lf
55
insert_final_newline = true
6-
7-
# be tolerant to others, configure your editor's tab-width with
8-
# your preferred value (mine is 4)
9-
[*.js]
6+
indent_style = space
7+
indent_size = 4
108
charset = utf-8
11-
indent_style = tab
129

1310
[*.yml]
14-
indent_style = space
1511
indent_size = 2

eslint.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const pluginJs = require("@eslint/js");
33

44

55
module.exports = [
6-
{files: ["**/*.js"], languageOptions: {sourceType: "commonjs"}},
7-
{languageOptions: { globals: globals.node }},
8-
pluginJs.configs.recommended,
6+
{files: ["**/*.js"], languageOptions: {sourceType: "commonjs"}},
7+
{languageOptions: { globals: globals.node }},
8+
pluginJs.configs.recommended,
99
];

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ let available = [
77
"5.20", "5.22", "5.24", "5.26", "5.28",
88
"5.30", "5.32", "5.34", "5.36", "5.38",
99
"5.40",
10-
"devel",
10+
"devel",
1111
];
1212

1313
try {

0 commit comments

Comments
 (0)