mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-23 20:10:05 +08:00
> You can [learn more about this here](https://blog.invertase.io/react-native-firebase-2019-7e334ca9bcc6).
42 lines
918 B
Plaintext
42 lines
918 B
Plaintext
{
|
|
"root": true,
|
|
"extends": ["airbnb", "prettier", "prettier/flowtype", "prettier/react"],
|
|
"parser": "babel-eslint",
|
|
"plugins": ["flowtype", "prettier"],
|
|
"env": {
|
|
"es6": true,
|
|
"node": true,
|
|
"shelljs": true,
|
|
"jest": true
|
|
},
|
|
"rules": {
|
|
"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-underscore-dangle": "off",
|
|
"no-use-before-define": 0,
|
|
"react/forbid-prop-types": "warn",
|
|
"react/jsx-filename-extension": ["off", { "extensions": [".js", ".jsx"] }],
|
|
"import/no-cycle": 1,
|
|
"import/no-unresolved": 0
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": ["packages/*/test/**/*.js", "test/**/*.js"],
|
|
"env": {
|
|
"jest": true
|
|
}
|
|
}
|
|
],
|
|
"globals": {
|
|
"__DEV__": true,
|
|
"__RNFB__": true,
|
|
"window": true
|
|
|
|
}
|
|
}
|