Skip to content

Commit 6b05b26

Browse files
committed
@typescript-eslint/prefer-namespace-keyword
1 parent a18aeee commit 6b05b26

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.eslintrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"@typescript-eslint/prefer-for-of": "error",
4545
"@typescript-eslint/prefer-function-type": "off",
4646
"@typescript-eslint/prefer-interface": "error",
47-
"@typescript-eslint/prefer-namespace-keyword": "off",
47+
"@typescript-eslint/prefer-namespace-keyword": "error",
4848
"semi": "off",
4949
"@typescript-eslint/semi": "error",
5050
"@typescript-eslint/type-annotation-spacing": "error",

scripts/word2md.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
// as a command line argument and the resulting Markdown is written to standard output. The
88
// tool recognizes the specific Word styles used in the TypeScript Language Specification.
99

10-
module Word {
11-
10+
namespace Word {
1211
export interface Collection<T> {
1312
count: number;
1413
item(index: number): T;

0 commit comments

Comments
 (0)