Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix grade namespace conflicts on building an APK release #20300

Closed
wants to merge 267 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
267 commits
Select commit Hold shift + click to select a range
d06e143
Bundle download progress on Android
janicduplessis Feb 14, 2018
4761d5a
add BULLET and BULLET_SP
sahrens Feb 14, 2018
e165d0d
allow installing extra JS binding via the bridge
fkgozali Feb 14, 2018
1aeb925
Add JS binding for FabricUIManager - iOS
fkgozali Feb 14, 2018
5f48bd8
iOS: allow getting an instance of a js-bound module via the bridge
fkgozali Feb 14, 2018
7d20de4
Fixed a bug with positioning of nested views inside <Text>
shergin Feb 14, 2018
10b642a
Verify that the component passed to createAnimatedComponent is not fu…
janicduplessis Feb 14, 2018
f8fee0a
Pass port when running on device (fix #17973)
jozan Feb 14, 2018
96ec2dc
Fix enableBabelRCLookup option in new CLI + global cache script
rafeca Feb 14, 2018
828cd78
Pass cacheVersion param via the new API
rafeca Feb 14, 2018
c281f7a
Support resumes without overriding the back handler
ayc1 Feb 14, 2018
ecc08ad
Expose methods of persistent yoga for Java
mdvacca Feb 14, 2018
db391a5
Allow installing JS binding via the RN Android bridge
mdvacca Feb 14, 2018
51def5e
Make Java YogaNode cloneable
mdvacca Feb 15, 2018
991b7ab
Upgrade Jest to 22.3.0
Feb 15, 2018
f7f5dc6
Extract polyfillGlobal from InitializeCore
fromcelticpark Feb 15, 2018
f751c34
Fix main size calculation from the aspect ratio
Feb 15, 2018
59401f8
Fold .eslintrc's into the root eslintrc
zertosh Feb 15, 2018
c82b9f7
Create JNI wrapper for Fabric
mdvacca Feb 15, 2018
ad4f54f
Extend installFabric method to access UIFabricModule from C++
mdvacca Feb 15, 2018
7630a61
Demo illustrated `base-line` metric exposure
shergin Feb 16, 2018
51b3529
`base-line` metric exposure for <Text>
shergin Feb 16, 2018
0dbe183
`base-line` metric exposure for <TextInput>
shergin Feb 16, 2018
574c70e
Use only native robolectric_test rules.
ttsugriy Feb 16, 2018
b48f7e5
Support for animated tracking in native driver
kmagiera Feb 16, 2018
cff522d
Dirty text shadow nodes on UIManager queue after multiplier changes
Feb 16, 2018
f96dfb9
Disable font scaling when an explicit font handler is set
Feb 16, 2018
1f7a48f
Extend the FabricUIManagerModule class to integrate with JSI/JSC in A…
mdvacca Feb 16, 2018
617362b
Bump buck to v2018.02.16.01
hramos Feb 16, 2018
2123108
Exclude jsbundle files from VCS
aneophyte Feb 16, 2018
3a3d884
tvOS: TV nav event emitter should check for bridge
douglowder Feb 16, 2018
5447ca6
Change irrelevant Products path in ./local-cli/runIOS/runIOS.js
blackneck Feb 16, 2018
d16ff3b
Better Android Gradle Plugin 3.x integration
CFKevinRef Feb 17, 2018
67c3ad4
Fix pinch crash in touch-responsive views.
tobycox Feb 17, 2018
1490ab1
Update license headers for MIT license
sophiebits Feb 17, 2018
26684cf
Update to MIT license
sophiebits Feb 17, 2018
da3424c
@allow-large-files Upgrade xplat/js to Flow v0.66
Feb 17, 2018
54dc11a
Fix #17610, Add fixtures to metro blacklist
t4deu Feb 17, 2018
4454fdc
fix Flow typing for OSS
Feb 19, 2018
973ef97
RN: Remove React Stack Systrace Logic
yungsters Feb 20, 2018
b9991d3
Move YGStyle to seperate file and add constructors
priteshrnandgaonkar Feb 20, 2018
c75ce81
Add constructor in YGLayout
priteshrnandgaonkar Feb 20, 2018
22cf815
Added default constructor for YGCachedMeasurement
priteshrnandgaonkar Feb 20, 2018
9dd7608
Replaced unstable_AsyncComponent with unstable_AsyncMode
Feb 21, 2018
ad06403
Introduce cloning mechanism for React Shadow Node
mdvacca Feb 21, 2018
8c036ce
RN: Remove Animated -> ScrollView -> Animated Cycle
yungsters Feb 21, 2018
b90c1cf
RCTSurface: Optional sync ShadowView/View registing
shergin Feb 21, 2018
60c0000
Enforcing sequential ordering of creating view and applying props in …
shergin Feb 21, 2018
402ae2f
New UIManager API allowing intercept/delay mounting process
shergin Feb 21, 2018
b7fbeb2
RCTSurface: Support for synchronous waiting for mounting stage
shergin Feb 21, 2018
47addd8
Remove unused reference in Text.js
rozele Feb 21, 2018
4371d1e
Implement FabricUIManagerModule in Android
mdvacca Feb 21, 2018
7dd12a2
Mock static methods of TouchableNativeFeedback on iOS
frantic Feb 21, 2018
190e6be
FabricUIManagerModuleTest setup and testCloneNode
ayc1 Feb 21, 2018
13ee1b5
Uses Yargs instead of Command
Feb 22, 2018
47e57ef
Upgrade Jest to 22.4.0 to pull fixes for jest-haste-map
Feb 22, 2018
edb6ca7
Fix ESLint warnings using 'yarn lint --fix'
draperunner Feb 22, 2018
cf0193f
More tests for FabricUIManagerModule
ayc1 Feb 22, 2018
ef9d1fb
Fix IllegalStateException in looped timing native animation
kmagiera Feb 22, 2018
b57a78c
Fix for #17348, Scrollable failing due to uglify-es
iMagdy Feb 23, 2018
d352c93
Register ReactRootView into FabricUIManagerModule
mdvacca Feb 23, 2018
e214bb3
`DevSupportManager`: tag `RELOAD` marker with metro host
davidaurelio Feb 23, 2018
a29906a
Upgrade Jest to 22.4.2
Feb 23, 2018
8d74af4
Release Metro 0.27.0
Feb 23, 2018
33a893e
react-native: prefer custom source extensions over default extensions
Feb 23, 2018
87f98bc
BundleDownloader/DevServerHelper: Close http responses
davidaurelio Feb 23, 2018
446ce49
Fix Bug with Date Picker IOS
Feb 23, 2018
b9be289
Remove Platform check from WebSocket module
rozele Feb 23, 2018
25b0c37
JSC bindings for FabricUIManager - Android
sebmarkbage Feb 24, 2018
486ac9d
update FabricUIManager to call the right JS object
fkgozali Feb 24, 2018
1b63da7
Implement Cloning for ART Views
mdvacca Feb 24, 2018
d8bb990
Update ReactAndroid build script to support gradle 2.3.0
Feb 24, 2018
0ee0317
added C++ setup for FabricUIManager
fkgozali Feb 24, 2018
8a073c1
Fix `onLayout` prop for TextInput on Android
rozele Feb 24, 2018
a534672
Fixed problem in Text measurent on iOS
shergin Feb 25, 2018
d2817f4
Use sync fs.mkdir
BridgeAR Feb 26, 2018
59c7b2c
Add missing mock for AppState (removeEventListener)
MoOx Feb 26, 2018
16c9e5b
Fix: Added scroll Bounds check in scrollToOffset method in RCTScrollV…
Feb 26, 2018
a817c64
RN: Use `$ReadOnly` in CoreEventTypes
yungsters Feb 26, 2018
80c1839
RN: Flow Type for `PressEvent`
yungsters Feb 26, 2018
dabe8e0
Allow passing custom configs through the CLI ("js1 run")
Feb 26, 2018
62efff8
Implement cloning for all ReactShadowNodes
mdvacca Feb 26, 2018
bd30336
Bump metro@0.28.0
rafeca Feb 26, 2018
3eee96a
Change React Native application layout check
ikenwoo Feb 26, 2018
ebbd437
Mark ObjC methods that are called from React Native as dynamic.
mren2 Feb 26, 2018
3756d41
Add testOnly_pressed to TouchableHighlight
sahrens Feb 26, 2018
84ad5d3
Explicitly handle null props in bindings
sebmarkbage Feb 27, 2018
07334cb
Clean up unused modules
sebmarkbage Feb 27, 2018
da84eba
Catch exception and report it when making a network request with inva…
jcurtis Feb 27, 2018
52acbbd
iOS: adjusted JSI binding for C++ FabricUIManager
fkgozali Feb 27, 2018
28c694f
iOS - expose C++ FabricUIManager to the bridge via a wrapper class
fkgozali Feb 27, 2018
a759a44
npmignore: ignore tests and fixtures
Feb 27, 2018
b60a727
Fix crashes onKeyPress Android
joshjhargreaves Feb 27, 2018
c87d03a
Update danger token
hramos Feb 27, 2018
38197c8
Support Input Accessory View (iOS Only) [1/N]
Feb 27, 2018
1346bf8
Timeout Android instrumentation steps
hramos Feb 27, 2018
6c353fd
onPress animation with magnification
JulienKode Feb 27, 2018
2dc559d
Add possibility to add custom plugin prefix
Feb 27, 2018
2ad3407
Xcode 9 supports running multiple simulators
koenpunt Feb 27, 2018
dbafc29
Fix #8615: NetInfo.isConnected for iOS
alburdette619 Feb 27, 2018
5898817
Implement letterSpacing on Android >= 5.0
motiz88 Feb 27, 2018
247f32f
Increase n days before issue considered stale
hramos Feb 28, 2018
2dd2529
Add option to hide context menu for TextInput #17335
amhinson Feb 28, 2018
6d9fe45
Fixed TVOS test failure caused by input accessory view change
Feb 28, 2018
84ef7bc
Added InputAccessoryView demo to RNTester [2/N]
Feb 28, 2018
ddcd609
Refactor cloneWithNewChildren method
mdvacca Feb 28, 2018
35583e5
Add header_namespace to handle cross-platform uses
mzlee Feb 28, 2018
0d03fdd
Use complete type with unique_ptr
smeenai Feb 28, 2018
0bc80e9
Use #include instead of #import
smeenai Feb 28, 2018
dd187a2
Simplify issue template
hramos Mar 1, 2018
4c82ce4
Do not mention people, suggest labels
hramos Mar 1, 2018
1605786
React sync for revisions a634e53...ab4280b
hramos Mar 1, 2018
c20e0f9
workaround android-only js module resolution issue
fkgozali Mar 1, 2018
006b77f
iOS: pass fabric flag down to RCTRootView/RCTSurface for proper unmou…
fkgozali Mar 1, 2018
af9d647
Make two separate yoga targets for QE
priteshrnandgaonkar Mar 1, 2018
d174ab8
Change NaN with large number
priteshrnandgaonkar Mar 1, 2018
8a7f68e
Remove optional parameter from server and enforce empty list everywhere
Mar 1, 2018
b181b77
Check PATENTS does not creep into files
hramos Mar 1, 2018
6b45fb2
Create UIManager interface and extract common classes in uimanager/co…
mdvacca Mar 1, 2018
b5b0ee8
Adding configuration of Fabric inside ReactRootView.
mdvacca Mar 1, 2018
c0c388c
Adding simple View rendering support using FabricUIManager.
mdvacca Mar 1, 2018
9b3861c
Fix unmount of ReactRootView for Fabric surfaces
mdvacca Mar 1, 2018
3f85dc5
Log java error messages from FabricUIManagerModule
ayc1 Mar 1, 2018
22990c3
Add extra information to error message reported when a ReactRawText i…
mdvacca Mar 2, 2018
6404529
Added an Assertion that addRoot is called before completeRoot
ayc1 Mar 2, 2018
78b3065
Fix appendChild
ayc1 Mar 2, 2018
7216079
Avoid var specific hoisting rules
elicwhite Mar 2, 2018
7be3d1c
Make the chrome debugger handle dynamic delta ids
rafeca Mar 2, 2018
30469ed
Expose React Native version as a symbol rather than macro
LeoNatan Mar 2, 2018
5d3efa7
Mark targets as explicitly Android
mzlee Mar 3, 2018
0d148ad
Refactor FabricUIManagerModule -> FabricUIManager
mdvacca Mar 3, 2018
ffcd067
Wrap global variables in extern C
smeenai Mar 3, 2018
34b8876
iOS: Introduced RCTSurfaceHostingProxyRootView for migration to RCTSu…
fkgozali Mar 3, 2018
f734357
Truncate filter label if it's too long to fit
SnowCoderAlex Mar 3, 2018
3152e93
Converting Libraries/Components to not use var
elicwhite Mar 3, 2018
70a3ece
Tightening type for flattenStyle
elicwhite Mar 3, 2018
498cf7e
Reënable iOS and tvOS tests
hramos Mar 5, 2018
a1295e1
Fix Viewpager on Android when using native navigation.
ruiaraujo Mar 5, 2018
f389ad8
Move fb_xplat_cxx.bzl to xplat/build_defs
Mar 5, 2018
8769057
Remove log in JSDevSupportModule
mdvacca Mar 5, 2018
3f8a04b
Revert "Better Android Gradle Plugin 3.x integration"
janicduplessis Mar 5, 2018
9f239d7
Use react.gradle from repo root instead of copy in RNTester
janicduplessis Mar 5, 2018
4466b6f
Refactor BridgeListener into JSIModulesProvider
mdvacca Mar 5, 2018
19b9851
Update VirtualizedList to not throw with double constructor
sophiebits Mar 5, 2018
860fcd4
Update node-notifier (has mem leak fix)
rickhanlonii Mar 5, 2018
19a4a7d
Remove callFunctionSync experimental APIs
Mar 5, 2018
9366ce4
Update opacity when `disabled` prop is changed
maxkomarychev Mar 5, 2018
b4ce427
iOS: branch out Fabric handling into a separate RCTSurface-compatible…
fkgozali Mar 6, 2018
b98bf1e
Remove polymorphic types from StyleSheetTypes
elicwhite Mar 6, 2018
b6c7e55
Using ReadOnly and Exact types for StyleSheet
elicwhite Mar 6, 2018
52c7957
Fix lint in StyleSheet.compose
sahrens Mar 6, 2018
ac929ef
Fix subtle bugs in cloning and FabricUIManager
mdvacca Mar 6, 2018
e839c91
Generalize JavaOnlyMap's getMap
ayc1 Mar 6, 2018
6eef7de
Adding tests to cover regressions when upgrading to babel 7
Mar 6, 2018
d2f0574
Add support to FabricUIManger to handle Throwable
mdvacca Mar 6, 2018
b7bb2e5
Add support for Android TV devices
Mar 6, 2018
48c339d
Add `RCTJavaScriptWillStartExecutingNotification`
davidaurelio Mar 6, 2018
2e51fa5
iOS: RCTSurface needs to re-register its root view on bridge reload
fkgozali Mar 6, 2018
e7b8341
Add Fabric test for text nodes
ayc1 Mar 7, 2018
6fc4163
Clean up FabricUIManagerViewHierarchyTest
ayc1 Mar 7, 2018
d52569c
check for GET and Head in send request
samsafay Mar 7, 2018
d7b5b2e
Allow Inspector to handle 2 renderers
fkgozali Mar 7, 2018
c129457
Typing ViewProp, ImageProp
elicwhite Mar 7, 2018
321ba06
Type TextStyleProp
elicwhite Mar 7, 2018
135637c
Merging tests for flattenStyle
elicwhite Mar 7, 2018
b58e377
Remove Unused Exports from StyleSheetTypes
elicwhite Mar 7, 2018
ec88489
Fixing bugs in link and unlink
rozele Mar 7, 2018
cade297
iOS Surface: properly reset some internal states when JS reloads
fkgozali Mar 7, 2018
ee26d9b
Make StyleSheet.create type private
elicwhite Mar 7, 2018
49ffc9f
Rename StyleProp to DangerouslyImpreciseStyleProp
elicwhite Mar 7, 2018
a3c07c9
StyleObj -> DangerouslyImpreciseStyleProp
elicwhite Mar 7, 2018
3c23645
Bump metro@0.29.0
rafeca Mar 7, 2018
cf89a2c
Move __StyleProp to StyleSheet
elicwhite Mar 8, 2018
23e0f86
Mark more ObjC methods called from RN as dynamic
tgrlnc Mar 8, 2018
7bf3b20
iOS: create C++ <-> ObjC++ connector for FabricUIManager to do UI ope…
fkgozali Mar 8, 2018
a162dc8
Fix RefreshControl's dependency on AndroidSwipeRefreshLayout
ayc1 Mar 8, 2018
596bcb6
Initialize ReactChoreographer before creating the TimingModule
ayc1 Mar 8, 2018
8cdc7d3
Don't assume the SourceCode native module exists
ayc1 Mar 8, 2018
89757ed
Add eslint-plugin-react-native Yarn package and enable no-inline-styl…
SnowCoderAlex Mar 8, 2018
5f497ca
Convert constant with build flags to function
Mar 8, 2018
d89517d
Remove usage of Internal StyleSheet type
elicwhite Mar 8, 2018
852084a
Remove usage of Styles type
elicwhite Mar 8, 2018
5b32358
Prettier
elicwhite Mar 8, 2018
4895c64
Rename Style to DangerouslyImpreciseStyle
elicwhite Mar 8, 2018
f2ad77f
Update additional license headers
hramos Mar 8, 2018
ecd3d95
Ignore yarn.lock and package-lock.json in oss
hramos Mar 8, 2018
49396aa
Fix typing of View refs
elicwhite Mar 8, 2018
dbdf43b
propTypes are optional for native components
elicwhite Mar 8, 2018
214da52
AccessibilityLabel is optional
elicwhite Mar 8, 2018
34f8e7f
`fabric/debug` module and `DebugStringConvertible` class
fkgozali Mar 9, 2018
3c86701
`fabric/core` module and `Sealable` class
fkgozali Mar 9, 2018
118521c
RN: Prettify Systrace
yungsters Mar 9, 2018
a8c4b63
RN: Delete Systrace for RelayClassic
yungsters Mar 9, 2018
3e141cb
RN: Delete Systrace.swizzleJSON
yungsters Mar 9, 2018
8803ab2
Fix race condition when there're two flags next to each other
alexeylang Mar 9, 2018
20fcf47
Make fetchSegment native hook name consistent with __ prefix
fromcelticpark Mar 9, 2018
a7558d5
Clone ReactShadowNode when Yoga clones a YogaNode during layout
mdvacca Mar 9, 2018
e31781b
Add extra debug information to ReactShadowNodes objects
mdvacca Mar 9, 2018
c883d4e
Add "newProps" map into ReactShadowNode
mdvacca Mar 9, 2018
2520c64
Fixing Assorted View Flow Types
elicwhite Mar 9, 2018
f1316ca
Making values optional in ViewPropTypes
elicwhite Mar 9, 2018
a48b4d5
Add Sonar support to Oculus Twilight Android
Mar 9, 2018
25b8ec8
Adding FlowFixMe when switching between Component and Ref
elicwhite Mar 9, 2018
216c8ec
AndroidInfoModule now also returns Android ID
L33tcodex0r Mar 9, 2018
b6b80f6
Type VirtualizedList's ref
elicwhite Mar 9, 2018
3e9a371
Mock ReactNative.NativeComponent native methods in jest
elicwhite Mar 9, 2018
c9d7562
Clear cache to resolve iOS, tvOS workflow
hramos Mar 9, 2018
5035af8
Tightening types for View and VirtualizedList
elicwhite Mar 9, 2018
274d6ce
Bump metro@0.30.0
rafeca Mar 10, 2018
1ff1e57
Add existing Android checks to Circle.
hramos Mar 10, 2018
26734a8
Migrating View to be a Flow Typed ES6 class
elicwhite Mar 10, 2018
adabae2
Upgrade to Flow v0.67
nmote Mar 10, 2018
e057322
Fix Android Sanity Buck version check
hramos Mar 11, 2018
cd8128b
Move Text PropTypes to it's own file
elicwhite Mar 11, 2018
3fd82d3
Fixing misuses of the Text type
elicwhite Mar 11, 2018
01fffa2
RN: Remove DebugEnvironment from OSS
yungsters Mar 11, 2018
450e562
export CompositeAnimation type
zjj010104 Mar 11, 2018
19dd9a2
Use -fdata-sections in mode/opt
amirlivneh Mar 12, 2018
84affbd
Loosen Platform check to allow better code sharing for out-of-tree pl…
Mar 12, 2018
3002c4e
Fix tvOS react-native init release build (#18288)
douglowder Mar 12, 2018
9c8c597
Don't truncate in the middle of an emoji
Vince0613 Mar 12, 2018
9c29faf
[0.55.0-rc.0] Bump version numbers
grabbou Mar 12, 2018
85b690f
React sync for revisions ab4280b...ad9544f
hramos Mar 14, 2018
ca8ce83
Fix issues with pollParams and link
grabbou Mar 20, 2018
b208272
[0.55.0-rc.1] Bump version numbers
grabbou Mar 20, 2018
8a6ab14
fix ReadableNativeMap.toHashMap() for nested maps and arrays
esamelson Mar 22, 2018
093a78d
Fix blob response parsing for empty body on iOS
janicduplessis Mar 27, 2018
c70578a
[0.55.0-rc.2] Bump version numbers
grabbou Mar 28, 2018
3d69b5c
Pass invertStickyHeaders to ScrollView
dannycochran Mar 23, 2018
2e38418
[0.55.0] Bump version numbers
grabbou Apr 3, 2018
589eae1
Fixes runIOS regressions #18681
grabbou Apr 5, 2018
ab5db0c
Fix `runIOS` CFBundleIdentifier
grabbou Apr 5, 2018
54f23f4
React sync for revisions 9d484ed...1c2876d
Apr 4, 2018
b1bddd7
Revert "React sync for revisions 9d484ed...1c2876d"
grabbou Apr 5, 2018
73ffa60
React sync for revisions ad9544f...ced176e
Mar 15, 2018
69c77d6
React sync for revisions ced176e...9d484ed
hramos Mar 21, 2018
f7f0a22
React sync for revisions 9d484ed...1c2876d
Apr 4, 2018
44f19f7
[0.55.1] Bump version numbers
grabbou Apr 5, 2018
c2c4f48
Revert "Fix: Added scroll Bounds check in scrollToOffset method in RC…
grabbou Apr 6, 2018
7fdf9d2
Fix deprecation warnings
grabbou Apr 6, 2018
a716e32
Revert temporarily to old launching logic
grabbou Apr 6, 2018
a05f851
[0.55.2] Bump version numbers
grabbou Apr 6, 2018
4fc2886
exclude React/Fabric/ from core
Gyran Apr 4, 2018
31a1b72
Revert "Remove Platform check from WebSocket module"
rozele Apr 9, 2018
2845a86
[0.55.3] Bump version numbers
grabbou Apr 17, 2018
e187b07
Properly tear down the reachabilityRef in RCTNetInfo
Mar 19, 2018
f8091fa
fix use of C++ syntax in an header file
gmondada Apr 9, 2018
5bb2e83
Switch equality check in BlobModule.java
shockdesign Apr 17, 2018
370bcff
[0.55.4] Bump version numbers
grabbou Apr 27, 2018
f5bd491
Buildfix for new filename type
shopped Jul 13, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
178 changes: 102 additions & 76 deletions .circleci/config.yml

Large diffs are not rendered by default.

50 changes: 44 additions & 6 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"flowtype",
"prettier",
"react",
"react-native",
"jest"
],

Expand Down Expand Up @@ -169,10 +170,10 @@

// ESLint Comments Plugin
// The following rules are made available via `eslint-plugin-eslint-comments`
'eslint-comments/no-aggregating-enable': 1, // disallows eslint-enable comments for multiple eslint-disable comments
'eslint-comments/no-unlimited-disable': 1, // disallows eslint-disable comments without rule names
'eslint-comments/no-unused-disable': 1, // disallow disables that don't cover any errors
'eslint-comments/no-unused-enable': 1, // // disallow enables that don't enable anything or enable rules that weren't disabled
"eslint-comments/no-aggregating-enable": 1, // disallows eslint-enable comments for multiple eslint-disable comments
"eslint-comments/no-unlimited-disable": 1, // disallows eslint-disable comments without rule names
"eslint-comments/no-unused-disable": 1, // disallow disables that don't cover any errors
"eslint-comments/no-unused-enable": 1, // // disallow enables that don't enable anything or enable rules that weren't disabled

// Flow Plugin
// The following rules are made available via `eslint-plugin-flowtype`
Expand Down Expand Up @@ -201,7 +202,7 @@
"new-parens": 1, // disallow the omission of parentheses when invoking a constructor with no arguments
"no-nested-ternary": 0, // disallow nested ternary expressions (off by default)
"no-array-constructor": 1, // disallow use of the Array constructor
'no-empty-character-class': 1, // disallow the use of empty character classes in regular expressions
"no-empty-character-class": 1, // disallow the use of empty character classes in regular expressions
"no-lonely-if": 0, // disallow if as the only statement in an else block (off by default)
"no-new-object": 1, // disallow use of the Object constructor
"no-spaced-func": 1, // disallow space between function identifier and application
Expand Down Expand Up @@ -252,11 +253,48 @@
"react/self-closing-comp": 1,
"react/wrap-multilines": 0,

// React-Native Plugin
// The following rules are made available via `eslint-plugin-react-native`

"react-native/no-inline-styles": 1,

// Jest Plugin
// The following rules are made available via `eslint-plugin-jest`.
"jest/no-disabled-tests": 1,
"jest/no-focused-tests": 1,
"jest/no-identical-title": 1,
"jest/valid-expect": 1,
}
},

"overrides": [
{
"files": [
"Libraries/**/*.js",
"RNTester/**/*.js",
"jest/**/*.js",
],
"rules": {
// These folders currently run through babel and don't need to be
// compatible with node 4
"comma-dangle": 0,
},
},
{
"files": [
"local-cli/**/*.js",
],
"rules": {
// This folder currently runs through babel and doesn't need to be
// compatible with node 4
"comma-dangle": 0,

"lint/extra-arrow-initializer": 0,
"no-alert": 0,
"no-console-disallow": 0,
},
"env": {
"node": true,
},
},
],
}
2 changes: 1 addition & 1 deletion .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError

[version]
^0.65.0
^0.67.0
111 changes: 9 additions & 102 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,122 +1,29 @@
<!--
PLEASE DON'T DELETE THIS TEMPLATE UNTIL YOU HAVE READ THE FIRST SECTION.
We use GitHub Issues exclusively for tracking bugs in React Native.
Please follow this template when preparing your bug report.
-->

### Is this a bug report?

(write your answer here)

<!--
If you answered "Yes":

We expect that it will take you about 30 minutes to produce a high-quality bug report.
While this may seem like a lot, putting care into issues helps us fix them faster.
For bug reports, it is REQUIRED to fill the rest of this template, or the issue will be closed.

If you answered "No":

We use GitHub Issues exclusively for tracking bugs in React Native. If you're looking for help,
the Community page at http://facebook.github.io/react-native/help.html list various resources
that should help you get started.

Now scroll below!
-->

### Have you read the [Contributing Guidelines](https://facebook.github.io/react-native/docs/contributing.html)?

(Write your answer here.)
(Describe your issue in detail.)

### Environment

<!--
In your terminal run `react-native info` and paste its contents here. Next, specify your target platform, like this:

Environment:
OS: macOS Sierra 10.12.6
Node: 8.4.0
Yarn: 0.27.5
npm: 5.4.0
Watchman: 4.7.0
Xcode: Xcode 8.3.3 Build version 8E3004b
Android Studio: 2.3 AI-162.4069837

Packages: (wanted => installed)
react-native: 0.48.1 => 0.48.1
react: 16.0.0-alpha.12 => 16.0.0-alpha.12

Target Platform: iOS (10.3)

***Make sure you are on v0.48.0 or greater of react-native, otherwise you may get this error:

Unrecognized command 'info'
Run react-native --help to see list of all available commands
-->

### Steps to Reproduce

<!--
How would you describe your issue to someone who doesn’t know you or your project?
Try to write a sequence of steps that anybody can repeat to see the issue.
Be specific! If the bug cannot be reproduced, your issue may be closed.
-->

(Write your steps here:)

1.
2.
3.
(Run `react-native info` in your terminal and paste its contents here.)

### Expected Behavior

<!--
How did you expect your project to behave?
It’s fine if you’re not sure your understanding is correct.
Just write down what you thought would happen.
-->

(Write what you thought would happen.)

### Actual Behavior

<!--
Did something go wrong?
Is something broken, or not behaving as you expected?
Describe this section in detail, and attach screenshots if possible.
Don't just say "it doesn't work"!
-->
(Write what happened. Include screenshots if needed.)

(Write what happened. Add screenshots!)
### Steps to Reproduce

### Reproducible Demo
(Link to Snack, or steps to reproduce.)

<!--
Please share a project that reproduces the issue.
There are two ways to do it:

* Create a new app using https://snack.expo.io/ and try to reproduce the issue in it.
This is useful if you roughly know where the problem is, or can’t share the real code.

* Or, copy your app and remove things until you’re left with the minimal reproducible demo.
This is useful for finding the root cause. You may then optionally create a Snack.
Please share a project that reproduces the issue.
Ideally, create a new app using https://snack.expo.io/ and try to reproduce the issue in it.

This is a good guide to creating bug demos: https://stackoverflow.com/help/mcve
Once you’re done, copy and paste the link to the Snack or a public GitHub repository below:
-->

(Paste the link to an example project and exact instructions to reproduce the issue.)

<!--
What happens if you skip this step?

Someone will read your bug report, and maybe will be able to help you,
but it’s unlikely that it will get much attention from the team. Eventually,
the issue will likely get closed in favor of issues that have reproducible demos.

Please remember that:

* Issues without reproducible demos have a very low priority.
* The person fixing the bug would have to do that anyway. Please be respectful of their time.
* You might figure out the issues yourself as you work on extracting it.

Thanks for helping us help you!
-->
14 changes: 7 additions & 7 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 60
daysUntilStale: 180
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
daysUntilClose: 60
# Issues with these labels will never be considered stale
exemptLabels:
- Good first issue
Expand All @@ -11,10 +11,10 @@ exemptLabels:
staleLabel: Stale
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs.
Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people.
If you think this issue should definitely remain open, please let us know why.
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs.
You may also label this issue as "For Discussion" or "Good first issue" and I will leave it open.
Thank you for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false
closeComment: >
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.
only: issues
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ node_modules

# TODO: Check in yarn.lock in open source. Right now we need to keep it out
# from the GitHub repo as importing it might conflict with internal workspaces
*/**/yarn.lock
yarn.lock
package-lock.json

# OS X
.DS_Store
Expand Down
8 changes: 3 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,9 @@ Copy and paste this to the top of your new file(s):
```JS
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
```

Expand Down Expand Up @@ -210,5 +208,5 @@ However, there are still some styles that the linter cannot pick up.

## License

By contributing to React Native, you agree that your contributions will be licensed under its BSD license.
By contributing to React Native, you agree that your contributions will be licensed under its MIT license.
<!-- generated_contributing_end -->
6 changes: 2 additions & 4 deletions ContainerShip/scripts/run-android-ci-instrumentation-tests.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

'use strict';
Expand Down
6 changes: 2 additions & 4 deletions IntegrationTests/AccessibilityManagerTest.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
* @providesModule AccessibilityManagerTest
Expand Down
6 changes: 2 additions & 4 deletions IntegrationTests/AppEventsTest.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @providesModule AppEventsTest
* @flow
Expand Down
6 changes: 2 additions & 4 deletions IntegrationTests/AsyncStorageTest.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
* @providesModule AsyncStorageTest
Expand Down
6 changes: 2 additions & 4 deletions IntegrationTests/ImageCachePolicyTest.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
* @providesModule ImageCachePolicyTest
Expand Down
6 changes: 2 additions & 4 deletions IntegrationTests/ImageSnapshotTest.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
* @providesModule ImageSnapshotTest
Expand Down
6 changes: 2 additions & 4 deletions IntegrationTests/IntegrationTestHarnessTest.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
* @providesModule IntegrationTestHarnessTest
Expand Down
6 changes: 2 additions & 4 deletions IntegrationTests/IntegrationTestsApp.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
* @providesModule IntegrationTestsApp
Expand Down
6 changes: 2 additions & 4 deletions IntegrationTests/LayoutEventsTest.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @providesModule LayoutEventsTest
* @flow
Expand Down
Loading