2015-08-11 17:34:02 -04:00
|
|
|
{
|
2020-02-05 11:14:42 -05:00
|
|
|
"extends": "eslint-config-discourse",
|
|
|
|
"rules": {
|
2021-04-12 20:22:00 -04:00
|
|
|
"discourse-ember/global-ember": 2,
|
2022-08-17 06:44:48 -04:00
|
|
|
"eol-last": 2,
|
|
|
|
"no-restricted-globals": 0
|
2020-10-06 12:54:05 -04:00
|
|
|
},
|
|
|
|
"globals": {
|
2021-11-13 07:10:13 -05:00
|
|
|
"_": "off",
|
|
|
|
"acceptance": "off",
|
|
|
|
"asyncRender": "off",
|
|
|
|
"bootbox": "off",
|
|
|
|
"click": "off",
|
|
|
|
"count": "off",
|
|
|
|
"currentPath": "off",
|
|
|
|
"currentRouteName": "off",
|
|
|
|
"currentURL": "off",
|
|
|
|
"currentUser": "off",
|
|
|
|
"Discourse": "off",
|
2022-03-09 11:54:07 -05:00
|
|
|
"Ember": "off",
|
2021-11-13 07:10:13 -05:00
|
|
|
"exists": "off",
|
|
|
|
"fillIn": "off",
|
|
|
|
"find": "off",
|
|
|
|
"getSettledState": "off",
|
2022-06-20 09:25:13 -04:00
|
|
|
"globalThis": "readonly",
|
2021-11-13 07:10:13 -05:00
|
|
|
"hasModule": "off",
|
|
|
|
"invisible": "off",
|
2021-11-12 13:23:20 -05:00
|
|
|
"jQuery": "off",
|
2021-11-13 07:10:13 -05:00
|
|
|
"keyboardHelper": "off",
|
|
|
|
"keyEvent": "off",
|
2020-10-06 12:54:05 -04:00
|
|
|
"moduleFor": "off",
|
|
|
|
"moduleForComponent": "off",
|
2021-11-13 07:10:13 -05:00
|
|
|
"pauseTest": "off",
|
|
|
|
"Pretender": "off",
|
|
|
|
"query": "off",
|
|
|
|
"queryAll": "off",
|
|
|
|
"QUnit": "off",
|
|
|
|
"sandbox": "off",
|
2020-10-14 16:10:38 -04:00
|
|
|
"sinon": "off",
|
2021-11-13 07:10:13 -05:00
|
|
|
"test": "off",
|
|
|
|
"testDone": "off",
|
|
|
|
"testStart": "off",
|
|
|
|
"triggerEvent": "off",
|
2020-10-27 14:54:38 -04:00
|
|
|
"visible": "off",
|
2021-11-13 07:10:13 -05:00
|
|
|
"visit": "off",
|
|
|
|
"waitUntil": "off"
|
2020-02-05 11:14:42 -05:00
|
|
|
}
|
2015-08-11 17:34:02 -04:00
|
|
|
}
|