Skip to content

Commit 3552990

Browse files
committed
style: fix lint errors
1 parent f27859e commit 3552990

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ export default class Autolink extends PureComponent {
167167

168168
return (
169169
<Text
170+
// eslint-disable-next-line react/jsx-props-no-spreading
170171
{...textProps}
171172
key={index}
172173
style={linkStyle || styles.link}
@@ -265,7 +266,7 @@ export default class Autolink extends PureComponent {
265266

266267
const nodes = text
267268
.split(tokenRegexp)
268-
.filter(part => !!part)
269+
.filter((part) => !!part)
269270
.map((part, index) => {
270271
const match = matches[part];
271272

0 commit comments

Comments
 (0)