[lint] Upgrade to Prettier v3, typescript-eslint to v6 (#23544)Why --- Prettier 3 is out. Add support for it with this linter config. **Note for reviewer:** the first commit is the one with th
[lint] Upgrade to Prettier v3, typescript-eslint to v6 (#23544)Why --- Prettier 3 is out. Add support for it with this linter config. **Note for reviewer:** the first commit is the one with the actual changes. The rest of this PR are changes to get the linter passing (mostly autofix). How --- Update eslint-config-prettier and eslint-plugin-prettier. To address deprecation warnings, also update typescript-eslint/parser and typescript-eslint/eslint-plugin. Because of an update to typescript-eslint/parser, we need to suppress deprecation warnings (documented in a comment). Regenerated test snapshots. Due to the upgraded dependencies, typecasts and optional chaining are now auto-fixable by lint. This converts warnings into autofixes. Test Plan --- `yarn test` in the linter config. Run `expotools check --all --fix-lint --no-build --no-test --no-uniformity-check` to try this config on the whole repo. --------- Co-authored-by: Expo Bot <[email protected]>
show more ...
[html-elements] ts-ignore em/rem usage, string is supported on web but not by React Native StyleSheet type
feat(html-elements): added div and babel tests (#20867)# Why - The babel plugin should be tested. - Div is a pretty common component. Even though this isn't perfect, most issues are related to
feat(html-elements): added div and babel tests (#20867)# Why - The babel plugin should be tested. - Div is a pretty common component. Even though this isn't perfect, most issues are related to styling/Yoga. Yoga has some good strategies for changing default styles in the future so I think we can lean on that for migration.
[html-elements] web: fix headings HTML tag (#20473)# Why Fixes #20410 Fixes #20458 # How It look like RNW is now more aligned with prop naming convention than in the past, and there is n
[html-elements] web: fix headings HTML tag (#20473)# Why Fixes #20410 Fixes #20458 # How It look like RNW is now more aligned with prop naming convention than in the past, and there is no need to pass raw HTML prop `aria-level` as before, `accessibilityLevel` is sufficient, see: * https://necolas.github.io/react-native-web/docs/accessibility/ # Test Plan Snapshot before this changeset shows that there was a problem with the headings after latest RNW update, so after performing the changes I have regenerated the snapshots. # Checklist <!-- Please check the appropriate items below if they apply to your diff. This is required for changes to Expo modules. --> - [ ] Documentation is up to date to reflect these changes (eg: https://docs.expo.dev and README.md). - [ ] Conforms with the [Documentation Writing Style Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md) - [ ] This diff will work correctly for `expo prebuild` & EAS Build (eg: updated a module plugin).
[workspace] bump and align TypeScript version (#20392)
feat(html-elements): upgrade to support react-native-web 0.18 (#19233)* feat(html-elements): upgrade to support react-native-web 0.18 * Update Anchor-test.tsx.snap.web * drop position
Use declaration maps (#15782)* Added declarationMap to base tsconfig * et cp -a --no-lint --no-test --no-uniformity-check
[packages] Commit rebuilt packages
[html-elements] Use Courier New for Code font in iOS 15 (#14816)
[eslint-config] remove `arrowParens` overwrite, reformat files (#14232)
[sdk] upgrade typescript to v4.3.5 (#14015)
Upgrade to react native [email protected] (#13947)* [email protected] * babel upgrades * Update yarn.lock * Fixed event emitter bugs on web * Fixed GL tests * Fixed HTML tests * Up
Upgrade to react native [email protected] (#13947)* [email protected] * babel upgrades * Update yarn.lock * Fixed event emitter bugs on web * Fixed GL tests * Fixed HTML tests * Update RNWView.tsx
[ci] Fix broken workflows (#13931)# Why fix ci broken # How the broken on ios relates to cocoapods with `incremental_installation` which `installer.pod_project` might be nil if no new proj
[ci] Fix broken workflows (#13931)# Why fix ci broken # How the broken on ios relates to cocoapods with `incremental_installation` which `installer.pod_project` might be nil if no new project generated. the broken on android: - [detox] upgrade detox to 18.20.1 to support RN 0.64 - [detox] allow local server cleartext traffic that i disallowed from release build during RN upgrade - [detox] fix building error with react-native-screens - [react-native] cherry-pick upstream patch which prevent *.so not packed in aar. # Test Plan ci passed
[ci] Fix expotools check-packages (rebuild JS, update babel-preset-expo snapshots)- expo/html-elements needed TS rebuilt- jest-expo-enzyme needed TS rebuilt- expo-location needed some type fixes
[ci] Fix expotools check-packages (rebuild JS, update babel-preset-expo snapshots)- expo/html-elements needed TS rebuilt- jest-expo-enzyme needed TS rebuilt- expo-location needed some type fixes and JS to be rebuilt- babel-preset-expo needed unit test snapshots regenerated (verified the diff is that an internal function that Babel emits just has a name now -- the rest of the snapshot matches)
[TS] Upgrade packages to TypeScript 4.0 (#9960)
[gl] Fix node unit tests (#9691)* Bump react-native-web * Fix canvas SSR checks * prevent redundant updates * Update CHANGELOG.md * Bump react-native-web * fix lint * fix build fi
[gl] Fix node unit tests (#9691)* Bump react-native-web * Fix canvas SSR checks * prevent redundant updates * Update CHANGELOG.md * Bump react-native-web * fix lint * fix build files * et check packages
[web] Directly import createElement (#8773)* Directly import createElement to avoid name change issue in [email protected] * Update CHANGELOG.md * Update CHANGELOG.md
Compile jsx in all packages (#8421)* compile jsx to js * Rebuild all packages without jsx * Updated build files
[ts] Upgrade to TypeScript 3.9.2 (#8280)* [ts] Upgrade to TypeScript 3.9.2 This upgrades TypeScript to 3.9.2 to keep us more up to date. It also supports `@ts-expect-error` for places where we w
[ts] Upgrade to TypeScript 3.9.2 (#8280)* [ts] Upgrade to TypeScript 3.9.2 This upgrades TypeScript to 3.9.2 to keep us more up to date. It also supports `@ts-expect-error` for places where we want to get notified if a future TS version stops triggering type checker errors. https://devblogs.microsoft.com/typescript/announcing-typescript-3-9/ It is also supposed to be faster but I don't have real numbers on this. CI might be a reasonable indicator. Also updated ts-jest, since there was a bug that required clearing the Jest cache. Updated the TS version in expo-module-scripts. Ran `expotools check-packages --no-uniformity-check ` to rebuild, test, and lint all files. * [ts] Fix up files for TS 3.9 * [ts] Rebuild JS files with TS 3.9.2
[lint] Bump eslint-config-universe to 3.0.0 (#7592)This bumps eslint-config-universe to 3.0.0 (published to npm) and update expo-module-scripts to use the latest version. Tested with `yarn test`
[lint] Bump eslint-config-universe to 3.0.0 (#7592)This bumps eslint-config-universe to 3.0.0 (published to npm) and update expo-module-scripts to use the latest version. Tested with `yarn test` and `yarn lint` in eslint-config-universe, and `expotools check-packages`.
[html-elements] Fix Android font family (#7303)* Fix Android font family * fix build
Updated HTML Lists (#7062)* Remove OL * updated build files
[eslint-config-universe] Add import ordering alphabetization (#7038)
[html-elements] Update font sizes (#7044)* Remove Small * Update Text-test.tsx
[html-elements] Use Courier font for Code elements (#7040)* Use Courier font for code elements * Updated demo screen
12