Skip to content

Commit 67e20fc

Browse files
committed
microsoft-typescript/no-keywords
1 parent 1b798e3 commit 67e20fc

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

.eslintrc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"microsoft-typescript/boolean-trivia": "error",
5959
"microsoft-typescript/no-in-operator": "off",
6060
"microsoft-typescript/debug-assert": "error",
61-
"microsoft-typescript/no-keywords": "off",
61+
"microsoft-typescript/no-keywords": "error",
6262

6363
"arrow-body-style": "off",
6464
"arrow-parens": "off",
@@ -131,6 +131,8 @@
131131
"@typescript-eslint/prefer-function-type": "off",
132132
"@typescript-eslint/unified-signatures": "off",
133133

134+
"microsoft-typescript/no-keywords": "off",
135+
134136
"no-var": "off"
135137
}
136138
}]

scripts/open-user-pr.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
import Octokit = require("@octokit/rest");
44
import {runSequence} from "./run-sequence";
55

6-
function padNum(number: number) {
7-
const str = "" + number;
6+
function padNum(num: number) {
7+
const str = "" + num;
88
return str.length >= 2 ? str : "0" + str;
99
}
1010

0 commit comments

Comments
 (0)