Skip to content

Eslint testing#71

Open
OgreSound wants to merge 3 commits intomainfrom
eslint-testing
Open

Eslint testing#71
OgreSound wants to merge 3 commits intomainfrom
eslint-testing

Conversation

@OgreSound
Copy link
Copy Markdown
Contributor

No description provided.

…ript

Prep for adding snapshot tests: add eslint-plugin-mocha@10 so the
"all plugins enabled" test scenario works, and switch the test script
from the placeholder to jest.
Uses Jest projects with moduleNameMapper to test two scenarios:
- all optional plugins disabled (mocha, jest, react, react-hooks)
- all optional plugins enabled

Each scenario resolves the full ESLint config via calculateConfigForFile
for .js, .ts, and .tsx files, producing 6 total snapshots. These serve
as a golden master when migrating to ESLint 9 flat config.
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