mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Fix ESLint warnings using 'yarn lint --fix'
Summary: Hi! I would like to contribute to React Native, and I am just starting out. I forked the repo and found that it has quite a lot of ESLint warnings – many of which were automatically fixable. This PR is simply the result of running `yarn lint --fix` from the root folder. Most changes are removing trailing spaces from comments. Haven't really done any manual testing, since I haven't done any code changes manually. `yarn test` runs fine, `yarn flow` runs fine, `yarn prettier` is satisfied. N/A [INTERNAL][MINOR][] - Fix ESLint warnings Closes https://github.com/facebook/react-native/pull/18047 Differential Revision: D7054948 Pulled By: hramos fbshipit-source-id: d53e692698d1687de5821c3fb5cdb76a5e03b71e
This commit is contained in:
1 parent
47e57ef8c1
commit
edb6ca72fd
22 files changed
+151
-151
No files matched your search
@@ -46,8 +46,8 @@ module.exports = function registerNativeModuleIOS(dependencyConfig, projectConfi
|
||||
getTargets(dependencyProject).forEach(product => {
|
||||
var i;
|
||||
if (!product.isTVOS) {
|
||||
for (i=0; i<targets.length; i++) {
|
||||
if(!targets[i].isTVOS) {
|
||||
for (i = 0; i < targets.length; i++) {
|
||||
if (!targets[i].isTVOS) {
|
||||
project.addStaticLibrary(product.name, {
|
||||
target: targets[i].uuid
|
||||
});
|
||||
@@ -56,8 +56,8 @@ module.exports = function registerNativeModuleIOS(dependencyConfig, projectConfi
|
||||
}
|
||||
|
||||
if (product.isTVOS) {
|
||||
for (i=0; i<targets.length; i++) {
|
||||
if(targets[i].isTVOS) {
|
||||
for (i = 0; i < targets.length; i++) {
|
||||
if (targets[i].isTVOS) {
|
||||
project.addStaticLibrary(product.name, {
|
||||
target: targets[i].uuid
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user