id: 1 unit: export async function checkTsconfig() file: src/checks.ts start line: 61 end line: 141 size: 71 LOC McCabe index: 31 number of parameters: 2 id: 2 unit: async function main() file: src/index.ts start line: 14 end line: 82 size: 65 LOC McCabe index: 16 number of parameters: 0 id: 3 unit: function checkTag() file: src/rules/noRedundantJsdoc2Rule.ts start line: 61 end line: 131 size: 58 LOC McCabe index: 30 number of parameters: 1 id: 4 unit: async function runTests() file: src/index.ts start line: 120 end line: 184 size: 53 LOC McCabe index: 16 number of parameters: 4 id: 5 unit: function removeTag() file: src/rules/noRedundantJsdoc2Rule.ts start line: 134 end line: 200 size: 52 LOC McCabe index: 25 number of parameters: 2 id: 6 unit: function walk() file: src/rules/expectRule.ts start line: 141 end line: 227 size: 47 LOC McCabe index: 12 number of parameters: 5 id: 7 unit: export async function checkPackageJson() file: src/checks.ts start line: 9 end line: 55 size: 42 LOC McCabe index: 16 number of parameters: 2 id: 8 unit: function walk() file: src/rules/npmNamingRule.ts start line: 168 end line: 211 size: 42 LOC McCabe index: 15 number of parameters: 1 id: 9 unit: export async function lint() file: src/lint.ts start line: 15 end line: 61 size: 39 LOC McCabe index: 13 number of parameters: 6 id: 10 unit: function main() file: src/updateConfig.ts start line: 23 end line: 59 size: 36 LOC McCabe index: 7 number of parameters: 0 id: 11 unit: function parseAssertions() file: src/rules/expectRule.ts start line: 238 end line: 288 size: 34 LOC McCabe index: 7 number of parameters: 1 id: 12 unit: function matchReadonlyArray() file: src/rules/expectRule.ts start line: 306 end line: 349 size: 34 LOC McCabe index: 13 number of parameters: 2 id: 13 unit: function testDependencies() file: src/lint.ts start line: 63 end line: 103 size: 32 LOC McCabe index: 8 number of parameters: 4 id: 14 unit: export function addSuggestion() file: src/suggestions.ts start line: 22 end line: 51 size: 29 LOC McCabe index: 8 number of parameters: 4 id: 15 unit: export function disabler() file: src/rules/npmNamingRule.ts start line: 278 end line: 308 size: 28 LOC McCabe index: 9 number of parameters: 1 id: 16 unit: function getExpectTypeFailures() file: src/rules/expectRule.ts start line: 351 end line: 385 size: 27 LOC McCabe index: 6 number of parameters: 4 id: 17 unit: function walk() file: src/rules/noPaddingRule.ts start line: 27 end line: 85 size: 27 LOC McCabe index: 12 number of parameters: 1 id: 18 unit: function getSoleUse() file: src/rules/noUnnecessaryGenericsRule.ts start line: 69 end line: 111 size: 27 LOC McCabe index: 10 number of parameters: 3 id: 19 unit: function parseOptions() file: src/rules/npmNamingRule.ts start line: 111 end line: 141 size: 26 LOC McCabe index: 10 number of parameters: 1 id: 20 unit: async function getLintConfig() file: src/lint.ts start line: 180 end line: 206 size: 25 LOC McCabe index: 6 number of parameters: 5 id: 21 unit: function isJustNamespace() file: src/rules/exportJustNamespaceRule.ts start line: 48 end line: 80 size: 25 LOC McCabe index: 11 number of parameters: 2 id: 22 unit: function walk() file: src/rules/dtHeaderRule.ts start line: 21 end line: 45 size: 23 LOC McCabe index: 4 number of parameters: 1 id: 23 unit: function walk() file: src/rules/noRedundantJsdoc2Rule.ts start line: 37 end line: 132 size: 23 LOC McCabe index: 7 number of parameters: 1 id: 24 unit: function walk() file: src/rules/noSingleDeclareModuleRule.ts start line: 26 end line: 54 size: 22 LOC McCabe index: 8 number of parameters: 1 id: 25 unit: function checkInExternalModule() file: src/rules/strictExportDeclareModifiersRule.ts start line: 41 end line: 65 size: 22 LOC McCabe index: 10 number of parameters: 2 id: 26 unit: function checkSignature() file: src/rules/noUnnecessaryGenericsRule.ts start line: 42 end line: 63 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 27 unit: function mergeConfigRules() file: src/updateConfig.ts start line: 114 end line: 134 size: 21 LOC McCabe index: 5 number of parameters: 3 id: 28 unit: function disableRules() file: src/updateConfig.ts start line: 223 end line: 245 size: 21 LOC McCabe index: 5 number of parameters: 1 id: 29 unit: function blankLineInBetween() file: src/rules/noPaddingRule.ts start line: 62 end line: 84 size: 20 LOC McCabe index: 8 number of parameters: 2 id: 30 unit: function range() file: src/lint.ts start line: 208 end line: 227 size: 19 LOC McCabe index: 4 number of parameters: 2 id: 31 unit: function testNoTslintDisables() file: src/lint.ts start line: 135 end line: 153 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 32 unit: export async function checkTslintJson() file: src/lint.ts start line: 155 end line: 174 size: 18 LOC McCabe index: 8 number of parameters: 2 id: 33 unit: function walk() file: src/rules/noImportDefaultOfExportEqualsRule.ts start line: 27 end line: 44 size: 18 LOC McCabe index: 9 number of parameters: 2 id: 34 unit: function walk() file: src/rules/strictExportDeclareModifiersRule.ts start line: 21 end line: 118 size: 18 LOC McCabe index: 10 number of parameters: 1 id: 35 unit: async function testTypesVersion() file: src/index.ts start line: 202 end line: 220 size: 17 LOC McCabe index: 2 number of parameters: 8 id: 36 unit: function walk() file: src/rules/noDeadReferenceRule.ts start line: 26 end line: 50 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 37 unit: export function eachModuleStatement() file: src/util.ts start line: 29 end line: 46 size: 17 LOC McCabe index: 6 number of parameters: 2 id: 38 unit: function walk() file: src/rules/noRelativeImportInTestRule.ts start line: 29 end line: 46 size: 16 LOC McCabe index: 8 number of parameters: 2 id: 39 unit: function dtPackageName() file: src/suggestions.ts start line: 55 end line: 71 size: 16 LOC McCabe index: 5 number of parameters: 1 id: 40 unit: function walk() file: src/updateConfig.ts start line: 186 end line: 201 size: 16 LOC McCabe index: 6 number of parameters: 2 id: 41 unit: function walk() file: src/rules/exportJustNamespaceRule.ts start line: 26 end line: 41 size: 15 LOC McCabe index: 5 number of parameters: 1 id: 42 unit: function removeTypeExpression() file: src/rules/noRedundantJsdoc2Rule.ts start line: 202 end line: 217 size: 15 LOC McCabe index: 4 number of parameters: 2 id: 43 unit: function parseEnabledErrors() file: src/rules/npmNamingRule.ts start line: 143 end line: 157 size: 15 LOC McCabe index: 7 number of parameters: 1 id: 44 unit: function tslintDisableOption() file: src/rules/npmNamingRule.ts start line: 245 end line: 259 size: 15 LOC McCabe index: 10 number of parameters: 1 id: 45 unit: function walk() file: src/rules/redundantUndefinedRule.ts start line: 21 end line: 35 size: 15 LOC McCabe index: 5 number of parameters: 1 id: 46 unit: function updatePackage() file: src/updateConfig.ts start line: 85 end line: 101 size: 15 LOC McCabe index: 3 number of parameters: 2 id: 47 unit: function walk() file: src/rules/noDeclareCurrentPackageRule.ts start line: 26 end line: 39 size: 14 LOC McCabe index: 7 number of parameters: 2 id: 48 unit: function checkModule() file: src/rules/strictExportDeclareModifiersRule.ts start line: 86 end line: 100 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 49 unit: function checkBlock() file: src/rules/strictExportDeclareModifiersRule.ts start line: 102 end line: 117 size: 14 LOC McCabe index: 6 number of parameters: 2 id: 50 unit: function isSignatureDeclaration() file: src/rules/voidReturnRule.ts start line: 57 end line: 70 size: 14 LOC McCabe index: 8 number of parameters: 1 id: 51 unit: function listen() file: src/index.ts start line: 104 end line: 118 size: 13 LOC McCabe index: 2 number of parameters: 3 id: 52 unit: export function getProgram() file: src/rules/expectRule.ts start line: 112 end line: 125 size: 13 LOC McCabe index: 3 number of parameters: 4 id: 53 unit: function createProgram() file: src/rules/expectRule.ts start line: 127 end line: 139 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 54 unit: function recur() file: src/rules/noUnnecessaryGenericsRule.ts start line: 98 end line: 110 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 55 unit: function dtConfig() file: src/updateConfig.ts start line: 63 end line: 76 size: 13 LOC McCabe index: 6 number of parameters: 1 id: 56 unit: export function isMainFile() file: src/util.ts start line: 90 end line: 109 size: 13 LOC McCabe index: 5 number of parameters: 2 id: 57 unit: function getNodeForExpectType() file: src/rules/expectRule.ts start line: 387 end line: 398 size: 12 LOC McCabe index: 4 number of parameters: 2 id: 58 unit: function walk() file: src/rules/noBadReferenceRule.ts start line: 28 end line: 39 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 59 unit: function mayContainVoid() file: src/rules/voidReturnRule.ts start line: 36 end line: 47 size: 12 LOC McCabe index: 6 number of parameters: 1 id: 60 unit: export function getCommonDirectoryName() file: src/util.ts start line: 16 end line: 27 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 61 unit: function usage() file: src/index.ts start line: 92 end line: 102 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 62 unit: function getMinimumTypeScriptVersionFromComment() file: src/index.ts start line: 248 end line: 259 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 63 unit: function getIntro() file: src/rules/expectRule.ts start line: 207 end line: 217 size: 11 LOC McCabe index: 3 number of parameters: 0 id: 64 unit: function walk() file: src/rules/noSingleElementTupleTypeRule.ts start line: 21 end line: 31 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 65 unit: function filterErrors() file: src/rules/npmNamingRule.ts start line: 227 end line: 237 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 66 unit: function errorMessage() file: src/rules/npmNamingRule.ts start line: 261 end line: 273 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 67 unit: function walk() file: src/rules/preferDeclareFunctionRule.ts start line: 25 end line: 35 size: 11 LOC McCabe index: 5 number of parameters: 1 id: 68 unit: function hasExportDeclarations() file: src/rules/strictExportDeclareModifiersRule.ts start line: 144 end line: 154 size: 11 LOC McCabe index: 8 number of parameters: 1 id: 69 unit: export async function mapDefinedAsync() file: src/util.ts start line: 78 end line: 88 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 70 unit: function assertPathIsInDefinitelyTyped() file: src/index.ts start line: 222 end line: 235 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 71 unit: function walk() file: src/rules/trimFileRule.ts start line: 26 end line: 36 size: 10 LOC McCabe index: 6 number of parameters: 1 id: 72 unit: function installDependencies() file: src/updateConfig.ts start line: 103 end line: 112 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 73 unit: function deepEquals() file: src/checks.ts start line: 143 end line: 151 size: 9 LOC McCabe index: 4 number of parameters: 2 id: 74 unit: function assertPathIsNotBanned() file: src/index.ts start line: 237 end line: 246 size: 9 LOC McCabe index: 5 number of parameters: 1 id: 75 unit: function addDiagnosticFailure() file: src/rules/expectRule.ts start line: 197 end line: 205 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 76 unit: function walk() file: src/rules/noUnnecessaryGenericsRule.ts start line: 33 end line: 64 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 77 unit: function checkInOther() file: src/rules/strictExportDeclareModifiersRule.ts start line: 67 end line: 76 size: 9 LOC McCabe index: 6 number of parameters: 2 id: 78 unit: function walk() file: src/rules/voidReturnRule.ts start line: 26 end line: 34 size: 9 LOC McCabe index: 4 number of parameters: 1 id: 79 unit: function addFailureAtLine() file: src/rules/expectRule.ts start line: 219 end line: 226 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 80 unit: function isFirstOnLine() file: src/rules/expectRule.ts start line: 290 end line: 297 size: 8 LOC McCabe index: 3 number of parameters: 3 id: 81 unit: function walk() file: src/rules/noAnyUnionRule.ts start line: 25 end line: 32 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 82 unit: function walk() file: src/rules/noConstEnumRule.ts start line: 25 end line: 32 size: 8 LOC McCabe index: 4 number of parameters: 1 id: 83 unit: function toCriticOptions() file: src/rules/npmNamingRule.ts start line: 159 end line: 166 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 84 unit: function toOptionsWithSuggestions() file: src/rules/npmNamingRule.ts start line: 218 end line: 225 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 85 unit: async function installTypeScriptAsNeeded() file: src/index.ts start line: 84 end line: 90 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 86 unit: function walk() file: src/rules/noSelfImportRule.ts start line: 30 end line: 36 size: 7 LOC McCabe index: 4 number of parameters: 2 id: 87 unit: function isReturnType() file: src/rules/voidReturnRule.ts start line: 49 end line: 55 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 88 unit: function walkPackageDir() file: src/updateConfig.ts start line: 183 end line: 207 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 89 unit: export function getModuleDeclarationStatements() file: src/util.ts start line: 48 end line: 54 size: 7 LOC McCabe index: 5 number of parameters: 1 id: 90 unit: export async function getCompilerOptions() file: src/util.ts start line: 56 end line: 62 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 91 unit: function maxVersion() file: src/index.ts start line: 188 end line: 193 size: 6 LOC McCabe index: 4 number of parameters: 2 id: 92 unit: function next() file: src/index.ts start line: 195 end line: 200 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 93 unit: function isTypesVersionPath() file: src/lint.ts start line: 116 end line: 121 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 94 unit: function getLine() file: src/rules/expectRule.ts start line: 279 end line: 287 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 95 unit: function assertDefined() file: src/rules/noUnnecessaryGenericsRule.ts start line: 113 end line: 118 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 96 unit: function updateAll() file: src/updateConfig.ts start line: 78 end line: 83 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 97 unit: function normalizePath() file: src/lint.ts start line: 109 end line: 114 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 98 unit: function startsWithDirectory() file: src/lint.ts start line: 123 end line: 127 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 99 unit: function testNoTsIgnore() file: src/lint.ts start line: 130 end line: 134 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 100 unit: static FAILURE_STRING() file: src/rules/noImportDefaultOfExportEqualsRule.ts start line: 16 end line: 20 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 101 unit: function getStatements() file: src/rules/noImportDefaultOfExportEqualsRule.ts start line: 46 end line: 50 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 102 unit: static FAILURE_STRING() file: src/rules/noPaddingRule.ts start line: 16 end line: 20 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 103 unit: function isInAmbientContext() file: src/rules/noRedundantJsdoc2Rule.ts start line: 220 end line: 224 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 104 unit: static FAILURE_STRING() file: src/rules/noUnnecessaryGenericsRule.ts start line: 16 end line: 20 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 105 unit: static FAILURE_STRING_NEVER() file: src/rules/noUnnecessaryGenericsRule.ts start line: 22 end line: 26 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 106 unit: function isSuggestion() file: src/rules/npmNamingRule.ts start line: 239 end line: 243 size: 5 LOC McCabe index: 3 number of parameters: 2 id: 107 unit: function isDeclareGlobalOrExternalModuleDeclaration() file: src/rules/strictExportDeclareModifiersRule.ts start line: 120 end line: 124 size: 5 LOC McCabe index: 4 number of parameters: 1 id: 108 unit: function isOptionalParameter() file: src/rules/redundantUndefinedRule.ts start line: 37 end line: 40 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 109 unit: export async function readJson() file: src/util.ts start line: 7 end line: 10 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 110 unit: export function last() file: src/util.ts start line: 68 end line: 71 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 111 unit: export function assertDefined() file: src/util.ts start line: 73 end line: 76 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 112 unit: export function isExternalDependency() file: src/lint.ts start line: 105 end line: 107 size: 3 LOC McCabe index: 2 number of parameters: 3 id: 113 unit: function getConfigPath() file: src/lint.ts start line: 176 end line: 178 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 114 unit: static FAILURE_STRING() file: src/rules/expectRule.ts start line: 33 end line: 35 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 115 unit: function lineOfPosition() file: src/rules/expectRule.ts start line: 400 end line: 402 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 116 unit: function isExportEquals() file: src/rules/exportJustNamespaceRule.ts start line: 43 end line: 45 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 117 unit: function nameMatches() file: src/rules/exportJustNamespaceRule.ts start line: 77 end line: 79 size: 3 LOC McCabe index: 3 number of parameters: 1 id: 118 unit: function fail() file: src/rules/noPaddingRule.ts start line: 30 end line: 32 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 119 unit: static FAILURE_STRING_REDUNDANT_TAG() file: src/rules/noRedundantJsdoc2Rule.ts start line: 25 end line: 27 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 120 unit: static FAILURE_STRING_NO_COMMENT() file: src/rules/noRedundantJsdoc2Rule.ts start line: 28 end line: 30 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 121 unit: function assertNever() file: src/rules/noUnnecessaryGenericsRule.ts start line: 119 end line: 121 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 122 unit: function fail() file: src/rules/strictExportDeclareModifiersRule.ts start line: 78 end line: 80 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 123 unit: function mod() file: src/rules/strictExportDeclareModifiersRule.ts start line: 82 end line: 84 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 124 unit: function isModuleDeclaration() file: src/rules/strictExportDeclareModifiersRule.ts start line: 126 end line: 128 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 125 unit: function isDeclare() file: src/rules/strictExportDeclareModifiersRule.ts start line: 130 end line: 132 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 126 unit: function isExport() file: src/rules/strictExportDeclareModifiersRule.ts start line: 134 end line: 136 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 127 unit: function isDefault() file: src/rules/strictExportDeclareModifiersRule.ts start line: 138 end line: 140 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 128 unit: function isAutomaticExport() file: src/rules/strictExportDeclareModifiersRule.ts start line: 156 end line: 163 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 129 unit: function formatSuggestion() file: src/suggestions.ts start line: 73 end line: 75 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 130 unit: constructor() file: src/updateConfig.ts start line: 145 end line: 147 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 131 unit: function ignoreFile() file: src/updateConfig.ts start line: 179 end line: 181 size: 3 LOC McCabe index: 2 number of parameters: 3 id: 132 unit: function isVersionDir() file: src/updateConfig.ts start line: 213 end line: 215 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 133 unit: export function failure() file: src/util.ts start line: 12 end line: 14 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 134 unit: export function withoutPrefix() file: src/util.ts start line: 64 end line: 66 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 135 unit: await checkTsconfig() file: src/index.ts start line: 213 end line: 214 size: 2 LOC McCabe index: 4 number of parameters: 2