Skip to content

fix: resolve npm install, lint, and reanimated test failures#37

Merged
alexondrius merged 5 commits into
masterfrom
fix/dev-deps-and-tests
Mar 24, 2026
Merged

fix: resolve npm install, lint, and reanimated test failures#37
alexondrius merged 5 commits into
masterfrom
fix/dev-deps-and-tests

Conversation

@exo-egor

Copy link
Copy Markdown
Collaborator

Summary

  • Add react-dom@18.2.0 to devDependencies to fix npm install ERESOLVE conflict (react-dom@19 pulled transitively via styled-components)
  • Disable sonarjs/no-one-iteration-loop in eslint config — rule removed in sonarjs@3.0.7 but still referenced by @exodus/eslint-config-exodus@1.7.1
  • Update reanimated test expectations from flat objects to style arrays — react-native-reanimated@3.19.5 mock no longer flattens styles

Test plan

  • npm install succeeds
  • npm run lint passes
  • npm test — all 52 tests pass

npm resolves react-dom@19 transitively via styled-components, which
conflicts with the pinned react@18.2.0. Pinning react-dom@18.2.0
fixes the ERESOLVE error.
eslint-plugin-sonarjs@3.0.7 removed this rule but
@exodus/eslint-config-exodus@1.7.1 still references it.
react-native-reanimated@3.19.5 mock no longer flattens style arrays.
Update assertions to expect the array format that shakl produces,
which is valid for React Native's style prop.
@alexondrius alexondrius merged commit 05e5347 into master Mar 24, 2026
4 checks passed
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.

2 participants