BetterDiscordApp-rauenzi/.eslintrc

45 lines
1.3 KiB
Plaintext
Raw Normal View History

2019-05-28 20:19:48 +02:00
{
2019-05-30 07:06:17 +02:00
"extends": ["eslint:recommended", "plugin:react/recommended"],
2019-05-28 20:19:48 +02:00
"env": {
"browser": true,
"node": true,
"jquery": true
},
"parserOptions": {
"ecmaVersion": 8,
2019-05-30 07:06:17 +02:00
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
2019-05-28 20:19:48 +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,
"linebreak-style": ["error", "windows"],
"quote-props": ["error", "consistent-as-needed", {"keywords": true}],
2019-05-29 05:48:41 +02:00
"object-curly-spacing": ["error", "never", { "objectsInObjects": false }],
"no-var": "error",
2019-05-30 07:06:17 +02:00
"prefer-const": "error",
"react/jsx-uses-react": "error",
"react/jsx-uses-vars": "error"
2019-05-28 20:19:48 +02:00
},
"globals": {
"webpackJsonp": false,
"Proxy": false,
"Set": false,
"WeakMap": false,
"Promise": false,
"ace": false,
"Reflect": false,
2019-05-28 23:27:25 +02:00
"DiscordNative": false,
"__non_webpack_require__": false
2019-05-28 20:19:48 +02:00
}
}