[DX] Eslint setup #98
Annotations
11 errors and 3 warnings
ESLint:
src/env.d.ts#L1
Do not use a triple slash reference for astro/client, use `import` style instead
|
ESLint:
src/functions/v2/[[name]]/manifests/[reference]/index.ts#L30
Unexpected nullable string value in conditional. Please handle the nullish/empty cases explicitly
|
ESLint:
src/functions/v2/[[name]]/manifests/[reference]/index.ts#L52
Unsafe assignment of an `any` value
|
ESLint:
src/functions/v2/[[name]]/manifests/[reference]/index.ts#L52
Unsafe member access .mediaType on an `any` value
|
ESLint:
src/functions/v2/[[name]]/manifests/[reference]/index.ts#L54
Unexpected string value in conditional. An explicit empty string check is required
|
ESLint:
src/functions/v2/seed.ts#L8
Missing return type on function
|
ESLint:
src/functions/v2/seed.ts#L13
Operands of '+' operation must either be both strings or both numbers. Consider using a template literal
|
ESLint:
src/functions/v2/seed.ts#L17
Missing return type on function
|
ESLint:
src/functions/v2/seed.ts#L63
Missing return type on function
|
ESLint:
src/functions/v2/seed.ts#L73
Expected '!==' and instead saw '!='
|
Prettier
Process completed with exit code 1.
|
ESLint:
src/pages/index.astro#L9
Classname 'text-gradient' is not a Tailwind CSS class!
|
ESLint:
src/pages/index.astro#L10
Classname 'text-gradient' is not a Tailwind CSS class!
|
ESLint:
src/pages/index.astro#L13
Classname 'instructions' is not a Tailwind CSS class!
|