feat: use eslint with prettier to format code

This commit is contained in:
Valeriy
2019-02-19 01:59:12 +03:00
committed by mrugesh mohapatra
parent be36915605
commit fc8c71ad16
70 changed files with 254 additions and 236 deletions

View File

@@ -45,7 +45,7 @@ function ToolPanel({
className={`tool-panel-group ${
isMobile ? 'tool-panel-group-mobile' : ''
}`}
>
>
<Button block={true} bsStyle='primary' onClick={executeChallenge}>
{isMobile ? 'Run' : 'Run the Tests'}
</Button>
@@ -54,7 +54,7 @@ function ToolPanel({
bsStyle='primary'
className='btn-invert'
onClick={openResetModal}
>
>
{isMobile ? 'Reset' : 'Reset All Code'}
</Button>
{guideUrl ? (
@@ -64,7 +64,7 @@ function ToolPanel({
className='btn-invert'
href={guideUrl}
target='_blank'
>
>
{isMobile ? 'Hint' : 'Get a hint'}
</Button>
) : null}
@@ -74,7 +74,7 @@ function ToolPanel({
bsStyle='primary'
className='btn-invert'
onClick={openVideoModal}
>
>
{isMobile ? 'Video' : 'Watch a video'}
</Button>
) : null}
@@ -83,7 +83,7 @@ function ToolPanel({
bsStyle='primary'
className='btn-invert'
onClick={openHelpModal}
>
>
{isMobile ? 'Help' : 'Ask for help'}
</Button>
</div>