Fix linting errors

This commit is contained in:
Jerko Steiner 2019-09-14 12:53:30 +07:00
parent ac8f1d9ff3
commit 0d1fddf512
6 changed files with 36 additions and 36 deletions

View File

@ -1,13 +1,13 @@
import { IAPIDef } from '@rondo.dev/common'; import { IAPIDef } from '@rondo.dev/common'
import { HTTPClientMock } from '@rondo.dev/http-client'; import { HTTPClientMock } from '@rondo.dev/http-client'
import { getError } from '@rondo.dev/test-utils'; import { getError } from '@rondo.dev/test-utils'
import React from 'react'; import React from 'react'
import ReactDOM from 'react-dom'; import ReactDOM from 'react-dom'
import T from 'react-dom/test-utils'; import T from 'react-dom/test-utils'
import { MemoryRouter } from 'react-router-dom'; import { MemoryRouter } from 'react-router-dom'
import { TestUtils } from '../test-utils'; import { TestUtils } from '../test-utils'
import * as Feature from './'; import * as Feature from './'
import { configureLogin } from './configureLogin'; import { configureLogin } from './configureLogin'
const test = new TestUtils() const test = new TestUtils()

View File

@ -1,13 +1,13 @@
import { IAPIDef } from '@rondo.dev/common'; import { IAPIDef } from '@rondo.dev/common'
import { HTTPClientMock } from '@rondo.dev/http-client'; import { HTTPClientMock } from '@rondo.dev/http-client'
import { getError } from '@rondo.dev/test-utils'; import { getError } from '@rondo.dev/test-utils'
import React from 'react'; import React from 'react'
import ReactDOM from 'react-dom'; import ReactDOM from 'react-dom'
import T from 'react-dom/test-utils'; import T from 'react-dom/test-utils'
import { MemoryRouter } from 'react-router-dom'; import { MemoryRouter } from 'react-router-dom'
import { TestUtils } from '../test-utils'; import { TestUtils } from '../test-utils'
import * as Feature from './'; import * as Feature from './'
import { configureRegister } from './configureRegister'; import { configureRegister } from './configureRegister'
const test = new TestUtils() const test = new TestUtils()

View File

@ -1,10 +1,10 @@
import { INewUser } from '@rondo.dev/common'; import { INewUser } from '@rondo.dev/common'
import { pack, TStateSelector } from '@rondo.dev/redux'; import { pack, TStateSelector } from '@rondo.dev/redux'
import { bindActionCreators } from 'redux'; import { bindActionCreators } from 'redux'
import { LoginActions } from './LoginActions'; import { LoginActions } from './LoginActions'
import { ILoginState } from './LoginReducer'; import { ILoginState } from './LoginReducer'
import { RegisterForm } from './RegisterForm'; import { RegisterForm } from './RegisterForm'
import { withForm } from './withForm'; import { withForm } from './withForm'
const defaultCredentials: INewUser = { const defaultCredentials: INewUser = {
username: '', username: '',

View File

@ -1,6 +1,6 @@
export * from './configureLogin'; export * from './configureLogin'
export * from './configureRegister'; export * from './configureRegister'
export * from './LoginActions'; export * from './LoginActions'
export * from './LoginForm'; export * from './LoginForm'
export * from './LoginReducer'; export * from './LoginReducer'
export * from './RegisterForm'; export * from './RegisterForm'

View File

@ -1,4 +1,4 @@
import { Server } from 'http'; import { Server } from 'http'
export interface IAppServer { export interface IAppServer {
listen(callback?: () => void): Server listen(callback?: () => void): Server

View File

@ -1,5 +1,5 @@
import { IDatabase } from '../database/IDatabase'; import { IDatabase } from '../database/IDatabase'
import { IAppServer } from './IAppServer'; import { IAppServer } from './IAppServer'
export interface IApplication { export interface IApplication {
readonly server: IAppServer readonly server: IAppServer