Skip to content

Commit

Permalink
sync
Browse files Browse the repository at this point in the history
chore(sentry): install sentry

feat(restingstate): connect back restingstate task + add bugsnag and fix sentry
  • Loading branch information
nuKs committed Oct 24, 2019
1 parent 27f62c2 commit 442b6ff
Show file tree
Hide file tree
Showing 175 changed files with 11,928 additions and 2,391 deletions.
74 changes: 71 additions & 3 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,73 @@
module.exports = {
root: true,
extends: '@react-native-community',
module.exports =
{
"env": {
"es6": true,
"node": true,
"jest": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:flowtype/recommended"
],
"parserOptions": {
"ecmaVersion": 2019,
"ecmaFeatures": {
"jsx": true,
"impliedStrict": true
},
"sourceType": "module"
},
"plugins": [
"react",
"flowtype"
],
"rules": {
"indent": [
"error",
4,
{
"FunctionExpression": {
"body": 1,
"parameters": "first"
}
}
],
"no-unused-vars": [
"error",
{
"vars": "all",
"args": "none",
"ignoreRestSiblings": false
}
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
],
"flowtype/use-flow-type": 1,
"flowtype/valid-syntax": 1,
"no-console": "off",
// Disable process.env as I couldn't mock process.env with jest. Thus we
// force to use a global config file instead of process.env which we can
// mock.
"no-process-env": "error",
// Disable react/no-unescaped-entities as this only make sense for web app
// and we're doing native (at least to my opinion).
"react/no-unescaped-entities": "off"
},
"settings": {
"flowtype": {
"onlyFilesWithFlowAnnotation": true
}
}
};

8 changes: 7 additions & 1 deletion .eslintrc.json.deprecated
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
module.exports = {
root: true,
extends: '@react-native-community',
};


{
babel-eslint
"env": {
"es6": true,
"node": true
Expand Down Expand Up @@ -60,5 +67,4 @@
"onlyFilesWithFlowAnnotation": true
}
}

}
3 changes: 2 additions & 1 deletion .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ suppress_type=$FlowFixMeState
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native\\(_ios\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\)
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native\\(_ios\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\)?:? #[0-9]+
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
suppress_comment=\\(.\\|\n\\)*\\$flow-disable-line

[lints]
sketchy-null-number=warn
Expand All @@ -96,4 +97,4 @@ untyped-import
untyped-type-import

[version]
^0.92.0
^0.103.0
Loading

0 comments on commit 442b6ff

Please sign in to comment.