Skip to content

Update and fix Linting #1629

Open
@clepski

Description

@clepski

Problem

Currently the lint command does not work and the ESLint version 7 and config format are outdated and deprecated.

TypeError: Failed to load plugin '@typescript-eslint' declared in '.eslintrc.cjs': Class extends value undefined is not a constructor or null
Referenced from: /Users/christopherlepski/open-scd/packages/openscd/.eslintrc.cjs

Proposed improvements

  • Remove prettier
  • Remove Husky precommit hook
  • Update ESLint to v9.x and replace deprecated .eslintrc config with eslint.config
  • Use Nx Workspaces to share eslint.config between packages and have a single lint command to scan all packages
  • Add Lint github action and trigger for PRs

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions