File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88
"parserOptions": {
99
"ecmaVersion": 2020
1010
},
11-
"globals": {
12-
"BigInt": true
13-
},
1411
"rules": {
1512
"indent": [
1613
"error",
@@ -213,7 +210,7 @@
213210
],
214211
"arrow-parens": [
215212
"error",
216-
"as-needed"
213+
"always"
217214
],
218215
"arrow-body-style": [
219216
"error",
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const city = 'Rome';
4747

4848
// Function in field name
4949
{
50-
const fn = s => s + 'Born';
50+
const fn = (s) => s + 'Born';
5151
const person = {
5252
name: 'Marcus Aurelius',
5353
[fn('city')]: 'Roma',

0 commit comments

Comments
 (0)