Skip to content

Commit

Permalink
fix(lint): Fixed eslint errors and a typo
Browse files Browse the repository at this point in the history
- badges.js: fixed indention
- config.js & addon.js: Removed semi-column termination
- Development.md: "accross" -> "across"
  • Loading branch information
lzhuor committed Jul 16, 2018
1 parent 15614bf commit 1f99dc0
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions packages/blockchain-info-components/.storybook/addons.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* eslint-disable import/no-extraneous-dependencies, import/no-unresolved, import/extensions */

import '@storybook/addon-actions/register';
import '@storybook/addon-links/register';
import '@storybook/addon-actions/register'
import '@storybook/addon-links/register'
8 changes: 4 additions & 4 deletions packages/blockchain-info-components/.storybook/config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/* eslint-disable import/no-extraneous-dependencies, import/no-unresolved, import/extensions */

import { configure } from '@storybook/react';
import { configure } from '@storybook/react'

function loadStories() {
require('../stories');
function loadStories () {
require('../stories')
}

configure(loadStories, module);
configure(loadStories, module)
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Layout from '../components/layout'
import { Badge } from '../../src'

storiesOf('Badges', module)
.addDecorator(story => (<Layout>{story()}</Layout>))
.addDecorator((story, context) => withInfo({ text: 'Documentation', inline: true })(story)(context))
.add('Apple Store Badge', () => <Badge type='applestore' />)
.add('Google Play Badge', () => <Badge type='googleplay' />)
.addDecorator(story => (<Layout>{story()}</Layout>))
.addDecorator((story, context) => withInfo({ text: 'Documentation', inline: true })(story)(context))
.add('Apple Store Badge', () => <Badge type='applestore' />)
.add('Google Play Badge', () => <Badge type='googleplay' />)
2 changes: 1 addition & 1 deletion packages/blockchain-wallet-v4-frontend/help/Development.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ This directory contains locale resources like locales and sass

### Components

This directory contains shared/reusable components accross the project.
This directory contains shared/reusable components across the project.

### Config

Expand Down

0 comments on commit 1f99dc0

Please sign in to comment.