This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
export-name: export declarations are not flagged #444
Labels
Difficulty: Medium
People with non-trivial experience in TSLint should be able to send a pull request for this issue.
Resolution: Fixed
Hooray!
Type: Breaking Change
Type: Bug
Milestone
Suppose I have a file named
passLint.ts
:The
export-name
rule will rightly complain that the export name does not match.Suppose that, instead, I write the export on a different line from the function declaration:
export-name
fails to fire on this, even though it results in identical javascript output:All source code for a minimal example:
The text was updated successfully, but these errors were encountered: