Skip to content

Commit 4fe689d

Browse files
committed
Fix lint
1 parent 024bf4a commit 4fe689d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/webdoc-parser/src/tag-parsers/parseProperty.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// @flow
22
import type {BaseDoc, PropertyTag} from "@webdoc/types";
3+
import {CANONICAL_SEPARATOR, createDoc, findDoc} from "@webdoc/model";
34
import {StringUtils, matchDataTypeClosure, matchDefaultValueClosure} from "./helper";
4-
import {createDoc, findDoc, CANONICAL_SEPARATOR} from "@webdoc/model";
55
import {parseDataType} from "@webdoc/model";
66

77
// @property {<DATA_TYPE>} <NAME> - <DESC>
@@ -126,7 +126,8 @@ export function parseProperty(value: string, doc: $Shape<BaseDoc>): PropertyTag
126126
if (parent) {
127127
doc.members.push(propertyDoc);
128128
} else {
129-
throw new Error('Property ' + name + '\'s parent cannot be located. Did you declare parent properties?');
129+
throw new Error("Property " + name +
130+
"'s parent cannot be located. Did you declare parent properties?'");
130131
}
131132

132133
return {

0 commit comments

Comments
 (0)