mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-04-17 01:49:41 -05:00
microsoft-typescript/no-keywords
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
"microsoft-typescript/boolean-trivia": "error",
|
||||
"microsoft-typescript/no-in-operator": "off",
|
||||
"microsoft-typescript/debug-assert": "error",
|
||||
"microsoft-typescript/no-keywords": "off",
|
||||
"microsoft-typescript/no-keywords": "error",
|
||||
|
||||
"arrow-body-style": "off",
|
||||
"arrow-parens": "off",
|
||||
@@ -131,6 +131,8 @@
|
||||
"@typescript-eslint/prefer-function-type": "off",
|
||||
"@typescript-eslint/unified-signatures": "off",
|
||||
|
||||
"microsoft-typescript/no-keywords": "off",
|
||||
|
||||
"no-var": "off"
|
||||
}
|
||||
}]
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
import Octokit = require("@octokit/rest");
|
||||
import {runSequence} from "./run-sequence";
|
||||
|
||||
function padNum(number: number) {
|
||||
const str = "" + number;
|
||||
function padNum(num: number) {
|
||||
const str = "" + num;
|
||||
return str.length >= 2 ? str : "0" + str;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user