From 971f8b536b55672fbe1dd617b55281f06a88301c Mon Sep 17 00:00:00 2001 From: Kevin Lau Date: Thu, 18 Jul 2019 22:33:45 -0700 Subject: [PATCH] Make `import-name` camelCase begin with lowercase `camelCase` currently allows the first letter to be uppercase. `any-case` is either `PascalCase` or `camelCase`, but since `camelCase` allows the first letter to be uppercase, `any-case` and `camelCase` are currently equivalent. Enforce the first letter to be lowercase. --- src/importNameRule.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/importNameRule.ts b/src/importNameRule.ts index 604a02aee..01bb4fc37 100644 --- a/src/importNameRule.ts +++ b/src/importNameRule.ts @@ -233,12 +233,14 @@ function walk(ctx: Lint.WalkContext