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 { transparentize } from 'polished';
import styled from '../styled-components';
import { deprecatedCss } from './mixins'; import { deprecatedCss } from './mixins';
export const PropertiesTableCaption = styled.caption` export const PropertiesTableCaption = styled.caption`

View File

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

View File

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

View File

@ -1,6 +1,6 @@
import { transparentize } from 'polished';
import * as React from 'react'; import * as React from 'react';
import styled from '../../styled-components'; import styled from '../../styled-components';
import { transparentize } from 'polished';
import { UnderlinedHeader } from '../../common-elements/headers'; import { UnderlinedHeader } from '../../common-elements/headers';
import { SecurityRequirementModel } from '../../services/models/SecurityRequirement'; 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 { querySelector } from '../utils/dom';
import { isNumeric, mergeObjects } from '../utils/helpers'; import { isNumeric, mergeObjects } from '../utils/helpers';

View File

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