Skip to content

Commit 4fd5b3a

Browse files
author
greweb
committed
Upgrade to latest React Native with new arch support
1 parent 80e9e28 commit 4fd5b3a

File tree

239 files changed

+34671
-18933
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

239 files changed

+34671
-18933
lines changed

.eslintrc.js

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
// ESLint v9 flat configuration
2+
import js from "@eslint/js";
3+
import prettier from "eslint-config-prettier";
4+
5+
export default [
6+
js.configs.recommended,
7+
prettier,
8+
{
9+
languageOptions: {
10+
ecmaVersion: 2022,
11+
sourceType: "module",
12+
parserOptions: {
13+
ecmaFeatures: {
14+
jsx: true,
15+
},
16+
},
17+
globals: {
18+
__DEV__: "readonly",
19+
console: "readonly",
20+
global: "readonly",
21+
globalThis: "readonly",
22+
process: "readonly",
23+
require: "readonly",
24+
module: "readonly",
25+
exports: "readonly",
26+
Buffer: "readonly",
27+
setTimeout: "readonly",
28+
clearTimeout: "readonly",
29+
setInterval: "readonly",
30+
clearInterval: "readonly",
31+
requestAnimationFrame: "readonly",
32+
cancelAnimationFrame: "readonly",
33+
// React Native globals
34+
fetch: "readonly",
35+
FormData: "readonly",
36+
navigator: "readonly",
37+
XMLHttpRequest: "readonly",
38+
},
39+
},
40+
rules: {
41+
"no-unused-vars": ["error", {argsIgnorePattern: "^_"}],
42+
"no-console": "off",
43+
"prefer-const": "error",
44+
"no-var": "error",
45+
},
46+
},
47+
];

.flowconfig

Lines changed: 0 additions & 14 deletions
This file was deleted.

.github/ISSUE_TEMPLATE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ npm ls react-native react-native-view-shot #<- PASTE CMD RESULT IN HERE
1717
#### Actual behavior
1818

1919
#### Steps to reproduce the behavior
20+
2021
<!-- Ideally please use the example app to reproduce it, if it does not reproduce, worth PR the example to add a repro case -->

0 commit comments

Comments
 (0)