From 61741b68535a85575359ac15840fe70e899c2c45 Mon Sep 17 00:00:00 2001 From: Erick Alves Date: Fri, 1 May 2020 01:51:48 +0100 Subject: [PATCH] hidden files --- .DS_Store | Bin 6148 -> 0 bytes .buckconfig | 6 ++++ .eslintrc.js | 23 +++++++++++++++ .flowconfig | 74 ++++++++++++++++++++++++++++++++++++++++++++++++ .gitattributes | 1 + .gitignore | 59 ++++++++++++++++++++++++++++++++++++++ .prettierrc.js | 6 ++++ .watchmanconfig | 1 + 8 files changed, 170 insertions(+) delete mode 100644 .DS_Store create mode 100644 .buckconfig create mode 100644 .eslintrc.js create mode 100644 .flowconfig create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 .prettierrc.js create mode 100644 .watchmanconfig diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index f791733062f02376cc079d842549d6389e934d48..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeH~!A|2a5QfK4z%4@bu!24Mg0zPoTEq$vLW&9;kT|Rqw0nRR#3WiGLX6sUD=0;I z3wVWn5*~raVP|Z!Y6x7brSeGQ-|@`E@+ZZP0f4o8VGE!R034mPQp4sAqd0lVrtC-+ zmFagxkV3ehs56=QUnisQvWMRo~Botk-P^og;es7G&qr_79ax{`CX-J&yV( z^-nu0&4M_MI=VOxBTPB|5vQT*w^c6L`78ar-W)GcT!P}Eb$d8q%mHz9{`^p@3d|< zN5B#I00d}%5a^_y)!eAwIRHW=Vg!wuQdCpQ>=lEVavT>n z&$F5vHRZtU<%8LonZ2PfJv+W%=yYJ7QP(;GjzE#Xw0W%4`M>x6{l8e`o*V&3V4?`H z%C5iL#wFRawX`@oYX$l#IvM5VMs*1`_BhrZI*LD|Yr~kJ4ytE0H;N-@?ngjlaE&7{ HRsw$k*T?;s diff --git a/.buckconfig b/.buckconfig new file mode 100644 index 0000000..934256c --- /dev/null +++ b/.buckconfig @@ -0,0 +1,6 @@ + +[android] + target = Google Inc.:Google APIs:23 + +[maven_repositories] + central = https://repo1.maven.org/maven2 diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 0000000..8c69e34 --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,23 @@ +module.exports = { + root: true, + extends: '@react-native-community', + plugins: ['import', 'eslint-plugin-import-helpers'], + rules: { + 'import-helpers/order-imports': [ + 'warn', + { + newlinesBetween: 'always', + groups: ['module', '/^~//', ['parent', 'sibling', 'index']], + alphabetize: {order: 'asc', ignoreCase: true}, + }, + ], + }, + settings: { + 'import/resolver': { + node: { + paths: ['src'], + }, + 'babel-module': {}, + }, + }, +}; diff --git a/.flowconfig b/.flowconfig new file mode 100644 index 0000000..786366c --- /dev/null +++ b/.flowconfig @@ -0,0 +1,74 @@ +[ignore] +; We fork some components by platform +.*/*[.]android.js + +; Ignore "BUCK" generated dirs +/\.buckd/ + +; Ignore polyfills +node_modules/react-native/Libraries/polyfills/.* + +; These should not be required directly +; require from fbjs/lib instead: require('fbjs/lib/warning') +node_modules/warning/.* + +; Flow doesn't support platforms +.*/Libraries/Utilities/LoadingView.js + +[untyped] +.*/node_modules/@react-native-community/cli/.*/.* + +[include] + +[libs] +node_modules/react-native/interface.js +node_modules/react-native/flow/ + +[options] +emoji=true + +esproposal.optional_chaining=enable +esproposal.nullish_coalescing=enable + +module.file_ext=.js +module.file_ext=.json +module.file_ext=.ios.js + +munge_underscores=true + +module.name_mapper='^react-native/\(.*\)$' -> '/node_modules/react-native/\1' +module.name_mapper='^@?[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> '/node_modules/react-native/Libraries/Image/RelativeImageStub' + +suppress_type=$FlowIssue +suppress_type=$FlowFixMe +suppress_type=$FlowFixMeProps +suppress_type=$FlowFixMeState + +suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(\\)? *\\(site=[a-z,_]*react_native\\(_ios\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\) +suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(\\)? *\\(site=[a-z,_]*react_native\\(_ios\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\)?:? #[0-9]+ +suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError + +[lints] +sketchy-null-number=warn +sketchy-null-mixed=warn +sketchy-number=warn +untyped-type-import=warn +nonstrict-import=warn +deprecated-type=warn +unsafe-getters-setters=warn +inexact-spread=warn +unnecessary-invariant=warn +signature-verification-failure=warn +deprecated-utility=error + +[strict] +deprecated-type +nonstrict-import +sketchy-null +unclear-type +unsafe-getters-setters +untyped-import +untyped-type-import + +[version] +^0.113.0 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..d42ff18 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.pbxproj -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ad572e6 --- /dev/null +++ b/.gitignore @@ -0,0 +1,59 @@ +# OSX +# +.DS_Store + +# Xcode +# +build/ +*.pbxuser +!default.pbxuser +*.mode1v3 +!default.mode1v3 +*.mode2v3 +!default.mode2v3 +*.perspectivev3 +!default.perspectivev3 +xcuserdata +*.xccheckout +*.moved-aside +DerivedData +*.hmap +*.ipa +*.xcuserstate + +# Android/IntelliJ +# +build/ +.idea +.gradle +local.properties +*.iml + +# node.js +# +node_modules/ +npm-debug.log +yarn-error.log + +# BUCK +buck-out/ +\.buckd/ +*.keystore +!debug.keystore + +# fastlane +# +# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the +# screenshots whenever they are needed. +# For more information about the recommended setup visit: +# https://docs.fastlane.tools/best-practices/source-control/ + +*/fastlane/report.xml +*/fastlane/Preview.html +*/fastlane/screenshots + +# Bundle artifact +*.jsbundle + +# CocoaPods +/ios/Pods/ diff --git a/.prettierrc.js b/.prettierrc.js new file mode 100644 index 0000000..5c4de1a --- /dev/null +++ b/.prettierrc.js @@ -0,0 +1,6 @@ +module.exports = { + bracketSpacing: false, + jsxBracketSameLine: true, + singleQuote: true, + trailingComma: 'all', +}; diff --git a/.watchmanconfig b/.watchmanconfig new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/.watchmanconfig @@ -0,0 +1 @@ +{} \ No newline at end of file