Skip to content

Commit

Permalink
refactor(Root): Fix linter error and warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
midudev committed Jun 10, 2022
1 parent 102f5b4 commit 55a80fb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions packages/sui-helpers/test/server/fileSpec.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import filesystem from 'fs'
import fs from 'fs/promises'
import path from 'path'

import {expect} from 'chai'

import {removeFile, writeFile} from '../../file.js'

const fs = filesystem.promises
const pathOfFile = `${__dirname}/a.txt`
const pathOfFile = path.join(__dirname, 'a.txt')

describe('[sui-helpers] file.js utils', () => {
describe('writeFile', () => {
Expand Down
3 changes: 2 additions & 1 deletion packages/sui-studio/src/components/style/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,6 @@ export default function Style({children, id}) {
}

Style.propTypes = {
children: PropTypes.node
children: PropTypes.node,
id: PropTypes.string
}
3 changes: 2 additions & 1 deletion packages/sui-widget-embedder/src-react/Widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,6 @@ Widget.propTypes = {
children: PropTypes.element.isRequired,
context: PropTypes.object,
isVisible: PropTypes.bool,
selector: PropTypes.string.isRequired
selector: PropTypes.string.isRequired,
renderMultiple: PropTypes.bool
}

0 comments on commit 55a80fb

Please sign in to comment.