Closed
Description
- OS
OS X 10.11.6 (El Capitan), but it is platform-independent - Versions.
From master after issue chore(lint): lint ts as well as js #1823 was committed - Repro steps.
If "no-shadowed-variable": true is added to tsconfig.json's rules.
Runnpm run tslint
- The log given by the failure.
addon/ng2/utilities/get-dependent-files.ts[50, 13]: Shadowed variable: 'node'
addon/ng2/utilities/get-dependent-files.ts[51, 11]: Shadowed variable: 'node'
packages/ast-tools/src/node.ts[24, 43]: Shadowed variable: 'node'
packages/ast-tools/src/route-utils.spec.ts[465, 13]: Shadowed variable: 'editedFile'
packages/ast-tools/src/route-utils.spec.ts[497, 13]: Shadowed variable: 'editedFile'
- Mention any other details that might be useful.
IMHO, shadowed variables are an invitation for subtle bugs to come see us and remain invisible.
I vote for non-shadowed variable to be true rather than false.
Metadata
Metadata
Assignees
Labels
No labels