You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.
TypeScript says "identifier expected".
Atom console says:
TypeError: Cannot read property 'toLowerCase' of undefined
at Object.isLowerCase (/Users/__PROJECTDIR__/node_modules/tslint/lib/utils.js:64:23)
at isCamelCase (/Users/__PROJECTDIR__/node_modules/tslint/lib/rules/variableNameRule.js:169:46)
at handleVariableNameFormat (/Users/__PROJECTDIR__/node_modules/tslint/lib/rules/variableNameRule.js:129:14)
at cb (/Users/__PROJECTDIR__/node_modules/tslint/lib/rules/variableNameRule.js:111:21)
at visitEachNode (/Users/__PROJECTDIR__/node_modules/typescript/lib/typescript.js:14785:30)
at Object.forEachChild (/Users/__PROJECTDIR__/node_modules/typescript/lib/typescript.js:14861:21)
at cb (/Users/__PROJECTDIR__/node_modules/tslint/lib/rules/variableNameRule.js:119:19)
at visitEachNode (/Users/__PROJECTDIR__/node_modules/typescript/lib/typescript.js:14785:30)
at Object.forEachChild (/Users/__PROJECTDIR__/node_modules/typescript/lib/typescript.js:14959:24)
at walk (/Users/__PROJECTDIR__/node_modules/tslint/lib/rules/variableNameRule.js:86:15)
at Rule.AbstractRule.applyWithFunction (/Users/__PROJECTDIR__/node_modules/tslint/lib/language/rule/abstractRule.js:39:9)
at Rule.apply (/Users/__PROJECTDIR__/node_modules/tslint/lib/rules/variableNameRule.js:39:21)
at Linter.applyRule (/Users/__PROJECTDIR__/node_modules/tslint/lib/linter.js:180:29)
at /Users/__PROJECTDIR__/node_modules/tslint/lib/linter.js:122:85
at Object.flatMap (/Users/__PROJECTDIR__/node_modules/tslint/lib/utils.js:151:29)
at Linter.getAllFailures (/Users/__PROJECTDIR__/node_modules/tslint/lib/linter.js:122:32)
at Linter.lint (/Users/__PROJECTDIR__/node_modules/tslint/lib/linter.js:76:33)
at /Users/__USERDIR__/.atom/packages/linter-tslint/lib/worker.js:219:12
at Generator.next (<anonymous>)
at step (/Users/__USERDIR__/.atom/packages/linter-tslint/lib/worker.js:251:2)
Expected behavior
No error from the linter because the TypeScript syntax is invalid.
The text was updated successfully, but these errors were encountered:
Bug Report
5.7.0
2.3.4
linter-tslint
TypeScript code being linted
with
tslint.json
configuration:Actual behavior
TypeScript says "identifier expected".
Atom console says:
Expected behavior
No error from the linter because the TypeScript syntax is invalid.
The text was updated successfully, but these errors were encountered: