Skip to content

Conversation

thomasttvo
Copy link
Collaborator

@thomasttvo thomasttvo commented Sep 17, 2024

  • Turned on strict mode in tsconfig
  • Added typescript linters to check unsafe type usages
  • Some changes are done by yarn lint --fix

thomasvo added 3 commits September 16, 2024 18:00
# Conflicts:
#	lib/commonjs/ReactNativeZoomableView.js
#	lib/commonjs/ReactNativeZoomableView.js.map
#	lib/module/ReactNativeZoomableView.js
#	lib/module/ReactNativeZoomableView.js.map
#	src/ReactNativeZoomableView.tsx
@thomasttvo thomasttvo changed the title Enable strict type checking Strict type checking and linting Sep 17, 2024
import { StyleSheet } from 'react-native';

export const styles = StyleSheet.create({
box: {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

these styles are auto-sorted by RN eslint

@dmurphy5
Copy link

This is very much needed. This bug in Diana should've been caught by TS or eslint. https://github.com/openspacelabs/diana/pull/4982

@thomasttvo thomasttvo merged commit 9c5ccd8 into master Oct 29, 2024
1 check passed
@thomasttvo thomasttvo deleted the thomas/strict branch October 29, 2024 19:18
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.

3 participants