analytics/assets/.eslintrc.json
Mackenzie 27b60894bb
disable date navigation arrows when date is invalid for site (#483)
* Prevent choosing a date before site was added in datepicker

Fixes #446

* change date navigation arrows to real buttons and disable them when date is invalid for site

* simplify. ditch LinkButton and just use button. make lint a little happier

* put back dark mode for date nav buttons

* enforce line length limit

* fix a11y lint errors

* correct event/e
2021-01-07 15:24:59 +02:00

19 lines
513 B
JSON

{
"env": {
"browser": true
},
"extends": ["airbnb", "prettier"],
"plugins": ["prettier"],
"rules": {
"max-len": [2, {"code": 100}],
"prettier/prettier": [2],
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/destructuring-assignment": [0],
"react/prop-types": [0],
"max-classes-per-file": [0],
"react/jsx-one-expression-per-line": [0],
"react/self-closing-comp": [0],
"no-unused-expressions": [1, { "allowShortCircuit": true }]
}
}