chore: fix lint issues

This commit is contained in:
Roman Hotsiy 2018-03-16 23:58:25 +02:00
parent 6018042180
commit d3655161fc
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0
6 changed files with 7 additions and 7 deletions

View File

@ -1,5 +1,5 @@
import styled from '../styled-components';
import { transparentize } from 'polished';
import styled from '../styled-components';
import { deprecatedCss } from './mixins';
export const PropertiesTableCaption = styled.caption`

View File

@ -1,6 +1,6 @@
import { transparentize } from 'polished';
import styled from 'styled-components';
import { PropertyNameCell } from './fields-layout';
import { transparentize } from 'polished';
export const ClickablePropertyNameCell = PropertyNameCell.extend`
cursor: pointer;

View File

@ -1,7 +1,7 @@
import styled from '../../styled-components';
import { UnderlinedHeader } from '../../common-elements';
import { transparentize } from 'polished';
import { UnderlinedHeader } from '../../common-elements';
import { ResponseTitle } from './ResponseTitle';
export const StyledResponseTitle = styled(ResponseTitle)`

View File

@ -1,6 +1,6 @@
import { transparentize } from 'polished';
import * as React from 'react';
import styled from '../../styled-components';
import { transparentize } from 'polished';
import { UnderlinedHeader } from '../../common-elements/headers';
import { SecurityRequirementModel } from '../../services/models/SecurityRequirement';

View File

@ -1,4 +1,4 @@
import defaultTheme, { ResolvedThemeInterface, ThemeInterface, resolveTheme } from '../theme';
import defaultTheme, { ResolvedThemeInterface, resolveTheme, ThemeInterface } from '../theme';
import { querySelector } from '../utils/dom';
import { isNumeric, mergeObjects } from '../utils/helpers';

View File

@ -1,6 +1,6 @@
import { lighten } from 'polished';
const theme: ThemeInterface = {
const defaultTheme: ThemeInterface = {
spacingUnit: 20,
breakpoints: {
small: '50rem',
@ -64,7 +64,7 @@ const theme: ThemeInterface = {
},
};
export default theme;
export default defaultTheme;
export function resolveTheme(theme: ThemeInterface): ResolvedThemeInterface {
const resolvedValues = {};