Skip to content

Commit

Permalink
fix eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
kentcdodds committed Apr 26, 2024
1 parent 6cb7c93 commit 0912eea
Show file tree
Hide file tree
Showing 39 changed files with 0 additions and 117 deletions.
3 changes: 0 additions & 3 deletions examples/unnecessary-rerenders/reset.d.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import '@total-typescript/ts-reset'
import '@total-typescript/ts-reset/dom'

// eslint-disable-next-line react/no-typos
import 'react'

declare module 'react' {
interface CSSProperties {
[key: `--${string}`]: string | number
}

function use<T>(context: React.Context<T> | Promise<T>): T
}
3 changes: 0 additions & 3 deletions exercises/01.composition/01.problem.reuse/reset.d.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import '@total-typescript/ts-reset'
import '@total-typescript/ts-reset/dom'

// eslint-disable-next-line react/no-typos
import 'react'

declare module 'react' {
interface CSSProperties {
[key: `--${string}`]: string | number
}

function use<T>(context: React.Context<T> | Promise<T>): T
}
3 changes: 0 additions & 3 deletions exercises/01.composition/01.solution.reuse/reset.d.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import '@total-typescript/ts-reset'
import '@total-typescript/ts-reset/dom'

// eslint-disable-next-line react/no-typos
import 'react'

declare module 'react' {
interface CSSProperties {
[key: `--${string}`]: string | number
}

function use<T>(context: React.Context<T> | Promise<T>): T
}
3 changes: 0 additions & 3 deletions exercises/01.composition/02.problem.props/reset.d.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import '@total-typescript/ts-reset'
import '@total-typescript/ts-reset/dom'

// eslint-disable-next-line react/no-typos
import 'react'

declare module 'react' {
interface CSSProperties {
[key: `--${string}`]: string | number
}

function use<T>(context: React.Context<T> | Promise<T>): T
}
3 changes: 0 additions & 3 deletions exercises/01.composition/02.solution.props/reset.d.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import '@total-typescript/ts-reset'
import '@total-typescript/ts-reset/dom'

// eslint-disable-next-line react/no-typos
import 'react'

declare module 'react' {
interface CSSProperties {
[key: `--${string}`]: string | number
}

function use<T>(context: React.Context<T> | Promise<T>): T
}
3 changes: 0 additions & 3 deletions exercises/01.composition/03.problem.context/reset.d.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import '@total-typescript/ts-reset'
import '@total-typescript/ts-reset/dom'

// eslint-disable-next-line react/no-typos
import 'react'

declare module 'react' {
interface CSSProperties {
[key: `--${string}`]: string | number
}

function use<T>(context: React.Context<T> | Promise<T>): T
}
3 changes: 0 additions & 3 deletions exercises/01.composition/03.solution.context/reset.d.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import '@total-typescript/ts-reset'
import '@total-typescript/ts-reset/dom'

// eslint-disable-next-line react/no-typos
import 'react'

declare module 'react' {
interface CSSProperties {
[key: `--${string}`]: string | number
}

function use<T>(context: React.Context<T> | Promise<T>): T
}
3 changes: 0 additions & 3 deletions exercises/01.composition/04.problem.use-memo/reset.d.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import '@total-typescript/ts-reset'
import '@total-typescript/ts-reset/dom'

// eslint-disable-next-line react/no-typos
import 'react'

declare module 'react' {
interface CSSProperties {
[key: `--${string}`]: string | number
}

function use<T>(context: React.Context<T> | Promise<T>): T
}
3 changes: 0 additions & 3 deletions exercises/01.composition/04.solution.use-memo/reset.d.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import '@total-typescript/ts-reset'
import '@total-typescript/ts-reset/dom'

// eslint-disable-next-line react/no-typos
import 'react'

declare module 'react' {
interface CSSProperties {
[key: `--${string}`]: string | number
}

function use<T>(context: React.Context<T> | Promise<T>): T
}
3 changes: 0 additions & 3 deletions exercises/01.composition/05.problem.memo/reset.d.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import '@total-typescript/ts-reset'
import '@total-typescript/ts-reset/dom'

// eslint-disable-next-line react/no-typos
import 'react'

declare module 'react' {
interface CSSProperties {
[key: `--${string}`]: string | number
}

function use<T>(context: React.Context<T> | Promise<T>): T
}
3 changes: 0 additions & 3 deletions exercises/01.composition/05.solution.memo/reset.d.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import '@total-typescript/ts-reset'
import '@total-typescript/ts-reset/dom'

// eslint-disable-next-line react/no-typos
import 'react'

declare module 'react' {
interface CSSProperties {
[key: `--${string}`]: string | number
}

function use<T>(context: React.Context<T> | Promise<T>): T
}
3 changes: 0 additions & 3 deletions exercises/02.context/01.problem.memo-context/reset.d.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import '@total-typescript/ts-reset'
import '@total-typescript/ts-reset/dom'

// eslint-disable-next-line react/no-typos
import 'react'

declare module 'react' {
interface CSSProperties {
[key: `--${string}`]: string | number
}

function use<T>(context: React.Context<T> | Promise<T>): T
}
3 changes: 0 additions & 3 deletions exercises/02.context/01.solution.memo-context/reset.d.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import '@total-typescript/ts-reset'
import '@total-typescript/ts-reset/dom'

// eslint-disable-next-line react/no-typos
import 'react'

declare module 'react' {
interface CSSProperties {
[key: `--${string}`]: string | number
}

function use<T>(context: React.Context<T> | Promise<T>): T
}
3 changes: 0 additions & 3 deletions exercises/02.context/02.problem.provider-component/reset.d.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import '@total-typescript/ts-reset'
import '@total-typescript/ts-reset/dom'

// eslint-disable-next-line react/no-typos
import 'react'

declare module 'react' {
interface CSSProperties {
[key: `--${string}`]: string | number
}

function use<T>(context: React.Context<T> | Promise<T>): T
}
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import '@total-typescript/ts-reset'
import '@total-typescript/ts-reset/dom'

// eslint-disable-next-line react/no-typos
import 'react'

declare module 'react' {
interface CSSProperties {
[key: `--${string}`]: string | number
}

function use<T>(context: React.Context<T> | Promise<T>): T
}
3 changes: 0 additions & 3 deletions exercises/02.context/03.problem.split-context/reset.d.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import '@total-typescript/ts-reset'
import '@total-typescript/ts-reset/dom'

// eslint-disable-next-line react/no-typos
import 'react'

declare module 'react' {
interface CSSProperties {
[key: `--${string}`]: string | number
}

function use<T>(context: React.Context<T> | Promise<T>): T
}
3 changes: 0 additions & 3 deletions exercises/02.context/03.solution.split-context/reset.d.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import '@total-typescript/ts-reset'
import '@total-typescript/ts-reset/dom'

// eslint-disable-next-line react/no-typos
import 'react'

declare module 'react' {
interface CSSProperties {
[key: `--${string}`]: string | number
}

function use<T>(context: React.Context<T> | Promise<T>): T
}
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import '@total-typescript/ts-reset'
import '@total-typescript/ts-reset/dom'

// eslint-disable-next-line react/no-typos
import 'react'

declare module 'react' {
interface CSSProperties {
[key: `--${string}`]: string | number
}

function use<T>(context: React.Context<T> | Promise<T>): T
}
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import '@total-typescript/ts-reset'
import '@total-typescript/ts-reset/dom'

// eslint-disable-next-line react/no-typos
import 'react'

declare module 'react' {
interface CSSProperties {
[key: `--${string}`]: string | number
}

function use<T>(context: React.Context<T> | Promise<T>): T
}
3 changes: 0 additions & 3 deletions exercises/04.code-splitting/01.problem.lazy/src/reset.d.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import '@total-typescript/ts-reset'
import '@total-typescript/ts-reset/dom'

// eslint-disable-next-line react/no-typos
import 'react'

declare module 'react' {
interface CSSProperties {
[key: `--${string}`]: string | number
}

function use<T>(context: React.Context<T> | Promise<T>): T
}
3 changes: 0 additions & 3 deletions exercises/04.code-splitting/01.solution.lazy/src/reset.d.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import '@total-typescript/ts-reset'
import '@total-typescript/ts-reset/dom'

// eslint-disable-next-line react/no-typos
import 'react'

declare module 'react' {
interface CSSProperties {
[key: `--${string}`]: string | number
}

function use<T>(context: React.Context<T> | Promise<T>): T
}
3 changes: 0 additions & 3 deletions exercises/04.code-splitting/02.problem.eager/src/reset.d.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import '@total-typescript/ts-reset'
import '@total-typescript/ts-reset/dom'

// eslint-disable-next-line react/no-typos
import 'react'

declare module 'react' {
interface CSSProperties {
[key: `--${string}`]: string | number
}

function use<T>(context: React.Context<T> | Promise<T>): T
}
3 changes: 0 additions & 3 deletions exercises/04.code-splitting/02.solution.eager/src/reset.d.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import '@total-typescript/ts-reset'
import '@total-typescript/ts-reset/dom'

// eslint-disable-next-line react/no-typos
import 'react'

declare module 'react' {
interface CSSProperties {
[key: `--${string}`]: string | number
}

function use<T>(context: React.Context<T> | Promise<T>): T
}
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import '@total-typescript/ts-reset'
import '@total-typescript/ts-reset/dom'

// eslint-disable-next-line react/no-typos
import 'react'

declare module 'react' {
interface CSSProperties {
[key: `--${string}`]: string | number
}

function use<T>(context: React.Context<T> | Promise<T>): T
}
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import '@total-typescript/ts-reset'
import '@total-typescript/ts-reset/dom'

// eslint-disable-next-line react/no-typos
import 'react'

declare module 'react' {
interface CSSProperties {
[key: `--${string}`]: string | number
}

function use<T>(context: React.Context<T> | Promise<T>): T
}
3 changes: 0 additions & 3 deletions exercises/05.calculations/01.problem.use-memo/src/reset.d.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import '@total-typescript/ts-reset'
import '@total-typescript/ts-reset/dom'

// eslint-disable-next-line react/no-typos
import 'react'

declare module 'react' {
interface CSSProperties {
[key: `--${string}`]: string | number
}

function use<T>(context: React.Context<T> | Promise<T>): T
}
3 changes: 0 additions & 3 deletions exercises/05.calculations/01.solution.use-memo/src/reset.d.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import '@total-typescript/ts-reset'
import '@total-typescript/ts-reset/dom'

// eslint-disable-next-line react/no-typos
import 'react'

declare module 'react' {
interface CSSProperties {
[key: `--${string}`]: string | number
}

function use<T>(context: React.Context<T> | Promise<T>): T
}
3 changes: 0 additions & 3 deletions exercises/05.calculations/02.problem.worker/src/reset.d.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import '@total-typescript/ts-reset'
import '@total-typescript/ts-reset/dom'

// eslint-disable-next-line react/no-typos
import 'react'

declare module 'react' {
interface CSSProperties {
[key: `--${string}`]: string | number
}

function use<T>(context: React.Context<T> | Promise<T>): T
}
Loading

0 comments on commit 0912eea

Please sign in to comment.