react-dates
Version:
A responsive and accessible date range picker component built with React
32 lines (23 loc) • 562 B
Plain Text
{
"root": true,
"extends": [
"airbnb",
"plugin:react-with-styles/recommended"
],
"plugins": [
"react-with-styles"
],
"env": {
"browser": true,
"node": true
},
"rules": {
"no-mixed-operators": [2, { "allowSamePrecedence": true }],
"jsx-a11y/click-events-have-key-events": 1, // TODO: enable
"react/no-did-mount-set-state": 0, // necessary for server-rendering
"react-with-styles/no-unused-styles": 2
},
"settings": {
"propWrapperFunctions": ["forbidExtraProps", "exact", "Object.freeze"]
}
}