Skip to content

Commit 2fee37b

Browse files
committed
Chore Update dependencies and fix linter errors
1 parent cdc0cf0 commit 2fee37b

File tree

5 files changed

+1787
-1339
lines changed

5 files changed

+1787
-1339
lines changed

.eslintrc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"env": {
44
"es6": true,
55
"node": true,
6-
"browser": true,
6+
"browser": true
77
},
88
"parser": "babel-eslint",
9-
"plugins": ["react-native"],
9+
"plugins": ["react","jsx-a11y", "import", "react-native"],
1010
"rules": {
1111
"react/jsx-filename-extension": ["error", { "extensions": [".js", ".jsx"] }],
1212
"react/require-default-props": "off",
@@ -16,5 +16,7 @@
1616
"no-underscore-dangle": "off",
1717
"comma-dangle": "off",
1818
"quotes": "off",
19+
"arrow-parens": 0,
20+
"jsx-one-expression-per-line": 0
1921
}
2022
}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ import MultiSelect from 'react-native-multiple-select';
3838

3939
class MultiSelectExample extends Component {
4040

41-
this.state = {
41+
state = {
4242
selectedItems = [];
4343
};
4444

45-
this.items = [{
45+
items = [{
4646
id: '92iijs7yta',
4747
name: 'Ondo',
4848
}, {

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Type definitions for react-native-multiple-select 0.5
1+
// Type definitions for react-native-multiple-select
22

33
import * as React from "react";
44
import { ViewStyle, TextStyle, TextInputProps, StyleProp, FlatListProps } from 'react-native';

package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-multiple-select",
3-
"version": "0.5.4",
3+
"version": "0.5.5",
44
"description": "Simple multi-select component for react-native",
55
"main": "index.js",
66
"scripts": {
@@ -38,26 +38,26 @@
3838
},
3939
"devDependencies": {
4040
"babel-eslint": "^10.0.2",
41-
"babel-jest": "23.6.0",
41+
"babel-jest": "24.9.0",
4242
"babel-preset-react-native": "^4.0.1",
43-
"eslint": "^6.0.1",
43+
"eslint": "^6.5.1",
4444
"eslint-config-airbnb": "^17.1.1",
4545
"eslint-config-react-native": "^4.0.0",
46-
"eslint-plugin-import": "^2.18.0",
46+
"eslint-plugin-import": "^2.18.1",
4747
"eslint-plugin-jsx-a11y": "^6.2.3",
48-
"eslint-plugin-react": "^7.14.2",
48+
"eslint-plugin-react": "^7.14.3",
4949
"eslint-plugin-react-native": "^3.7.0",
50-
"husky": "^0.14.3",
51-
"jest": "^23.3.6",
52-
"lint-staged": "^5.0.0",
53-
"prettier": "^1.15.3",
54-
"react-test-renderer": "16.6.3",
50+
"husky": "^3.1.0",
51+
"jest": "^24.9.0",
52+
"lint-staged": "^9.4.3",
53+
"prettier": "^1.19.1",
54+
"react-test-renderer": "16.9.0",
5555
"remote-redux-devtools": "^0.5.16"
5656
},
5757
"peerDependencies": {
58-
"lodash": "^4.17.15",
59-
"react": "16.6.3",
60-
"react-native": "^0.57.8",
61-
"react-native-vector-icons": "^6.6.0"
58+
"lodash": ">4.17.00",
59+
"react": ">16.6.0",
60+
"react-native": ">0.57.0",
61+
"react-native-vector-icons": ">6.0.0"
6262
}
6363
}

0 commit comments

Comments
 (0)