Skip to content
Snippets Groups Projects
Unverified Commit 9cf2c97a authored by Jordan Harband's avatar Jordan Harband
Browse files

[Dev Deps] use `@babel/eslint-parser` instead of `babel-eslint`

parent 0061fadf
No related branches found
No related tags found
No related merge requests found
lib/
.storybook/
test/_helpers/
webpack.config.js
......@@ -3,19 +3,26 @@
"extends": [
"airbnb",
"plugin:react-with-styles/recommended"
"plugin:react-with-styles/recommended",
],
"plugins": [
"react-with-styles"
"react-with-styles",
],
"env": {
"browser": true,
"node": true
"node": true,
},
"parser": "babel-eslint",
"ignorePatterns": [
"lib/",
".storybook/",
"test/_helpers/",
"webpack.config.js",
],
"parser": "@babel/eslint-parser",
"rules": {
"react/forbid-foreign-prop-types": 2, // For babel-plugin-transform-react-remove-prop-types
......@@ -44,7 +51,7 @@
//"devDependencies": true
//}],
"indent": [2, 2, {
"MemberExpression": "off"
"MemberExpression": "off",
}],
},
},
......@@ -52,5 +59,5 @@
"settings": {
"propWrapperFunctions": ["forbidExtraProps", "exact", "Object.freeze"],
}
},
}
......@@ -260,15 +260,13 @@ function DateRangePickerInput({
{!isEndDateFocused && children}
{
<div
{...css(styles.DateRangePickerInput_arrow)}
aria-hidden="true"
role="presentation"
>
{arrowIcon}
</div>
}
<div
{...css(styles.DateRangePickerInput_arrow)}
aria-hidden="true"
role="presentation"
>
{arrowIcon}
</div>
<DateInput
id={endDateId}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment