File tree
Expand file treeCollapse file tree2 files changed
+2
-5
lines changed Expand file treeCollapse file tree2 files changed
+2
-5
lines changed Original file line number | Diff line number | Diff line change |
---|
|
8 | 8 | "parserOptions": {
|
9 | 9 | "ecmaVersion": 2020
|
10 | 10 | },
|
11 |
| -"globals": { |
12 |
| -"BigInt": true |
13 |
| -}, |
14 | 11 | "rules": {
|
15 | 12 | "indent": [
|
16 | 13 | "error",
|
|
213 | 210 | ],
|
214 | 211 | "arrow-parens": [
|
215 | 212 | "error",
|
216 |
| -"as-needed" |
| 213 | +"always" |
217 | 214 | ],
|
218 | 215 | "arrow-body-style": [
|
219 | 216 | "error",
|
|
Original file line number | Diff line number | Diff line change |
---|
@@ -47,7 +47,7 @@ const city = 'Rome';
|
47 | 47 |
|
48 | 48 | // Function in field name
|
49 | 49 | {
|
50 |
| -const fn = s => s + 'Born'; |
| 50 | +const fn = (s) => s + 'Born'; |
51 | 51 | const person = {
|
52 | 52 | name: 'Marcus Aurelius',
|
53 | 53 | [fn('city')]: 'Roma',
|
|
You can’t perform that action at this time.
0 commit comments