Skip to content

Commit 218f39b

Browse files
committed
Fix build failure on github 2.0
1 parent 00ca77e commit 218f39b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.eslintrc.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ module.exports = {
33
'eslint:recommended',
44
'plugin:@typescript-eslint/eslint-recommended',
55
'plugin:@typescript-eslint/recommended',
6-
'plugin:prettier/recommended'
6+
'plugin:prettier/recommended',
7+
'plugin:react/recommended'
78
],
89
parser: '@typescript-eslint/parser',
910
parserOptions: {

src/CodeSnippetDisplay.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ export class CodeSnippetDisplay extends React.Component<
255255
<div
256256
className="triangle"
257257
title="Bookmark"
258-
onClick={event => {
258+
onClick={(event): void => {
259259
this.bookmarkSnippetClick(codeSnippet, event);
260260
}}
261261
></div>

0 commit comments

Comments
 (0)