Skip to content

Commit fffd9d6

Browse files
committed
Lint
1 parent 90364b8 commit fffd9d6

File tree

2 files changed

+7
-33
lines changed

2 files changed

+7
-33
lines changed

src/CustomDatePickerIOS/index.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,8 @@ export default class CustomDatePickerIOS extends Component {
6666
<Text style={styles.title}>{titleIOS}</Text>
6767
</View>
6868
);
69-
const confirmButton = (
70-
<Text style={styles.confirmText}>{confirmTextIOS}</Text>
71-
);
72-
const cancelButton = (
73-
<Text style={styles.cancelText}>{cancelTextIOS}</Text>
74-
);
69+
const confirmButton = <Text style={styles.confirmText}>{confirmTextIOS}</Text>;
70+
const cancelButton = <Text style={styles.cancelText}>{cancelTextIOS}</Text>;
7571
return (
7672
<ReactNativeModal isVisible={isVisible} style={styles.contentContainer}>
7773
<View style={[styles.datepickerContainer, datePickerContainerStyleIOS]}>

yarn.lock

Lines changed: 5 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -203,17 +203,7 @@ babel-core@^6.21.0, babel-core@^6.23.0, babel-core@^6.7.2:
203203
slash "^1.0.0"
204204
source-map "^0.5.0"
205205

206-
babel-eslint@^7.1.1:
207-
version "7.1.1"
208-
resolved "https://registry.yarnpkg.com/babel-eslint/-/babel-eslint-7.1.1.tgz#8a6a884f085aa7060af69cfc77341c2f99370fb2"
209-
dependencies:
210-
babel-code-frame "^6.16.0"
211-
babel-traverse "^6.15.0"
212-
babel-types "^6.15.0"
213-
babylon "^6.13.0"
214-
lodash.pickby "^4.6.0"
215-
216-
babel-eslint@^7.2.2:
206+
babel-eslint@^7.1.1, babel-eslint@^7.2.2:
217207
version "7.2.2"
218208
resolved "https://registry.yarnpkg.com/babel-eslint/-/babel-eslint-7.2.2.tgz#0da2cbe6554fd0fb069f19674f2db2f9c59270ff"
219209
dependencies:
@@ -720,7 +710,7 @@ babel-template@^6.22.0, babel-template@^6.23.0:
720710
babylon "^6.11.0"
721711
lodash "^4.2.0"
722712

723-
babel-traverse@^6.15.0, babel-traverse@^6.21.0, babel-traverse@^6.22.0, babel-traverse@^6.23.0, babel-traverse@^6.23.1:
713+
babel-traverse@^6.21.0, babel-traverse@^6.22.0, babel-traverse@^6.23.0, babel-traverse@^6.23.1:
724714
version "6.23.1"
725715
resolved "https://registry.yarnpkg.com/babel-traverse/-/babel-traverse-6.23.1.tgz#d3cb59010ecd06a97d81310065f966b699e14f48"
726716
dependencies:
@@ -734,7 +724,7 @@ babel-traverse@^6.15.0, babel-traverse@^6.21.0, babel-traverse@^6.22.0, babel-tr
734724
invariant "^2.2.0"
735725
lodash "^4.2.0"
736726

737-
babel-types@^6.15.0, babel-types@^6.19.0, babel-types@^6.21.0, babel-types@^6.22.0, babel-types@^6.23.0:
727+
babel-types@^6.19.0, babel-types@^6.21.0, babel-types@^6.22.0, babel-types@^6.23.0:
738728
version "6.23.0"
739729
resolved "https://registry.yarnpkg.com/babel-types/-/babel-types-6.23.0.tgz#bb17179d7538bad38cd0c9e115d340f77e7e9acf"
740730
dependencies:
@@ -747,11 +737,7 @@ [email protected]:
747737
version "7.0.0-beta.8"
748738
resolved "https://registry.yarnpkg.com/babylon/-/babylon-7.0.0-beta.8.tgz#2bdc5ae366041442c27e068cce6f0d7c06ea9949"
749739

750-
babylon@^6.11.0, babylon@^6.13.0, babylon@^6.14.1, babylon@^6.15.0:
751-
version "6.15.0"
752-
resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.15.0.tgz#ba65cfa1a80e1759b0e89fb562e27dccae70348e"
753-
754-
babylon@^6.16.1:
740+
babylon@^6.11.0, babylon@^6.14.1, babylon@^6.15.0, babylon@^6.16.1:
755741
version "6.16.1"
756742
resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.16.1.tgz#30c5a22f481978a9e7f8cdfdf496b11d94b404d3"
757743

@@ -2301,10 +2287,6 @@ lodash.padstart@^4.1.0:
23012287
version "4.6.1"
23022288
resolved "https://registry.yarnpkg.com/lodash.padstart/-/lodash.padstart-4.6.1.tgz#d2e3eebff0d9d39ad50f5cbd1b52a7bce6bb611b"
23032289

2304-
lodash.pickby@^4.6.0:
2305-
version "4.6.0"
2306-
resolved "https://registry.yarnpkg.com/lodash.pickby/-/lodash.pickby-4.6.0.tgz#7dea21d8c18d7703a27c704c15d3b84a67e33aff"
2307-
23082290
lodash.restparam@^3.0.0:
23092291
version "3.6.1"
23102292
resolved "https://registry.yarnpkg.com/lodash.restparam/-/lodash.restparam-3.6.1.tgz#936a4e309ef330a7645ed4145986c85ae5b20805"
@@ -2432,11 +2414,7 @@ mkdirp@^0.5.0, mkdirp@^0.5.1:
24322414
dependencies:
24332415
minimist "0.0.8"
24342416

2435-
2436-
version "2.17.1"
2437-
resolved "https://registry.yarnpkg.com/moment/-/moment-2.17.1.tgz#fed9506063f36b10f066c8b59a144d7faebe1d82"
2438-
2439-
moment@^2.18.1:
2417+
[email protected], moment@^2.18.1:
24402418
version "2.18.1"
24412419
resolved "https://registry.yarnpkg.com/moment/-/moment-2.18.1.tgz#c36193dd3ce1c2eed2adb7c802dbbc77a81b1c0f"
24422420

0 commit comments

Comments
 (0)