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": { "parserOptions": {
"ecmaVersion": 10 "ecmaVersion": 10
},
"rules": {
"no-unused-vars": "off"
} }
} }
+2 -1
View File
@@ -1,4 +1,5 @@
{ {
"arrowParens": "avoid", "arrowParens": "avoid",
"semi": false "semi": false,
"no-unused-vars": false
} }
+6 -6
View File
@@ -13,18 +13,18 @@ class DemoComponent extends React.Component {
render () { render () {
return ( return (
<Content <Content
title="Demo Component" title='Demo Component'
subTitle="Getting started with adminlte-2-react" subTitle='Getting started with adminlte-2-react'
browserTitle="Demo Component" browserTitle='Demo Component'
> >
<Row> <Row>
<Col xs={12}> <Col xs={12}>
<Box <Box
title="A Box" title='A Box'
type="primary" type='primary'
closable closable
collapsable 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 This is the View portion of the Demo Component. This view is
controlled by the src/demo-component/index.js file. controlled by the src/demo-component/index.js file.
@@ -16,7 +16,7 @@ const MenuComponents = [
{ {
key: 'Demo Component', key: 'Demo Component',
component: <DemoComponent />, component: <DemoComponent />,
menuItem: <Item icon="fas-cog" key="Demo Component" text="Demo Component" /> menuItem: <Item icon='fas-cog' key='Demo Component' text='Demo Component' />
} }
] ]