feat(typescript): no-type-alias
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
0b14a22716
commit
dfac7f5138
@ -429,7 +429,7 @@
|
|||||||
- [ ] "no-require-imports"
|
- [ ] "no-require-imports"
|
||||||
- [ ] "no-this-alias"
|
- [ ] "no-this-alias"
|
||||||
- [ ] "no-throw-literal"
|
- [ ] "no-throw-literal"
|
||||||
- [ ] "no-type-alias"
|
- [X] "no-type-alias"
|
||||||
- [ ] "no-unnecessary-boolean-literal-compare"
|
- [ ] "no-unnecessary-boolean-literal-compare"
|
||||||
- [ ] "no-unnecessary-condition"
|
- [ ] "no-unnecessary-condition"
|
||||||
- [ ] "no-unnecessary-qualifier"
|
- [ ] "no-unnecessary-qualifier"
|
||||||
|
@ -103,6 +103,18 @@
|
|||||||
"allowDefinitionFiles": true
|
"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": [
|
"@typescript-eslint/no-untyped-public-signature": [
|
||||||
"error",
|
"error",
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user