BlueWallet/.eslintrc

33 lines
698 B
Plaintext
Raw Normal View History

2018-03-17 18:36:42 +01:00
{
2018-03-17 19:43:34 +01:00
"parser": "babel-eslint",
"plugins": [
"react-native", // for no-inline-styles rule
],
"extends": [
"standard",
"standard-react",
"plugin:react-hooks/recommended",
// "@react-native-community",
"plugin:prettier/recommended",
"prettier/react",
"prettier/standard",
2018-03-17 19:43:34 +01:00
],
2018-03-17 21:39:21 +01:00
"rules": {
"react/jsx-handler-names": "off", // activated by standard-react config
"react-native/no-inline-styles": "error",
"prettier/prettier": [
"warn",
2018-03-17 21:39:21 +01:00
{
"singleQuote": true,
"printWidth": 140,
"trailingComma": "all",
"arrowParens": "avoid"
2018-03-20 01:49:32 +01:00
}
2018-03-17 21:39:21 +01:00
]
},
"env":{
"es6": true
},
"globals": { "fetch": false }
2018-03-17 18:36:42 +01:00
}