forked from oldschoolgg/oldschoolbot
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.json
30 lines (30 loc) · 1008 Bytes
/
.eslintrc.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
"parser": "@typescript-eslint/parser",
"extends": ["bamboo", "prettier/@typescript-eslint", "plugin:prettier/recommended"],
"rules": {
"no-mixed-operators": "off",
"consistent-return": "off",
"array-callback-return": "off",
"id-length": "off",
"complexity": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/explicit-member-accessibility": "off",
"@typescript-eslint/prefer-for-of": "off",
"@typescript-eslint/no-floating-promises": "off",
"@typescript-eslint/require-await": "off",
"radix": "off",
"no-throw-literal": "off",
"no-negated-condition": "off",
"padding-line-between-statements": [
"error",
{ "blankLine": "always", "prev": "import", "next": "const" },
{ "blankLine": "always", "prev": "import", "next": "export" },
{ "blankLine": "always", "prev": "const", "next": "export" }
]
},
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 2018
}
}