fix(eslint): Fixed eslint issue

This commit is contained in:
Chris Troutner
2020-07-06 18:14:29 -07:00
parent 561851a029
commit d799c07cf4
4 changed files with 12 additions and 8 deletions
+3
View File
@@ -6,5 +6,8 @@
},
"parserOptions": {
"ecmaVersion": 10
},
"rules": {
"no-unused-vars": "off"
}
}
+2 -1
View File
@@ -1,4 +1,5 @@
{
"arrowParens": "avoid",
"semi": false
"semi": false,
"no-unused-vars": false
}
+6 -6
View File
@@ -13,18 +13,18 @@ class DemoComponent extends React.Component {
render () {
return (
<Content
title="Demo Component"
subTitle="Getting started with adminlte-2-react"
browserTitle="Demo Component"
title='Demo Component'
subTitle='Getting started with adminlte-2-react'
browserTitle='Demo Component'
>
<Row>
<Col xs={12}>
<Box
title="A Box"
type="primary"
title='A Box'
type='primary'
closable
collapsable
footer={<Button type="danger" text="Danger Button" />}
footer={<Button type='danger' text='Danger Button' />}
>
This is the View portion of the Demo Component. This view is
controlled by the src/demo-component/index.js file.
@@ -16,7 +16,7 @@ const MenuComponents = [
{
key: 'Demo Component',
component: <DemoComponent />,
menuItem: <Item icon="fas-cog" key="Demo Component" text="Demo Component" />
menuItem: <Item icon='fas-cog' key='Demo Component' text='Demo Component' />
}
]