aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rules/typescript/default.json12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/rules/typescript/default.json b/src/rules/typescript/default.json
index 0941e82..9c1081b 100644
--- a/src/rules/typescript/default.json
+++ b/src/rules/typescript/default.json
@@ -103,6 +103,18 @@
"allowDefinitionFiles": true
}
],
+ "@typescript-eslint/no-type-alias": [
+ "error",
+ {
+ "allowAliases": "in-unions-and-intersections",
+ "allowCallbacks": "always",
+ "allowConditionalTypes": "always",
+ "allowConstructors": "never",
+ "allowLiterals": "never",
+ "allowMappedTypes": "never",
+ "allowTupleTypes": "in-unions-and-intersections"
+ }
+ ],
"@typescript-eslint/no-untyped-public-signature": [
"error",
{