2015-08-12 05:34:02 +08:00
|
|
|
{
|
|
|
|
"env": {
|
|
|
|
"jasmine": true,
|
|
|
|
"node": true,
|
|
|
|
"mocha": true,
|
|
|
|
"browser": true,
|
|
|
|
"builtin": true
|
|
|
|
},
|
2017-06-23 04:09:16 +08:00
|
|
|
"parserOptions": {
|
2017-06-23 04:22:42 +08:00
|
|
|
"ecmaVersion": 7,
|
|
|
|
"sourceType": "module"
|
2017-06-23 04:09:16 +08:00
|
|
|
},
|
2015-08-12 05:34:02 +08:00
|
|
|
"globals":
|
|
|
|
{"Ember":true,
|
|
|
|
"jQuery":true,
|
|
|
|
"$":true,
|
2017-06-15 01:57:58 +08:00
|
|
|
"QUnit":true,
|
2015-08-12 05:34:02 +08:00
|
|
|
"RSVP":true,
|
|
|
|
"Discourse":true,
|
|
|
|
"Em":true,
|
|
|
|
"Handlebars":true,
|
|
|
|
"I18n":true,
|
|
|
|
"bootbox":true,
|
|
|
|
"moduleFor":true,
|
|
|
|
"moduleForComponent":true,
|
|
|
|
"Pretender":true,
|
|
|
|
"sandbox":true,
|
|
|
|
"controllerFor":true,
|
|
|
|
"test":true,
|
|
|
|
"visit":true,
|
|
|
|
"andThen":true,
|
|
|
|
"click":true,
|
|
|
|
"currentPath":true,
|
|
|
|
"currentRouteName":true,
|
|
|
|
"currentURL":true,
|
|
|
|
"fillIn":true,
|
|
|
|
"keyEvent":true,
|
|
|
|
"triggerEvent":true,
|
|
|
|
"count":true,
|
|
|
|
"exists":true,
|
|
|
|
"visible":true,
|
|
|
|
"invisible":true,
|
|
|
|
"asyncRender":true,
|
|
|
|
"selectDropdown":true,
|
2017-08-30 15:36:45 +08:00
|
|
|
"selectBox":true,
|
2017-09-15 01:50:32 +08:00
|
|
|
"expandSelectBox":true,
|
|
|
|
"collapseSelectBox":true,
|
|
|
|
"selectBoxSelectRow":true,
|
2017-10-20 03:51:08 +08:00
|
|
|
"selectBoxSelectNoneRow":true,
|
2017-09-15 01:50:32 +08:00
|
|
|
"selectBoxFillInFilter":true,
|
2015-08-12 05:34:02 +08:00
|
|
|
"asyncTestDiscourse":true,
|
|
|
|
"fixture":true,
|
|
|
|
"find":true,
|
|
|
|
"sinon":true,
|
|
|
|
"moment":true,
|
|
|
|
"_":true,
|
|
|
|
"alert":true,
|
|
|
|
"define":true,
|
|
|
|
"require":true,
|
|
|
|
"requirejs":true,
|
|
|
|
"hasModule":true,
|
|
|
|
"Blob":true,
|
|
|
|
"File":true},
|
|
|
|
"rules": {
|
|
|
|
"block-scoped-var": 2,
|
|
|
|
"dot-notation": 0,
|
|
|
|
"eqeqeq": [
|
|
|
|
2,
|
|
|
|
"allow-null"
|
|
|
|
],
|
|
|
|
"guard-for-in": 2,
|
|
|
|
"no-bitwise": 2,
|
|
|
|
"no-caller": 2,
|
|
|
|
"no-cond-assign": 0,
|
|
|
|
"no-debugger": 2,
|
|
|
|
"no-empty": 0,
|
|
|
|
"no-eval": 2,
|
|
|
|
"no-extend-native": 2,
|
|
|
|
"no-extra-parens": 0,
|
2016-07-14 22:22:12 +08:00
|
|
|
"no-inner-declarations": 2,
|
2015-08-12 05:34:02 +08:00
|
|
|
"no-irregular-whitespace": 2,
|
|
|
|
"no-iterator": 2,
|
|
|
|
"no-loop-func": 2,
|
|
|
|
"no-multi-str": 2,
|
|
|
|
"no-new": 2,
|
|
|
|
"no-plusplus": 0,
|
|
|
|
"no-proto": 2,
|
|
|
|
"no-script-url": 2,
|
|
|
|
"no-sequences": 2,
|
|
|
|
"no-shadow": 2,
|
|
|
|
"no-undef": 2,
|
|
|
|
"no-unused-vars": 2,
|
|
|
|
"no-with": 2,
|
2016-01-05 04:18:09 +08:00
|
|
|
"no-this-before-super": 2,
|
2015-09-16 05:08:50 +08:00
|
|
|
"semi": 2,
|
2015-08-12 05:34:02 +08:00
|
|
|
"strict": 0,
|
|
|
|
"valid-typeof": 2,
|
|
|
|
"wrap-iife": [
|
|
|
|
2,
|
|
|
|
"inside"
|
2017-08-21 20:42:31 +08:00
|
|
|
],
|
|
|
|
"no-mixed-spaces-and-tabs": 2,
|
|
|
|
"no-trailing-spaces": 2
|
2015-08-12 05:34:02 +08:00
|
|
|
},
|
|
|
|
"parser": "babel-eslint"
|
|
|
|
}
|