From 323e7412132df888661a755b838e94abb20cf1b7 Mon Sep 17 00:00:00 2001 From: Wojciech Maj Date: Mon, 8 Oct 2018 18:29:54 +0200 Subject: [PATCH] Fix ESLint errors --- sample/parcel/Sample.jsx | 3 ++- sample/webpack/Sample.jsx | 3 ++- src/OutlineItem.jsx | 1 + src/__tests__/utils.js | 5 ++--- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/sample/parcel/Sample.jsx b/sample/parcel/Sample.jsx index 93b4c3d56..61a27ba2f 100644 --- a/sample/parcel/Sample.jsx +++ b/sample/parcel/Sample.jsx @@ -36,7 +36,8 @@ export default class Sample extends Component {
-   + + {' '}
-   + + {' '} { let promiseResolve; const promise = new Promise((resolve) => { @@ -14,8 +15,6 @@ export const makeAsyncCallback = (callbackValue) => { }; export const loadPDF = (path) => { - const fs = require('fs'); - const raw = fs.readFileSync(path); const arrayBuffer = raw.buffer;