Skip to content

Commit f4ae9b8

Browse files
committed
Remove semicolons
1 parent af38d7c commit f4ae9b8

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

readme.md

+11-11
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ Syntactic units in unist syntax trees are called nodes, and implement the
8989

9090
```idl
9191
interface Node {
92-
type: string;
93-
data: Data?;
94-
position: Position?;
92+
type: string
93+
data: Data?
94+
position: Position?
9595
}
9696
```
9797

@@ -121,9 +121,9 @@ For example, in JavaScript, a tree can be passed through
121121

122122
```idl
123123
interface Position {
124-
start: Point;
125-
end: Point;
126-
indent: [number >= 1]?;
124+
start: Point
125+
end: Point
126+
indent: [number >= 1]?
127127
}
128128
```
129129

@@ -161,9 +161,9 @@ end at line `2`, column `6`, offset `11`.
161161

162162
```idl
163163
interface Point {
164-
line: number >= 1;
165-
column: number >= 1;
166-
offset: number >= 0?;
164+
line: number >= 1
165+
column: number >= 1
166+
offset: number >= 0?
167167
}
168168
```
169169

@@ -188,7 +188,7 @@ implementing unist.
188188

189189
```idl
190190
interface Parent <: Node {
191-
children: [Node];
191+
children: [Node]
192192
}
193193
```
194194

@@ -201,7 +201,7 @@ The `children` field is a list representing the children of a node.
201201

202202
```idl
203203
interface Literal <: Node {
204-
value: any;
204+
value: any
205205
}
206206
```
207207

0 commit comments

Comments
 (0)