Skip to content

Commit 0e68340

Browse files
committed
[Dev Deps] pin eslint-plugin-react to v6.10.0.
Closes #383. Related to jsx-eslint/eslint-plugin-react#1117.
1 parent f677d04 commit 0e68340

6 files changed

+13
-13
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"eslint-config-airbnb": "^14.1.0",
6464
"eslint-plugin-import": "^2.2.0",
6565
"eslint-plugin-jsx-a11y": "^4.0.0",
66-
"eslint-plugin-react": "^6.10.0",
66+
"eslint-plugin-react": "6.10.0",
6767
"git-directory-deploy": "^1.5.1",
6868
"imports-loader": "^0.7.1",
6969
"in-publish": "^2.0.0",

src/components/DateRangePicker.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ export default class DateRangePicker extends React.Component {
270270
renderCalendarInfo={renderCalendarInfo}
271271
/>
272272

273-
{withFullScreenPortal &&
273+
{withFullScreenPortal && (
274274
<button
275275
className="DateRangePicker__close"
276276
type="button"
@@ -283,7 +283,7 @@ export default class DateRangePicker extends React.Component {
283283
{closeIcon}
284284
</div>
285285
</button>
286-
}
286+
)}
287287
</div>
288288
);
289289
}

src/components/DateRangePickerInput.jsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ export default class DateRangePickerInput extends React.Component {
147147
'DateRangePickerInput--disabled': disabled,
148148
})}
149149
>
150-
{(showDefaultInputIcon || customInputIcon !== null) &&
150+
{(showDefaultInputIcon || customInputIcon !== null) && (
151151
<button
152152
type="button"
153153
aria-label={phrases.focusStartDate}
@@ -156,7 +156,7 @@ export default class DateRangePickerInput extends React.Component {
156156
>
157157
{inputIcon}
158158
</button>
159-
}
159+
)}
160160

161161
<DateInput
162162
id={startDateId}
@@ -194,7 +194,7 @@ export default class DateRangePickerInput extends React.Component {
194194
onKeyDownTab={onEndDateTab}
195195
/>
196196

197-
{showClearDates &&
197+
{showClearDates && (
198198
<button
199199
type="button"
200200
className={cx('DateRangePickerInput__clear-dates', {
@@ -212,7 +212,7 @@ export default class DateRangePickerInput extends React.Component {
212212
{closeIcon}
213213
</div>
214214
</button>
215-
}
215+
)}
216216
</div>
217217
);
218218
}

src/components/DayPickerNavigation.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,15 @@ export default function DayPickerNavigation(props) {
8080

8181
return (
8282
<div className={navClassNames}>
83-
{!isVerticalScrollable &&
83+
{!isVerticalScrollable && (
8484
<span
8585
aria-label={phrases.jumpToPrevMonth}
8686
className={prevClassNames}
8787
onClick={onPrevMonthClick}
8888
>
8989
{navPrevIcon}
9090
</span>
91-
}
91+
)}
9292

9393
<span
9494
aria-label={phrases.jumpToNextMonth}

src/components/SingleDatePicker.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ export default class SingleDatePicker extends React.Component {
344344
renderCalendarInfo={renderCalendarInfo}
345345
/>
346346

347-
{withFullScreenPortal &&
347+
{withFullScreenPortal && (
348348
<button
349349
className="SingleDatePicker__close"
350350
type="button"
@@ -357,7 +357,7 @@ export default class SingleDatePicker extends React.Component {
357357
{closeIcon}
358358
</div>
359359
</button>
360-
}
360+
)}
361361
</div>
362362
);
363363
}

src/components/SingleDatePickerInput.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ export default class SingleDatePickerInput extends React.Component {
119119
onKeyDownTab={onKeyDownTab}
120120
/>
121121

122-
{showClearDate &&
122+
{showClearDate && (
123123
<button
124124
type="button"
125125
className={cx('SingleDatePickerInput__clear-date', {
@@ -135,7 +135,7 @@ export default class SingleDatePickerInput extends React.Component {
135135
{closeIcon}
136136
</div>
137137
</button>
138-
}
138+
)}
139139
</div>
140140
);
141141
}

0 commit comments

Comments
 (0)