Updated ESLINT and fixing linting issues

This commit is contained in:
Nicolas Gotchac
2016-11-25 19:48:06 +01:00
parent 8392090861
commit f77afd072b
23 changed files with 64 additions and 67 deletions

View File

@@ -62,7 +62,7 @@ export default class Calls extends Component {
onClick={ this.clearHistory }
className={ styles.removeIcon }
>
<i className='icon-trash'></i>
<i className='icon-trash' />
</a>
);
}

View File

@@ -140,7 +140,7 @@ export default class EditableValue extends Component {
title={ `Reset to ${this.props.defaultValue}` }
{ ...this._testInherit('reset') }
>
<i className='icon-anchor'></i>
<i className='icon-anchor' />
</a>
);
}
@@ -154,7 +154,7 @@ export default class EditableValue extends Component {
onClick={ this.onSubmit }
{ ...this._testInherit('submit') }
>
<i className='icon-check'></i>
<i className='icon-check' />
</a>,
<a
key={ 'cancel' }
@@ -162,7 +162,7 @@ export default class EditableValue extends Component {
onClick={ this.onCancel }
{ ...this._testInherit('cancel') }
>
<i className='icon-close'></i>
<i className='icon-close' />
</a>
];
}
@@ -175,7 +175,7 @@ export default class EditableValue extends Component {
title='Edit'
{ ...this._testInherit('edit') }
>
<i className='icon-pencil'></i>
<i className='icon-pencil' />
</a>
);
}

View File

@@ -53,7 +53,7 @@ export default class JsonEditor extends Component {
className={ `${styles.editor} ${errorClass}` }
value={ this.state.value }
/>
{ this.renderError() }
{ this.renderError() }
</div>
);
}

View File

@@ -66,7 +66,7 @@ export default class RpcCalls extends Component {
</div>
</div>
</div>
<div style={ { clear: 'both' } }></div>
<div style={ { clear: 'both' } } />
<div className='dapp-container'>
<div className='row'>
<div className='col col-6 mobile-full'>

View File

@@ -46,7 +46,7 @@ class RpcDocs extends Component {
</div>
</div>
</div>
<div style={ { clear: 'both' } }></div>
<div style={ { clear: 'both' } } />
<div className='dapp-container'>
<div className='row'>
<div className='col col-12'>

View File

@@ -24,10 +24,10 @@ export default class RpcNav extends Component {
return (
<div className={ styles.nav }>
<Link to={ '/rpc/calls' } activeClassName={ styles.activeNav } { ...this._test('rpc-calls-link') }>
<i className='icon-call-out'></i>
<i className='icon-call-out' />
</Link>
<Link to={ '/rpc/docs' } activeClassName={ styles.activeNav } { ...this._test('rpc-docs-link') }>
<i className='icon-docs'></i>
<i className='icon-docs' />
</Link>
</div>
);