react-native-firebase/.eslintrc

41 lines
729 B
Plaintext
Raw Normal View History

2017-02-14 16:02:54 +00:00
{
2018-01-25 18:11:37 +00:00
"extends": [
"airbnb",
"prettier",
"prettier/flowtype",
"prettier/react"
],
2017-02-14 16:02:54 +00:00
"parser": "babel-eslint",
"plugins": [
2018-01-25 18:11:37 +00:00
"flowtype",
"prettier"
2017-02-14 16:02:54 +00:00
],
"env": {
"es6": true,
"jasmine": true
},
"rules": {
2018-01-25 18:11:37 +00:00
"prettier/prettier": ["error", {
"trailingComma": "es5",
"singleQuote": true
}],
"react/forbid-prop-types": "warn",
"react/jsx-filename-extension": [
"off", { "extensions": [".js", ".jsx"] }
],
2017-02-14 16:02:54 +00:00
"class-methods-use-this": 0,
2018-01-25 18:11:37 +00:00
"no-console": 0,
2017-03-02 13:10:50 +00:00
"no-plusplus": 0,
"no-undef": 0,
2018-01-25 18:11:37 +00:00
"no-underscore-dangle": "off",
"no-use-before-define": 0,
"import/no-cycle": 0
2017-02-14 16:02:54 +00:00
},
"globals": {
"__DEV__": true,
"window": true
}
}