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