Skip to content

Commit

Permalink
Chore Update dependencies and fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
AugustoAleGon committed Nov 22, 2019
1 parent cdc0cf0 commit 2fee37b
Show file tree
Hide file tree
Showing 5 changed files with 1,787 additions and 1,339 deletions.
6 changes: 4 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"env": {
"es6": true,
"node": true,
"browser": true,
"browser": true
},
"parser": "babel-eslint",
"plugins": ["react-native"],
"plugins": ["react","jsx-a11y", "import", "react-native"],
"rules": {
"react/jsx-filename-extension": ["error", { "extensions": [".js", ".jsx"] }],
"react/require-default-props": "off",
Expand All @@ -16,5 +16,7 @@
"no-underscore-dangle": "off",
"comma-dangle": "off",
"quotes": "off",
"arrow-parens": 0,
"jsx-one-expression-per-line": 0
}
}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ import MultiSelect from 'react-native-multiple-select';

class MultiSelectExample extends Component {

this.state = {
state = {
selectedItems = [];
};

this.items = [{
items = [{
id: '92iijs7yta',
name: 'Ondo',
}, {
Expand Down
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Type definitions for react-native-multiple-select 0.5
// Type definitions for react-native-multiple-select

import * as React from "react";
import { ViewStyle, TextStyle, TextInputProps, StyleProp, FlatListProps } from 'react-native';
Expand Down
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-multiple-select",
"version": "0.5.4",
"version": "0.5.5",
"description": "Simple multi-select component for react-native",
"main": "index.js",
"scripts": {
Expand Down Expand Up @@ -38,26 +38,26 @@
},
"devDependencies": {
"babel-eslint": "^10.0.2",
"babel-jest": "23.6.0",
"babel-jest": "24.9.0",
"babel-preset-react-native": "^4.0.1",
"eslint": "^6.0.1",
"eslint": "^6.5.1",
"eslint-config-airbnb": "^17.1.1",
"eslint-config-react-native": "^4.0.0",
"eslint-plugin-import": "^2.18.0",
"eslint-plugin-import": "^2.18.1",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.14.2",
"eslint-plugin-react": "^7.14.3",
"eslint-plugin-react-native": "^3.7.0",
"husky": "^0.14.3",
"jest": "^23.3.6",
"lint-staged": "^5.0.0",
"prettier": "^1.15.3",
"react-test-renderer": "16.6.3",
"husky": "^3.1.0",
"jest": "^24.9.0",
"lint-staged": "^9.4.3",
"prettier": "^1.19.1",
"react-test-renderer": "16.9.0",
"remote-redux-devtools": "^0.5.16"
},
"peerDependencies": {
"lodash": "^4.17.15",
"react": "16.6.3",
"react-native": "^0.57.8",
"react-native-vector-icons": "^6.6.0"
"lodash": ">4.17.00",
"react": ">16.6.0",
"react-native": ">0.57.0",
"react-native-vector-icons": ">6.0.0"
}
}
Loading

0 comments on commit 2fee37b

Please sign in to comment.