mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-13 11:23:50 +00:00
48093b8651
* ux/54-help tooltips * ux/54-help refetch after mutation * ux/54-help broadcast event index * ux/54-help prevent multiple keypresses when key held * ux/54-help fat clock * ux/54-help progress bar user defined * ux/54-help onAir is button * ux/54-help OSC: add missing presenter message * ux/54-help OSC: enable / disable OSC * ux/54-help handle timezone in excel date import * ux/54-help tray left click to show app * ux/54-help create queriable endpoint * ux/54-help fix memoisation in lower thirds * ux/54-help revise icons * ux/54-help clarify text * ux/54-help forgiving text parsing * ux/54-help add smart keywords * ux/54-help version bump
34 lines
702 B
Plaintext
34 lines
702 B
Plaintext
{
|
|
"parserOptions": {
|
|
"ecmaVersion": 2020
|
|
},
|
|
"env": {
|
|
"es6": true,
|
|
"jest": true
|
|
},
|
|
"extends": [
|
|
"eslint:recommended"
|
|
],
|
|
"rules": {
|
|
// disallow certain object properties
|
|
// https://eslint.org/docs/rules/no-restricted-properties
|
|
"no-restricted-properties": [
|
|
"error",
|
|
{
|
|
"object": "global",
|
|
"property": "isNaN",
|
|
"message": "Please use Number.isNaN instead"
|
|
},
|
|
{
|
|
"object": "self",
|
|
"property": "isNaN",
|
|
"message": "Please use Number.isNaN instead"
|
|
},
|
|
{
|
|
"object": "window",
|
|
"property": "isNaN",
|
|
"message": "Please use Number.isNaN instead"
|
|
}
|
|
]
|
|
}
|
|
} |