Skip to content

Conversation

@wanderxuhq
Copy link

@wanderxuhq wanderxuhq commented Nov 27, 2025

πŸ’» ε˜ζ›΄η±»εž‹ | Change Type

  • feat
  • fix
  • refactor
  • perf
  • style
  • test
  • docs
  • ci
  • chore
  • build

πŸ”€ ε˜ζ›΄θ―΄ζ˜Ž | Description of Change

During the git commit process, lint-staged is triggered by a husky pre-commit hook to run ESLint.

Because 302.AI is not a valid JavaScript identifier, the eslint-plugin-unused-imports plugin encounters an un-parsable syntax structure. This causes an internal error within the plugin, which aborts the pre-commit hook and prevents the commit from completing.

To resolve this parsing error within the ESLint plugin, this PR introduces the following changes:

  1. Rename: Renamed all object property related to 302.AI to AI302, which is a standard, valid JavaScript identifier.
  2. Update References: Updated all corresponding module references accordingly.

These changes ensure that the eslint-plugin-unused-imports plugin can parse the code correctly, allowing the pre-commit hook to execute successfully.

πŸ“ θ‘₯充俑息 | Additional Information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant