react-dates
Version:
A responsive and accessible date range picker component built with React
34 lines (24 loc) • 634 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,
"no-restricted-imports": 0, // TODO: enable with full RTL support
},
"settings": {
"propWrapperFunctions": ["forbidExtraProps", "exact", "Object.freeze"]
}
}