Skip to content
This repository was archived by the owner on Nov 16, 2022. It is now read-only.

Commit 8ceca9a

Browse files
committed
Bump to 2.0.0-rc.0
1 parent f3d9500 commit 8ceca9a

File tree

121 files changed

+6566
-6495
lines changed

Some content is hidden

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

121 files changed

+6566
-6495
lines changed

.editorconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ root = true
22

33
[*]
44
charset = utf-8
5+
end_of_line = lf
56
indent_size = 2
67
indent_style = space
78
insert_final_newline = true

.eslintignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
node_modules
2+
lib/
3+
example/android/app/build
4+
example/ios/Pods

.eslintrc.js

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
const typescriptEslintRecommended = require('@typescript-eslint/eslint-plugin/dist/configs/recommended.json');
2+
const typescriptEslintPrettier = require('eslint-config-prettier/@typescript-eslint');
3+
4+
module.exports = {
5+
extends: ['@react-native-community'],
6+
overrides: [
7+
{
8+
files: ['*.ts', '*.tsx'],
9+
// Apply the recommended Typescript defaults and the prettier overrides to all Typescript files
10+
rules: Object.assign(
11+
typescriptEslintRecommended.rules,
12+
typescriptEslintPrettier.rules,
13+
{'@typescript-eslint/explicit-member-accessibility': 'off'},
14+
),
15+
},
16+
{
17+
files: ['example/**/*.ts', 'example/**/*.tsx'],
18+
rules: {
19+
// Turn off rules which are useless and annoying for the example files files
20+
'@typescript-eslint/explicit-function-return-type': 'off',
21+
'react-native/no-inline-styles': 'off',
22+
},
23+
},
24+
],
25+
};

.flowconfig

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

.github/CODE_OF_CONDUCT.md

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

.github/ISSUE_TEMPLATE.md

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

.gitignore

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
# OSX
2-
#
32
.DS_Store
43

54
# Xcode
6-
#
75
build/
86
*.pbxuser
97
!default.pbxuser
@@ -23,15 +21,16 @@ DerivedData
2321
project.xcworkspace
2422

2523
# Android/IntelliJ
26-
#
2724
build/
2825
.idea
2926
.gradle
3027
local.properties
3128
*.iml
3229

30+
# Visual Studio Code
31+
.vscode/
32+
3333
# node.js
34-
#
3534
node_modules/
3635
npm-debug.log
3736
yarn-error.log
@@ -41,20 +40,11 @@ buck-out/
4140
\.buckd/
4241
*.keystore
4342

44-
# fastlane
45-
#
46-
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
47-
# screenshots whenever they are needed.
48-
# For more information about the recommended setup visit:
49-
# https://docs.fastlane.tools/best-practices/source-control/
50-
51-
*/fastlane/report.xml
52-
*/fastlane/Preview.html
53-
*/fastlane/screenshots
54-
5543
# Bundle artifact
5644
*.jsbundle
5745

58-
# VScode
59-
#
60-
.vscode/
46+
# Bob
47+
lib/
48+
49+
# CocoaPods
50+
Pods/

.npmignore

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

.prettierignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
example/node_modules/
1+
node_modules
2+
lib/
3+
example/android/app/build
4+
example/ios/Pods

.prettierrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
{
2+
"bracketSpacing": false,
3+
"jsxBracketSameLine": true,
4+
"singleQuote": true,
25
"trailingComma": "all"
36
}

.yarnrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
save-exact true

CODEOWNERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Global owners
2+
* @zoontek

LICENSE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
The MIT License (MIT)
1+
MIT License
22

3-
Copyright (c) 2015 Yonah Forst
3+
Copyright (c) 2019 Mathieu Acthernoene
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)