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