BetterDiscordApp-v1/.eslintrc

47 lines
1.3 KiB
Plaintext
Raw Normal View History

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,
"bdplugins": false,
"bdthemes": false,
"betterDiscordIPC": false,
"bdVersion": false,
"version": false,
"_bdhash": true,
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",
"name": "off"
2018-08-19 23:15:23 +02:00
}
}