Skip to content

Webapp lint fails on current master #49

Description

@PRADDZY

What happened?
npm run lint fails in the webapp on current master.

What did you expect?
The documented web dashboard lint command should pass without errors so contributors can use it as a local quality gate.

Steps to reproduce

  1. Clone the repository.
  2. Run cd webapp.
  3. Run npm install.
  4. Run npm run lint.

Observed errors

  • src/components/Sidebar.tsx: five @typescript-eslint/no-unused-vars errors for unused _ parameters in icon props.
  • src/pages/Jobs.tsx: react-hooks/set-state-in-effect error because loadJobs() synchronously calls setJobs() from an effect.

Environment

  • OS: Windows
  • Node/npm: repository webapp/package-lock.json dependencies
  • AnakinScraper version: c875d37

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions