larksuite / larksuite/node-sdk

ESLint configuration references an undeclared @typescript-eslint plugin

Open Beginner friendly
#213 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
294
Forks
54
Avg merge
3d 13h
Merged PRs (30d)
4

Description

Summary

The tracked ESLint configuration cannot be loaded from a frozen dependency install because it references @typescript-eslint/eslint-plugin, which is not declared in package.json.

Affected version

  • @larksuiteoapi/node-sdk 1.73.0
  • main at f54b49f3566c52b54c598194b7ed3015e3e24224

Reproduction

corepack yarn install --frozen-lockfile --ignore-scripts --non-interactive
corepack yarn eslint . --ext .ts,.js --no-error-on-unmatched-pattern

The second command exits 2 while loading .eslintrc.js, because the configuration declares the @typescript-eslint plugin but the dependency list contains only @typescript-eslint/parser.

Expected behavior

The checked-in ESLint configuration should be executable using the repository's declared frozen dependency tree.

Actual behavior

ESLint stops during configuration loading, before it can inspect any source files.

Impact and scope

Contributors cannot use the repository's tracked lint rules as a quality gate. I am filing this as issue-only because choosing and adding/upgrading a development dependency should be confirmed by the maintainers rather than bundled into an unrelated fix.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with package.json and .eslintrc.js, then run corepack yarn install --frozen-lockfile --ignore-scripts --non-interactive followed by the reported ESLint command. Confirm how the configuration references @typescript-eslint/eslint-plugin and review the declared parser dependency. Done means the frozen install provides the required configuration dependency and ESLint loads and checks the repository successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
nodejs, typescript
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
78/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.