From b37e49880aeaf1bff9ed5bc1104d6c279adef392 Mon Sep 17 00:00:00 2001 From: Lachlan Kermode Date: Thu, 13 Dec 2018 16:49:23 +0000 Subject: [PATCH] fix lint --- src/blueprinters/deeprows.js | 3 +-- src/blueprinters/groups.js | 1 - src/blueprinters/ids.js | 1 - src/blueprinters/rows.js | 1 - src/blueprinters/tree.js | 3 --- 5 files changed, 1 insertion(+), 8 deletions(-) diff --git a/src/blueprinters/deeprows.js b/src/blueprinters/deeprows.js index a27c7f2..036d4af 100644 --- a/src/blueprinters/deeprows.js +++ b/src/blueprinters/deeprows.js @@ -1,4 +1,3 @@ -import R from 'ramda' import { fmtObj } from '../lib/util' /** @@ -46,7 +45,7 @@ export default (data) => { // generate deep row labels using structure Object.keys(structure) .forEach(newLabel => { - if (newLabel != '__flat') { + if (newLabel !== '__flat') { const oldLabels = structure[newLabel] // only add new value if not '' const labelValues = [] diff --git a/src/blueprinters/groups.js b/src/blueprinters/groups.js index 9b08ca8..49ab684 100644 --- a/src/blueprinters/groups.js +++ b/src/blueprinters/groups.js @@ -1,4 +1,3 @@ -import R from 'ramda' import { fmtObj } from '../lib/util' /** diff --git a/src/blueprinters/ids.js b/src/blueprinters/ids.js index 9423f8b..6af7840 100644 --- a/src/blueprinters/ids.js +++ b/src/blueprinters/ids.js @@ -1,4 +1,3 @@ -import R from 'ramda' import { fmtObj } from '../lib/util' /** diff --git a/src/blueprinters/rows.js b/src/blueprinters/rows.js index f3cf8a2..25e9999 100644 --- a/src/blueprinters/rows.js +++ b/src/blueprinters/rows.js @@ -1,4 +1,3 @@ -import R from 'ramda' import { fmtObj } from '../lib/util' /** diff --git a/src/blueprinters/tree.js b/src/blueprinters/tree.js index 5a80cd3..2e4dd21 100644 --- a/src/blueprinters/tree.js +++ b/src/blueprinters/tree.js @@ -1,6 +1,3 @@ -import R from 'ramda' -import { fmtObj } from '../lib/util' - /** * Each resource item is inserted into a tree. TODO: describe layout. *