2 "extends": "standard-with-typescript",
9 "no-lone-blocks": "off",
10 "no-mixed-operators": "off",
17 "array-bracket-spacing": [
23 "consistent-as-needed"
25 "padded-blocks": "off",
26 "prefer-regex-literals": "off",
27 "no-async-promise-executor": "off",
28 "dot-notation": "off",
29 "promise/param-names": "off",
30 "import/first": "off",
31 "operator-linebreak": [
42 "@typescript-eslint/indent": [
47 "MemberExpression": "off",
48 // https://github.com/eslint/eslint/issues/15299
49 "ignoredNodes": ["PropertyDefinition"]
52 "@typescript-eslint/consistent-type-assertions": [
55 "assertionStyle": "as"
58 "@typescript-eslint/array-type": [
64 "@typescript-eslint/restrict-template-expressions": [
70 "@typescript-eslint/no-this-alias": [
73 "allowDestructuring": true, // Allow `const { props, state } = this`; false by default
74 "allowedNames": ["self"] // Allow `const self = this`; `[]` by default
78 "@typescript-eslint/return-await": "off",
79 "@typescript-eslint/dot-notation": "off",
80 "@typescript-eslint/method-signature-style": "off",
81 "@typescript-eslint/no-base-to-string": "off",
82 "@typescript-eslint/quotes": [
87 "allowTemplateLiterals": true
90 "@typescript-eslint/no-var-requires": "off",
91 "@typescript-eslint/explicit-function-return-type": "off",
92 "@typescript-eslint/promise-function-async": "off",
93 "@typescript-eslint/no-dynamic-delete": "off",
94 "@typescript-eslint/no-unnecessary-boolean-literal-compare": "off",
95 "@typescript-eslint/strict-boolean-expressions": "off",
96 "@typescript-eslint/consistent-type-definitions": "off",
97 "@typescript-eslint/no-misused-promises": "off",
98 "@typescript-eslint/no-namespace": "off",
99 "@typescript-eslint/no-empty-interface": "off",
100 "@typescript-eslint/no-extraneous-class": "off",
101 "@typescript-eslint/no-use-before-define": "off",
103 "require-await": "off",
104 "@typescript-eslint/require-await": "error",
107 "@typescript-eslint/restrict-plus-operands": "off",
109 // Requires strictNullChecks
110 "@typescript-eslint/prefer-nullish-coalescing": "off",
111 "@typescript-eslint/consistent-type-imports": "off",
112 "@typescript-eslint/consistent-indexed-object-style": "off",
113 "@typescript-eslint/no-confusing-void-expression": "off",
114 "@typescript-eslint/consistent-type-exports": "off",
115 "@typescript-eslint/key-spacing": "off",
117 "@typescript-eslint/ban-types": [
124 "extendDefaults": true
130 "server/tests/fixtures"
133 "EXPERIMENTAL_useSourceOfProjectReferenceRedirect": true,
136 "./shared/tsconfig.json",
137 "./scripts/tsconfig.json",
138 "./server/tsconfig.json",
139 "./server/tools/tsconfig.json",
140 "./packages/peertube-runner/tsconfig.json"