about summary refs log tree commit diff
path: root/storybook/stories
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2017-05-21 00:31:47 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-05-20 17:31:47 +0200
commit2e112e240666b62b8c3d4fa201fb24b841f6c92b (patch)
treef95f2eb5ae8156c10bf16894919d0ba5e3f34096 /storybook/stories
parent812fe90ecaef58f1dbe16c3fdfea79e14e7bbc9d (diff)
Improve eslint rules (#3147)
* Add semi to ESLint rules

* Add padded-blocks to ESLint rules

* Add comma-dangle to ESLint rules

* add config/webpack and storyboard

* add streaming/

* yarn test:lint -- --fix
Diffstat (limited to 'storybook/stories')
-rw-r--r--storybook/stories/autosuggest_textarea.story.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/storybook/stories/autosuggest_textarea.story.js b/storybook/stories/autosuggest_textarea.story.js
index 3f13aa416..32d0604e4 100644
--- a/storybook/stories/autosuggest_textarea.story.js
+++ b/storybook/stories/autosuggest_textarea.story.js
@@ -1,7 +1,7 @@
 import React from 'react';
-import { List } from 'immutable'
+import { List } from 'immutable';
 import { action, storiesOf } from '@kadira/storybook';
-import AutosuggestTextarea from 'mastodon/components/autosuggest_textarea'
+import AutosuggestTextarea from 'mastodon/components/autosuggest_textarea';
 
 const props = {
   onChange: action('changed'),
@@ -9,9 +9,9 @@ const props = {
   onSuggestionSelected: action('suggestionsSelected'),
   onSuggestionsClearRequested: action('suggestionsClearRequested'),
   onSuggestionsFetchRequested: action('suggestionsFetchRequested'),
-  suggestions: List([])
-}
+  suggestions: List([]),
+};
 
 storiesOf('AutosuggestTextarea', module)
   .add('default state', () => <AutosuggestTextarea value='' {...props} />)
-  .add('with text', () => <AutosuggestTextarea value='Hello' {...props} />)
+  .add('with text', () => <AutosuggestTextarea value='Hello' {...props} />);