Permalink
Browse files

fix eslint

  • Loading branch information...
xcarpentier committed Dec 31, 2018
1 parent 32e36cf commit 8829f44bb200d2161a39c318f2ac8187e127c5e8
Showing with 239 additions and 46 deletions.
  1. +20 −22 .eslintrc
  2. +5 −4 package.json
  3. +1 −1 src/MessageContainer.js
  4. +213 −19 yarn.lock
@@ -1,24 +1,22 @@
{
"extends": "cooperka/react-native",
"env": {
"browser": true,
"jest": true
},
"rules": {
"no-underscore-dangle": 0,
"import/no-unresolved": [
2,
{
"ignore": [
"react",
"react-native"
]
}
],
"import/no-extraneous-dependencies": 0,
"import/extensions": 0,
"react/no-unused-prop-types": 0,
"react/no-typos": 0,
"jsx-a11y/accessible-emoji": 0
}
"extends": "cooperka/react-native",
"parser": "babel-eslint",
"env": {
"browser": true,
"jest": true
},
"rules": {
"no-underscore-dangle": 0,
"import/no-unresolved": [
2,
{
"ignore": ["react", "react-native"]
}
],
"import/no-extraneous-dependencies": 0,
"import/extensions": 0,
"react/no-unused-prop-types": 0,
"react/no-typos": 0,
"jsx-a11y/accessible-emoji": 0
}
}
@@ -48,6 +48,7 @@
"@types/react": "^16.0.38",
"@types/react-native": "^0.52.12",
"babel": "6.23.0",
"babel-eslint": "10.0.1",
"babel-jest": "23.0.0",
"babel-preset-react-native": "4.0.0",
"eslint": "^4.9.0",
@@ -59,19 +60,19 @@
"eslint-plugin-react-native": "3.2.1",
"husky": "0.15.0-rc.2",
"jest": "22.1.4",
"react-test-renderer": "16.4.0",
"prop-types": "15.6.2",
"react": "16.2.0",
"react-native": "0.51.0",
"prop-types": "15.6.2"
"react-test-renderer": "16.4.0"
},
"dependencies": {
"@expo/react-native-action-sheet": "^1.0.1",
"moment": "^2.19.0",
"react-native-communications": "2.2.1",
"react-native-lightbox": "^0.7.0",
"react-native-parsed-text": "^0.0.20",
"uuid": "3.3.0",
"react-native-video": "^3.2.1"
"react-native-video": "^3.2.1",
"uuid": "3.3.0"
},
"peerDependencies": {
"prop-types": "*",
@@ -115,7 +115,7 @@ export default class MessageContainer extends React.PureComponent {
renderHeaderWrapper() {
return <View style={styles.headerWrapper}>{this.renderLoadEarlier()}</View>;
}

keyExtractor = (item) => `${item._id}`

render() {
Oops, something went wrong.

0 comments on commit 8829f44

Please sign in to comment.