mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-24 04:24:52 +08:00
- [android] upgrade to Android X - [android] upgrade gradle wrapper to v5.4.1 - [android][ios][tests] remove manual packages & enable auto-linking - [tests][internal] upgrade tests project to RN 60 - [ios] temporarily remove framework support in pods - broken in RN 60 - see https://github.com/facebook/react-native/issues/25349 - [linting] switch to use rn community linting rules
43 lines
925 B
Plaintext
43 lines
925 B
Plaintext
{
|
|
"root": true,
|
|
"extends": "@react-native-community",
|
|
"env": {
|
|
"es6": true,
|
|
"node": true,
|
|
"shelljs": true,
|
|
"jest": true
|
|
},
|
|
"settings": {
|
|
"react": {
|
|
"version": "16.8.6"
|
|
}
|
|
},
|
|
"rules": {
|
|
"jest/no-identical-title": 0,
|
|
"eslint-comments/no-unlimited-disable": 0,
|
|
"no-new": 0,
|
|
"no-continue": 0,
|
|
"no-extend-native": 0,
|
|
"import/no-dynamic-require": 0,
|
|
"global-require": "off",
|
|
"class-methods-use-this": 0,
|
|
"no-console": 1,
|
|
"no-plusplus": 0,
|
|
"no-undef": 0,
|
|
"no-catch-shadow": 0,
|
|
"no-underscore-dangle": "off",
|
|
"no-use-before-define": 0,
|
|
"react/forbid-prop-types": "warn",
|
|
"react/jsx-filename-extension": ["off", { "extensions": [".js", ".jsx"] }],
|
|
"import/no-unresolved": 0
|
|
},
|
|
"globals": {
|
|
"__DEV__": true,
|
|
"__RNFB__": true,
|
|
"firebase": true,
|
|
"should": true,
|
|
"Utils": true,
|
|
"window": true
|
|
}
|
|
}
|