Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0eb2504

Browse files
Change eslint rule arrow-parens to always
1 parent 8fcf5af commit 0eb2504

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
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-generator.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const gen = async function* () {
1515
const step2 = iterator.next();
1616
const step3 = iterator.next();
1717
const step4 = iterator.next();
18-
Promise.all([step1, step2, step3, step4]).then(steps => {
18+
Promise.all([step1, step2, step3, step4]).then((steps) => {
1919
console.log({ steps });
2020
});
2121
}

‎JavaScript/5-yield.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const gen = async function* () {
1111
const step2 = iterator.next();
1212
const step3 = iterator.next();
1313
const step4 = iterator.next();
14-
Promise.all([step1, step2, step3, step4]).then(steps => {
14+
Promise.all([step1, step2, step3, step4]).then((steps) => {
1515
console.log({ steps });
1616
});
1717
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /