Skip to content

Commit ed4899a

Browse files
committed
Change eslint rule arrow-parens to always
1 parent 43a4a95 commit ed4899a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@
208208
],
209209
"arrow-parens": [
210210
"error",
211-
"as-needed"
211+
"always"
212212
],
213213
"arrow-body-style": [
214214
"error",

JavaScript/4-concat.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ for (const key in hash1) {
2626
console.dir({ keys: Object.keys(hash1) });
2727
console.dir({ hash1 });
2828

29-
const save = collection => fs.writeFile(
29+
const save = (collection) => fs.writeFile(
3030
collection[SYMBOL_FILENAME], v8.serialize(collection), () => {}
3131
);
3232

0 commit comments

Comments
 (0)