-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(sentry): install sentry feat(restingstate): connect back restingstate task + add bugsnag and fix sentry
- Loading branch information
Showing
175 changed files
with
11,928 additions
and
2,391 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 |
---|---|---|
@@ -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 | ||
} | ||
} | ||
}; | ||
|
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.