Skip to content

Commit 7b47fb6

Browse files
committed
docs: syntax-errors: convert colon to comma
1 parent 25abc61 commit 7b47fb6

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

docs/syntax-errors.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,11 +330,22 @@ function get() {
330330

331331
</details>
332332

333-
<details><summary>Argument name clash</summary>
333+
<details><summary>argument name clash</summary>
334334

335335
```diff
336336
-const a = ({b, b, ...c}) => {};
337337
+const a = ({b, ...c}) => {};
338338
```
339339

340340
</details>
341+
342+
<details><summary>convert colon to comma</summary>
343+
344+
```diff
345+
export const rules = [
346+
- ['apply-nesting': applyNesting],
347+
+ ['apply-nesting', applyNesting],
348+
];
349+
```
350+
351+
</details>

0 commit comments

Comments
 (0)