Skip to content

Conversation

@WA11AX
Copy link
Owner

@WA11AX WA11AX commented Aug 10, 2025

Summary

  • fix ESLint extends to use plugin:@typescript-eslint/...
  • clean up obsolete rule names and remove unused TypeScript import resolver

Testing

  • npm run lint:check (fails: Strings must use doublequote)
  • npm test

https://chatgpt.com/codex/tasks/task_e_68983f1903b88327a9c0c004f541a35c

Copilot AI review requested due to automatic review settings August 10, 2025 07:05
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes ESLint configuration issues by correcting TypeScript ESLint preset references and cleaning up obsolete or redundant rules. The changes ensure proper plugin syntax for TypeScript ESLint extends and remove configuration that's no longer needed.

  • Updated ESLint extends to use proper plugin:@typescript-eslint/... syntax
  • Removed duplicate and obsolete rule configurations
  • Cleaned up unused TypeScript import resolver settings
Comments suppressed due to low confidence (1)

.eslintrc.json:32

  • Removing the @typescript-eslint/prefer-const rule may be incorrect since the base ESLint prefer-const rule doesn't have TypeScript-specific behavior. The TypeScript version provides better type inference and should be kept instead of relying on the base rule.
    "@typescript-eslint/no-var-requires": "error",

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants