mirror of
https://github.com/plausible/analytics.git
synced 2024-12-21 08:31:29 +03:00
27b60894bb
* 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
19 lines
513 B
JSON
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 }]
|
|
}
|
|
}
|