Run eslint --fix
This commit is contained in:
parent
d560f7a725
commit
4b170b4e63
@ -2,3 +2,4 @@ packages/*/lib
|
||||
packages/*/esm
|
||||
build/
|
||||
packages/*/src/migrations
|
||||
node_modules/
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
module.exports = {
|
||||
projects: [
|
||||
"<rootDir>/packages/*/src",
|
||||
'<rootDir>/packages/*/src',
|
||||
],
|
||||
}
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { CrumbLink } from "./CrumbLink";
|
||||
import { CrumbLink } from './CrumbLink'
|
||||
|
||||
export interface CrumbsState {
|
||||
links: CrumbLink[]
|
||||
|
||||
@ -1,16 +1,9 @@
|
||||
/* eslint @typescript-eslint/no-explicit-any: 0 */
|
||||
import { createStore, SelectState, WaitMiddleware } from '@rondo.dev/redux'
|
||||
import React from 'react'
|
||||
import ReactDOM from 'react-dom'
|
||||
import {createStore, SelectState, WaitMiddleware} from '@rondo.dev/redux'
|
||||
import {Provider} from 'react-redux'
|
||||
import {
|
||||
Action,
|
||||
AnyAction,
|
||||
DeepPartial,
|
||||
Reducer,
|
||||
ReducersMapObject,
|
||||
combineReducers,
|
||||
} from 'redux'
|
||||
import { Provider } from 'react-redux'
|
||||
import { Action, AnyAction, combineReducers, Reducer, ReducersMapObject } from 'redux'
|
||||
|
||||
interface RenderParams<State, LocalState> {
|
||||
reducers: ReducersMapObject<State, any>
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
import { NewUser, UserProfile } from "../user";
|
||||
import { ChangePasswordParams } from "./ChangePasswordParams";
|
||||
import { Credentials } from "./Credentials";
|
||||
import { NewUser, UserProfile } from '../user'
|
||||
import { ChangePasswordParams } from './ChangePasswordParams'
|
||||
import { Credentials } from './Credentials'
|
||||
|
||||
export interface AuthService {
|
||||
createUser(credentials: NewUser): Promise<UserProfile>
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import { Namespace } from "cls-hooked";
|
||||
import { TransactionManager } from "./TransactionManager";
|
||||
import { Namespace } from 'cls-hooked'
|
||||
import { TransactionManager } from './TransactionManager'
|
||||
|
||||
export interface Database<
|
||||
Connection,
|
||||
|
||||
@ -35,7 +35,7 @@ export function createStore<State, A extends Action>(
|
||||
params.reducer,
|
||||
// stupid warning about how Partial<State> | undefined cannot be used as
|
||||
// DeepPartial<State> | undefined
|
||||
params.state as any, // eslint-disable-line
|
||||
params.state as DeepPartial<State> | undefined,
|
||||
applyMiddleware(...middleware),
|
||||
)
|
||||
}
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import { readdirSync, lstatSync } from "fs"
|
||||
import { join } from "path"
|
||||
import { readdirSync, lstatSync } from 'fs'
|
||||
import { join } from 'path'
|
||||
|
||||
export function getFolders(dir: string): string[] {
|
||||
return readdirSync(dir)
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import { AppServer } from './AppServer'
|
||||
import { TypeORMDatabase } from '@rondo.dev/db-typeorm';
|
||||
import { TypeORMDatabase } from '@rondo.dev/db-typeorm'
|
||||
|
||||
export interface Application {
|
||||
readonly server: AppServer
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user