Skip to content

test(electron): add unit tests for custom ESLint rules - #964

Open
luojiyin1987 wants to merge 1 commit into
craft-ai-agents:mainfrom
luojiyin1987:feat/eslint-rules-hardening
Open

test(electron): add unit tests for custom ESLint rules#964
luojiyin1987 wants to merge 1 commit into
craft-ai-agents:mainfrom
luojiyin1987:feat/eslint-rules-hardening

Conversation

@luojiyin1987

Copy link
Copy Markdown

Summary

Add focused unit tests for the seven custom ESLint rules under
apps/electron/eslint-rules.

Scope

  • Adds tests only
  • Does not modify rule behavior
  • Does not change shared ESLint rules or CI configuration

Notes

The existing no-localstorage rule may report
window.localStorage.getItem(...) more than once. The test intentionally checks
for at least one report so this PR does not encode the duplicate-report behavior
as the expected contract.

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