Skip to content

Bug: Missing @eslint/js devDependency causes ESLint to fail in client #17

Description

@ThummarDarshan

Environment

  • GlobaLeaks Version: 5.0.96
  • Component: Client linter configuration

Describe the Bug

Running the linter on the client-side codebase fails immediately on a fresh clone due to a missing module dependency.

Steps to Reproduce

  1. Navigate to the client/ directory.
  2. Run npm ci to install project dependencies.
  3. Run npm run eslint (or npx eslint app/src/**/*.ts).

Expected Behavior

ESLint runs successfully and reports code quality and style checks.

Actual Behavior

The linter execution fails with:

Error: Cannot find module '@eslint/js'
Require stack:
- E:\D DRIVE\5TH SEM\open\client\eslint.config.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions