mirror of
https://github.com/bellingcat/datasheet-server.git
synced 2026-06-12 21:38:32 +03:00
fix lint
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
import R from 'ramda'
|
|
||||||
import { fmtObj } from '../lib/util'
|
import { fmtObj } from '../lib/util'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -46,7 +45,7 @@ export default (data) => {
|
|||||||
// generate deep row labels using structure
|
// generate deep row labels using structure
|
||||||
Object.keys(structure)
|
Object.keys(structure)
|
||||||
.forEach(newLabel => {
|
.forEach(newLabel => {
|
||||||
if (newLabel != '__flat') {
|
if (newLabel !== '__flat') {
|
||||||
const oldLabels = structure[newLabel]
|
const oldLabels = structure[newLabel]
|
||||||
// only add new value if not ''
|
// only add new value if not ''
|
||||||
const labelValues = []
|
const labelValues = []
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
import R from 'ramda'
|
|
||||||
import { fmtObj } from '../lib/util'
|
import { fmtObj } from '../lib/util'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
import R from 'ramda'
|
|
||||||
import { fmtObj } from '../lib/util'
|
import { fmtObj } from '../lib/util'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
import R from 'ramda'
|
|
||||||
import { fmtObj } from '../lib/util'
|
import { fmtObj } from '../lib/util'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -1,6 +1,3 @@
|
|||||||
import R from 'ramda'
|
|
||||||
import { fmtObj } from '../lib/util'
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Each resource item is inserted into a tree. TODO: describe layout.
|
* Each resource item is inserted into a tree. TODO: describe layout.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user