2018-08-19 23:15:23 +02:00
|
|
|
{
|
|
|
|
"extends": "eslint:recommended",
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"node": true,
|
|
|
|
"jquery": true
|
|
|
|
},
|
|
|
|
"parserOptions": {
|
2019-01-04 01:49:09 +01:00
|
|
|
"ecmaVersion": 8,
|
|
|
|
"sourceType": "module"
|
2018-08-19 23:15:23 +02:00
|
|
|
},
|
|
|
|
"rules": {
|
|
|
|
"semi": 2,
|
|
|
|
"space-infix-ops": ["error", {"int32Hint": false}],
|
|
|
|
"quotes": ["error", "double", {"allowTemplateLiterals": true}],
|
|
|
|
"no-console": 0,
|
|
|
|
"brace-style": ["error", "stroustrup", {"allowSingleLine": true}],
|
|
|
|
"keyword-spacing": 2,
|
|
|
|
"no-else-return": 2,
|
|
|
|
"curly": ["error", "multi-line", "consistent"],
|
|
|
|
"dot-notation": 2,
|
|
|
|
"yoda": 2,
|
2018-08-28 01:38:49 +02:00
|
|
|
"linebreak-style": ["error", "windows"],
|
2018-08-19 23:15:23 +02:00
|
|
|
"quote-props": ["error", "consistent-as-needed", {"keywords": true}],
|
2020-02-27 03:43:16 +01:00
|
|
|
"object-curly-spacing": ["error", "never", { "objectsInObjects": false }],
|
|
|
|
"no-var": "error",
|
|
|
|
"prefer-const": "error"
|
2018-08-19 23:15:23 +02:00
|
|
|
},
|
|
|
|
"globals": {
|
|
|
|
"webpackJsonp": false,
|
|
|
|
"Proxy": false,
|
|
|
|
"Set": false,
|
|
|
|
"WeakMap": false,
|
|
|
|
"Promise": false,
|
2018-10-19 05:59:27 +02:00
|
|
|
"ace": false,
|
2019-01-04 01:49:09 +01:00
|
|
|
"Reflect": false,
|
2019-06-19 04:28:48 +02:00
|
|
|
"DiscordNative": false,
|
|
|
|
"self": "off",
|
2020-02-27 08:01:51 +01:00
|
|
|
"name": "off",
|
|
|
|
"__non_webpack_require__": false
|
2018-08-19 23:15:23 +02:00
|
|
|
}
|
|
|
|
}
|