Skip to content
This repository was archived by the owner on Jan 19, 2019. It is now read-only.

Commit d7b7936

Browse files
weirdpatternJamesHenry
authored andcommitted
New: Add rule no-type-literal (#15)
1 parent 9d80d2c commit d7b7936

File tree

4 files changed

+3694
-1
lines changed

4 files changed

+3694
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,5 @@ Then configure the rules you want to use under the rules section.
5656
* `typescript/no-explicit-any` - enforces the any type is not used.
5757
* `typescript/no-angle-bracket-type-assertion` - enforces the use of `as Type` assertions instead of `<Type>` assertions.
5858
* `typescript/no-namespace` - disallows the use of custom TypeScript modules and namespaces.
59-
* `typescript/prefer-namespace-keyword` - enforces the use of the keyword `namespace` over `module` to declare custom TypeScript modules.
59+
* `typescript/prefer-namespace-keyword` - enforces the use of the keyword `namespace` over `module` to declare custom TypeScript modules.
60+
* `typescript/no-type-literal` - disallows the use of type aliases.

0 commit comments

Comments
 (0)