Skip to content

Address ESlint errors in the file: ./components/GiftDetailsView/GiftDetailsView.tsx #258

@HoldUpFjord

Description

@HoldUpFjord

Replicating errors:

  • Open repo in VSCode ( or editor of choice)
  • Remove file from eslint ignore
  • Open terminal
  • execute terminal command npx eslint ./components/GiftDetailsView/GiftDetailsView.tsx

Existing errors:

  • LIne 1:1
    • Error: missing header header/header
  • Line 13:25
    • Error: Missing JSDoc comment. jsdoc/require-jsdoc
  • Line 19:4
    • Error: Missing return type on function. @typescript-eslint/explicit-function-return-type
  • Line 26:28
    • Error: Missing JSDoc comment. jsdoc/require-jsdoc
  • LIne 26:69
    • Error: Missing return type on function. @typescript-eslint/explicit-function-return-type
  • Line 68:22
    • Error: Do not use Array index in keys react/no-array-index-key

Metadata

Metadata

Assignees

Labels

eslintErrors that occur in existing files when running them through Eslints linter.

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions