Skip to content

Commit d1ed00a

Browse files
committed
Typescript, iPhone 11 family support, iPhone 12 family support
1 parent 7e0af82 commit d1ed00a

55 files changed

Lines changed: 3772 additions & 3350 deletions

Some content is hidden

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

.eslintrc.js

100755100644
Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
module.exports = {
2+
root: true,
3+
extends: [
4+
"@react-native-community",
5+
"airbnb-typescript",
6+
"prettier",
7+
"prettier/@typescript-eslint",
8+
"prettier/react"
9+
],
210
parser: "babel-eslint",
3-
extends: "airbnb",
411
plugins: ["react", "react-native"],
512
env: {
613
jest: true,
@@ -11,7 +18,7 @@ module.exports = {
1118
"react/jsx-filename-extension": [
1219
"error",
1320
{
14-
extensions: [".js", ".jsx"]
21+
extensions: [".js", ".jsx", ".tsx", ".ts"]
1522
}
1623
],
1724
// for post defining style object in react-native

.gitattributes

100755100644
File mode changed.

.gitignore

100755100644
File mode changed.

.npmignore

100755100644
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ node_modules
44
# Example
55
example
66
# Assets
7-
Assets/Screenshots
8-
assets/Screenshots
7+
Assets
8+
assets

.prettierrc.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
module.exports = {
2+
bracketSpacing: true,
3+
jsxBracketSameLine: false,
4+
singleQuote: false,
5+
trailingComma: "all",
6+
tabWidth: 2,
7+
semi: true,
8+
};

.watchmanconfig

Lines changed: 0 additions & 1 deletion
This file was deleted.

assets/icon.png

-2.91 KB
Binary file not shown.

assets/splash.png

-7.01 KB
Binary file not shown.

babel.config.js

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

example/.eslintrc.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
module.exports = {
22
root: true,
33
extends: '@react-native-community',
4+
parser: '@typescript-eslint/parser',
5+
plugins: ['@typescript-eslint'],
46
};

0 commit comments

Comments
 (0)