discourse/.eslintrc

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

49 lines
1.0 KiB
Plaintext
Raw Normal View History

2015-08-12 05:34:02 +08:00
{
"extends": "eslint-config-discourse",
"rules": {
"discourse-ember/global-ember": 2,
"eol-last": 2,
"no-restricted-globals": 0
},
"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",
"Ember": "off",
2021-11-13 20:10:13 +08:00
"exists": "off",
"fillIn": "off",
"find": "off",
"getSettledState": "off",
"globalThis": "readonly",
2021-11-13 20:10:13 +08:00
"hasModule": "off",
"invisible": "off",
"jQuery": "off",
2021-11-13 20:10:13 +08:00
"keyboardHelper": "off",
"keyEvent": "off",
"moduleFor": "off",
"moduleForComponent": "off",
2021-11-13 20:10:13 +08:00
"pauseTest": "off",
"Pretender": "off",
"query": "off",
"queryAll": "off",
"QUnit": "off",
"sandbox": "off",
"sinon": "off",
2021-11-13 20:10:13 +08:00
"test": "off",
"testDone": "off",
"testStart": "off",
"triggerEvent": "off",
"visible": "off",
2021-11-13 20:10:13 +08:00
"visit": "off",
"waitUntil": "off"
}
2015-08-12 05:34:02 +08:00
}