Skip to content

Commit a449b9a

Browse files
committed
Remove erroneous .only and turn off react/no-deprecated rule
1 parent 9dca1ed commit a449b9a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.eslintrc

+2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
"no-restricted-imports": 0, // TODO: enable with full RTL support
2828

2929
"react/jsx-props-no-spreading": 0, // TODO: re-evaluate
30+
31+
"react/no-deprecated": 1, // TODO: update to UNSAFE_componentWillReceiveProps
3032
},
3133

3234
"overrides": [

test/components/DayPickerRangeController_spec.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -4492,7 +4492,7 @@ describe('DayPickerRangeController', () => {
44924492
});
44934493
});
44944494

4495-
describe.only('renderKeyboardShortcutsPanel prop', () => {
4495+
describe('renderKeyboardShortcutsPanel prop', () => {
44964496
it('passes down custom panel render function', () => {
44974497
const testRenderKeyboardShortcutsPanel = () => {};
44984498
const wrapper = shallow(

0 commit comments

Comments
 (0)