Move createPost to app/post.ts. Implement vote in app/vote.ts #28
Annotations
10 errors and 8 warnings
🔬 Lint:
app/db.ts#L2
'assert' is defined but never used
|
🔬 Lint:
app/db.ts#L8
'Post' is defined but never used
|
🔬 Lint:
app/probabilities.ts#L71
'_noteId' is assigned a value but never used
|
🔬 Lint:
app/probabilities.ts#L71
'_p' is assigned a value but never used
|
🔬 Lint:
app/probabilities.ts#L81
'_p' is assigned a value but never used
|
🔬 Lint:
app/probabilities.ts#L81
'_q' is assigned a value but never used
|
🔬 Lint:
app/probabilities.ts#L144
'_' is assigned a value but never used
|
🔬 Lint:
app/ranking.ts#L3
'QueryResult' is defined but never used
|
🔬 Lint:
app/ranking.ts#L11
'RankedPost' is defined but never used
|
🔬 Lint:
app/routes/posts+/$postId.tsx#L8
'Location' is defined but never used
|
🔬 Lint:
app/attention.ts#L36
Array.prototype.map() expects a return value from arrow function
|
🔬 Lint:
app/beta-distribution.ts#L15
Useless constructor
|
🔬 Lint:
app/db/kysely-types.ts#L1
Prefer using inline type specifiers instead of a top-level type-only import
|
🔬 Lint:
app/post.ts#L3
`#app/db/types.ts` import should occur before import of `#app/db.ts`
|
🔬 Lint:
app/post.ts#L9
`assert` import should occur before import of `#app/db.ts`
|
🔬 Lint:
app/routes/tags+/$tag.tsx#L40
Missing "key" prop for element in iterator
|
🔬 Lint:
app/vote.ts#L3
`#app/db/types.ts` import should occur before import of `#app/db.ts`
|
🔬 Lint:
app/vote.ts#L4
`kysely` import should occur before import of `#app/db.ts`
|
The logs for this run have expired and are no longer available.
Loading