-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
React native upgrade 0.62.2 rebased (#1586)
* all files changed * init Pods * pods working * app running * fixed native and metro problems * fix pods deployment target * android running but with RN errors * viewpager working * fixed our custom webview * Fix RCTAnalytics * lint [IMPORTANT] * fix warnings & gesture handler * update scritps and readme * fix most tests * tests working * fix TouchableHighlight tests * rebased * return to correct pod platform version * Upgrade to RN 0.62.2 * Fix detox * fix format * fix metro server start * fix bitcode error * fix e2e release ios * returning to previous deployment target * detox bump * fix yarn clean * Create react-native-scrollable-tab-view+1.0.0.patch * Back to 11.0 deployment target and fix sentry properties * Allow more memory for daemon * Fixed end of file warnings * remove extra space * Fix for e2e tests * Ignore VirtualizedLists warning
- Loading branch information
1 parent
786bb58
commit e0df5aa
Showing
111 changed files
with
4,605 additions
and
4,942 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,138 @@ | ||
module.exports = { | ||
root: true, | ||
parser: 'babel-eslint', | ||
extends: ['@react-native-community', 'eslint:recommended', 'plugin:import/warnings', 'plugin:react/recommended'], | ||
globals: { | ||
process: true, | ||
beforeAll: true, | ||
afterAll: true, | ||
describe: true, | ||
expect: true, | ||
it: true, | ||
jasmine: true, | ||
jest: true, | ||
spyOn: true, | ||
element: true, | ||
by: true, | ||
beforeEach: true, | ||
device: true, | ||
waitFor: true, | ||
__DEV__: true | ||
}, | ||
rules: { | ||
'no-catch-shadow': 0, | ||
'no-console': ['warn', { allow: ['warn', 'error'] }], | ||
quotes: [ | ||
'error', | ||
'single', | ||
{ | ||
avoidEscape: true, | ||
allowTemplateLiterals: true | ||
} | ||
], | ||
'comma-dangle': 0, | ||
curly: 0, | ||
'no-shadow': 0, | ||
'no-bitwise': 0, | ||
'class-methods-use-this': 0, | ||
'eol-last': 1, | ||
'import/no-named-as-default': 0, | ||
'no-invalid-this': 0, | ||
'no-new': 0, | ||
'react/jsx-handler-names': 0, | ||
'react/no-did-mount-set-state': 0, | ||
'react/prefer-stateless-function': 0, | ||
'require-atomic-updates': 0, | ||
'array-callback-return': 2, | ||
'arrow-body-style': 2, | ||
'dot-notation': 2, | ||
eqeqeq: 2, | ||
'import/no-amd': 2, | ||
'import/no-commonjs': 2, | ||
'import/no-duplicates': 2, | ||
'import/no-extraneous-dependencies': 2, | ||
'import/no-mutable-exports': 2, | ||
'import/no-namespace': 2, | ||
'import/no-nodejs-modules': 2, | ||
'import/prefer-default-export': 2, | ||
'no-alert': 2, | ||
'no-constant-condition': [ | ||
2, | ||
{ | ||
checkLoops: false | ||
} | ||
], | ||
'no-duplicate-imports': 2, | ||
'no-empty-function': 2, | ||
'no-else-return': 2, | ||
'no-eval': 2, | ||
'no-extend-native': 2, | ||
'no-extra-bind': 2, | ||
'no-global-assign': 2, | ||
'no-implicit-globals': 2, | ||
'no-implied-eval': 2, | ||
'no-lonely-if': 2, | ||
'no-loop-func': 2, | ||
'no-new-func': 2, | ||
'no-new-wrappers': 2, | ||
'no-proto': 2, | ||
'no-script-url': 2, | ||
'no-self-compare': 2, | ||
'no-throw-literal': 2, | ||
'no-unmodified-loop-condition': 2, | ||
'no-unneeded-ternary': [ | ||
2, | ||
{ | ||
defaultAssignment: false | ||
} | ||
], | ||
'no-unsafe-negation': 2, | ||
'no-unused-expressions': [ | ||
2, | ||
{ | ||
allowTernary: true, | ||
allowShortCircuit: true | ||
} | ||
], | ||
'no-use-before-define': [2, 'nofunc'], | ||
'no-useless-call': 2, | ||
'no-useless-computed-key': 2, | ||
'no-useless-concat': 2, | ||
'no-useless-constructor': 2, | ||
'no-useless-rename': 2, | ||
'no-var': 2, | ||
'no-with': 2, | ||
'object-shorthand': 2, | ||
'operator-assignment': 2, | ||
'prefer-arrow-callback': 2, | ||
'prefer-const': 2, | ||
'prefer-rest-params': 2, | ||
'prefer-spread': 2, | ||
'import/no-unresolved': 2, | ||
'eslint-comments/no-unlimited-disable': 0, | ||
'eslint-comments/no-unused-disable': 0, | ||
'react-native/no-color-literals': 2, | ||
'react-native/no-inline-styles': 2, | ||
'react-native/no-unused-styles': 2, | ||
'react-native/split-platform-components': 2, | ||
'react/jsx-boolean-value': 2, | ||
'react/jsx-key': 1, | ||
'react/jsx-no-bind': 1, | ||
'react/jsx-pascal-case': 2, | ||
'react/jsx-wrap-multilines': 2, | ||
'react/no-danger': 2, | ||
'react/no-did-update-set-state': 2, | ||
'react/no-find-dom-node': 2, | ||
'react/no-multi-comp': [ | ||
2, | ||
{ | ||
ignoreStateless: true | ||
} | ||
], | ||
'react/no-render-return-value': 2, | ||
'react/no-string-refs': 2, | ||
'react/no-unused-prop-types': 2, | ||
'react/prefer-es6-class': 2, | ||
radix: 0 | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
*.pbxproj -text | ||
# specific for windows script files | ||
*.bat text eol=crlf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.