File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 209
209
],
210
210
"arrow-parens" : [
211
211
" error" ,
212
- " as-needed "
212
+ " always "
213
213
],
214
214
"arrow-body-style" : [
215
215
" error" ,
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ const COLORS = [
19
19
20
20
const colorer = ( s , color ) => `\x1b[3${ color } m${ s } \x1b[0m` ;
21
21
22
- const colorize = name => {
22
+ const colorize = ( name ) => {
23
23
let res = '' ;
24
24
const letters = name . split ( '' ) ;
25
25
let color = 0 ;
@@ -30,7 +30,7 @@ const colorize = name => {
30
30
return res ;
31
31
} ;
32
32
33
- const greetings = name => (
33
+ const greetings = ( name ) => (
34
34
name . includes ( 'Augustus' ) ?
35
35
`${ SALUTATION } , ${ colorize ( name ) } !` :
36
36
`Hello, ${ name } !`
Original file line number Diff line number Diff line change @@ -7,13 +7,13 @@ const Point = class {
7
7
}
8
8
} ;
9
9
10
- const serializable = Category => class extends Category {
10
+ const serializable = ( Category ) => class extends Category {
11
11
toString ( ) {
12
12
return `[${ this . x } , ${ this . y } ]` ;
13
13
}
14
14
} ;
15
15
16
- const movable = Category => class extends Category {
16
+ const movable = ( Category ) => class extends Category {
17
17
move ( x , y ) {
18
18
this . x += x ;
19
19
this . y += y ;
You can’t perform that action at this time.
0 commit comments