chore(lint): apply recommended lint rules

This commit is contained in:
Eric Liu 2019-12-29 15:37:56 -08:00
commit 866cc962cd
23 changed files with 35 additions and 54 deletions

View file

@ -13,7 +13,7 @@
import { onMount, afterUpdate } from 'svelte';
import ChevronDown16 from 'carbon-icons-svelte/lib/ChevronDown16';
import { cx, css } from '../../lib';
import { cx } from '../../lib';
let tile = undefined;
let tileContent = undefined;

View file

@ -1,13 +1,11 @@
import { withKnobs, select, number, boolean, text } from '@storybook/addon-knobs';
import { withKnobs, number, boolean, text } from '@storybook/addon-knobs';
import Component from './Tile.Story.svelte';
export default { title: 'Tile', decorators: [withKnobs] };
export const Default = () => ({
Component,
props: {
light: boolean('Light variant (light)', false)
}
props: { light: boolean('Light variant (light)', false) }
});
export const Clickable = () => ({
@ -28,13 +26,6 @@ export const MultiSelect = () => ({
}
});
const radioValues = {
None: '',
standard: 'standard',
'default-selected': 'default-selected',
selected: 'selected'
};
export const Selectable = () => ({
Component,
props: {