forked from nodecg/nodecg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
23 lines (23 loc) · 1.52 KB
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"root": true,
"extends": ["xo", "xo-typescript", "prettier"],
"rules": {
"new-cap": 0,
"valid-jsdoc": 0,
"@typescript-eslint/camelcase": 0,
"@typescript-eslint/restrict-template-expressions": 0,
"@typescript-eslint/restrict-plus-operands": 0,
"@typescript-eslint/prefer-readonly-parameter-types": 0, // TODO: turn this back on
"@typescript-eslint/no-unsafe-member-access": 0, // TODO: figure out why this thinks that non-any types are any
"@typescript-eslint/no-unsafe-call": 0, // TODO: figure out why this thinks that non-any types are any
"@typescript-eslint/no-unsafe-return": 0, // TODO: figure out why this thinks that non-any types are any
"@typescript-eslint/no-unsafe-assignment": 0, // TODO: figure out why this thinks that non-any types are any
"@typescript-eslint/no-redundant-type-constituents": 0, // TODO: figure out why this thinks that non-any types are any
"@typescript-eslint/no-var-requires": 0, // we have legitimate use cases for this
"@typescript-eslint/no-require-imports": 0, // we have legitimate use cases for this
"@typescript-eslint/consistent-type-definitions": 0, // there are legitimate use cases for using "interface" instead of "type"
"@typescript-eslint/naming-convention": 0, // we have legitimate use cases for this and we know what we're doing
"no-undef": 0, // https://typescript-eslint.io/docs/linting/troubleshooting/#i-get-errors-from-the-no-undef-rule-about-global-variables-not-being-defined-even-though-there-are-no-typescript-errors
"capitalized-comments": 0 // pedantic
}
}