Skip to content

Commit 3222e30

Browse files
authored
Added recommended parentheses
When using arrow functions, parentheses are recommended if the function takes a single argument and uses curly braces. See section 8.4 of Airbnb's JavaScript style guide, one of the most popular.
1 parent d22b32f commit 3222e30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gulpfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ require('laravel-elixir-vue-2');
1313
|
1414
*/
1515

16-
elixir(mix => {
16+
elixir((mix) => {
1717
mix.sass('app.scss')
1818
.webpack('app.js');
1919
});

0 commit comments

Comments
 (0)