2015-08-11 17:34:02 -04:00
|
|
|
{
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
2018-06-29 20:19:35 -04:00
|
|
|
"builtin": true,
|
2018-11-14 17:17:56 -05:00
|
|
|
"es6": true,
|
|
|
|
"jasmine": true,
|
|
|
|
"mocha": true,
|
|
|
|
"node": true,
|
2015-08-11 17:34:02 -04:00
|
|
|
},
|
2017-06-22 16:09:16 -04:00
|
|
|
"parserOptions": {
|
2017-06-22 16:22:42 -04:00
|
|
|
"ecmaVersion": 7,
|
|
|
|
"sourceType": "module"
|
2017-06-22 16:09:16 -04:00
|
|
|
},
|
2018-11-14 17:17:56 -05:00
|
|
|
"globals": {
|
|
|
|
"$": true,
|
|
|
|
"_": true,
|
|
|
|
"andThen": true,
|
|
|
|
"asyncRender": true,
|
|
|
|
"asyncTestDiscourse": true,
|
|
|
|
"Blob": true,
|
|
|
|
"bootbox": true,
|
|
|
|
"click": true,
|
|
|
|
"collapseSelectKit": true,
|
|
|
|
"controllerFor": true,
|
|
|
|
"count": true,
|
|
|
|
"currentPath": true,
|
|
|
|
"currentRouteName": true,
|
|
|
|
"currentURL": true,
|
|
|
|
"define": true,
|
|
|
|
"Discourse": true,
|
|
|
|
"Ember": true,
|
|
|
|
"exists": true,
|
|
|
|
"expandSelectKit": true,
|
|
|
|
"File": true,
|
|
|
|
"fillIn": true,
|
|
|
|
"find": true,
|
|
|
|
"fixture": true,
|
|
|
|
"Handlebars": true,
|
|
|
|
"hasModule": true,
|
|
|
|
"I18n": true,
|
|
|
|
"invisible": true,
|
|
|
|
"jQuery": true,
|
|
|
|
"keyboardHelper": true,
|
|
|
|
"keyEvent": true,
|
|
|
|
"moduleFor": true,
|
|
|
|
"moduleForComponent": true,
|
|
|
|
"moment": true,
|
|
|
|
"Pretender": true,
|
|
|
|
"QUnit": true,
|
|
|
|
"require": true,
|
|
|
|
"requirejs": true,
|
|
|
|
"RSVP": true,
|
|
|
|
"sandbox": true,
|
|
|
|
"selectKit": true,
|
|
|
|
"selectKitFillInFilter": true,
|
|
|
|
"selectKitSelectNoneRow": true,
|
|
|
|
"selectKitSelectRowByIndex": true,
|
|
|
|
"selectKitSelectRowByName": true,
|
|
|
|
"selectKitSelectRowByValue": true,
|
|
|
|
"sinon": true,
|
|
|
|
"test": true,
|
|
|
|
"triggerEvent": true,
|
|
|
|
"visible": true,
|
|
|
|
"visit": true,
|
2019-01-14 13:00:27 -05:00
|
|
|
"pauseTest": true
|
2018-11-14 17:17:56 -05:00
|
|
|
},
|
2015-08-11 17:34:02 -04:00
|
|
|
"rules": {
|
|
|
|
"block-scoped-var": 2,
|
|
|
|
"dot-notation": 0,
|
2018-11-14 17:17:56 -05:00
|
|
|
"eqeqeq": [2, "allow-null"],
|
2015-08-11 17:34:02 -04:00
|
|
|
"guard-for-in": 2,
|
2018-11-14 17:17:56 -05:00
|
|
|
"no-alert": 2,
|
2015-08-11 17:34:02 -04:00
|
|
|
"no-bitwise": 2,
|
|
|
|
"no-caller": 2,
|
|
|
|
"no-cond-assign": 0,
|
2018-11-14 17:17:56 -05:00
|
|
|
"no-console": 2,
|
2015-08-11 17:34:02 -04:00
|
|
|
"no-debugger": 2,
|
|
|
|
"no-empty": 0,
|
|
|
|
"no-eval": 2,
|
|
|
|
"no-extend-native": 2,
|
|
|
|
"no-extra-parens": 0,
|
2016-07-14 10:22:12 -04:00
|
|
|
"no-inner-declarations": 2,
|
2015-08-11 17:34:02 -04:00
|
|
|
"no-irregular-whitespace": 2,
|
|
|
|
"no-iterator": 2,
|
|
|
|
"no-loop-func": 2,
|
2018-11-14 17:17:56 -05:00
|
|
|
"no-mixed-spaces-and-tabs": 2,
|
2015-08-11 17:34:02 -04:00
|
|
|
"no-multi-str": 2,
|
|
|
|
"no-new": 2,
|
|
|
|
"no-plusplus": 0,
|
|
|
|
"no-proto": 2,
|
|
|
|
"no-script-url": 2,
|
|
|
|
"no-sequences": 2,
|
|
|
|
"no-shadow": 2,
|
2018-11-14 17:17:56 -05:00
|
|
|
"no-this-before-super": 2,
|
|
|
|
"no-trailing-spaces": 2,
|
2015-08-11 17:34:02 -04:00
|
|
|
"no-undef": 2,
|
|
|
|
"no-unused-vars": 2,
|
|
|
|
"no-with": 2,
|
2015-09-15 17:08:50 -04:00
|
|
|
"semi": 2,
|
2015-08-11 17:34:02 -04:00
|
|
|
"strict": 0,
|
|
|
|
"valid-typeof": 2,
|
2018-11-14 17:17:56 -05:00
|
|
|
"wrap-iife": [2, "inside"],
|
2015-08-11 17:34:02 -04:00
|
|
|
},
|
|
|
|
"parser": "babel-eslint"
|
|
|
|
}
|