Skip to content

Commit

Permalink
lint some files under app/
Browse files Browse the repository at this point in the history
  • Loading branch information
nl0 committed Feb 5, 2021
1 parent e47ade2 commit 4a96d1f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion catalog/app/components/JsonEditor/State.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ function objToDict(obj, parentPath, memo) {
memo[serializeAddress(address)] = obj[key]

// weird eslint bug?
// eslint-disable-next-line no-unused-vars
// eslint-disable-next-line @typescript-eslint/no-unused-vars
objToDict(obj[key], address, memo)
})
return memo
Expand Down
2 changes: 2 additions & 0 deletions catalog/app/components/Preview/renderers/Vega.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ import PT from 'prop-types'
import * as React from 'react'
import embed from 'vega-embed'

// TODO: refactor to use hooks
class Vega extends React.Component {
static propTypes = {
// eslint-disable-next-line react/forbid-prop-types
spec: PT.object.isRequired,
}

Expand Down
2 changes: 1 addition & 1 deletion catalog/app/containers/Search/Search.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ function BucketSelectDropdown({ buckets, onChange, short = false }) {
<>
<button type="button" onClick={state.edit} className={classes.btn} ref={anchorRef}>
<span>
{short ? <>{'s3://'}&hellip;</> : displaySelectedBuckets(state.value)}
{short ? <>s3://&hellip;</> : displaySelectedBuckets(state.value)}
</span>
<M.Icon fontSize="inherit">expand_more</M.Icon>
</button>
Expand Down

0 comments on commit 4a96d1f

Please sign in to comment.