react-native-firebase/tests/.eslintrc

40 lines
703 B
Plaintext
Raw Normal View History

2017-04-23 19:22:19 +00:00
{
2018-01-25 18:25:39 +00:00
"extends": [
"airbnb",
"prettier",
"prettier/flowtype",
"prettier/react"
],
2017-04-23 19:22:19 +00:00
"parser": "babel-eslint",
"plugins": [
2018-01-25 18:25:39 +00:00
"flowtype",
"prettier"
2017-04-23 19:22:19 +00:00
],
"env": {
"es6": true,
"jasmine": true
},
"rules": {
2018-01-25 18:25:39 +00:00
"prettier/prettier": ["error", {
"trailingComma": "es5",
"singleQuote": true
}],
"react/forbid-prop-types": "warn",
"react/jsx-filename-extension": [
"off", { "extensions": [".js", ".jsx"] }
],
2017-04-23 19:22:19 +00:00
"class-methods-use-this": 0,
"no-console": 0,
2018-01-25 18:25:39 +00:00
"no-plusplus": 0,
"no-undef": 0,
"no-underscore-dangle": "off",
"no-use-before-define": 0
2017-04-23 19:22:19 +00:00
},
"globals": {
"__DEV__": true,
2018-01-25 18:25:39 +00:00
"window": true
2017-04-23 19:22:19 +00:00
}
}