This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
export-name does not work with kebab/snake case #814
Labels
Difficulty: Medium
People with non-trivial experience in TSLint should be able to send a pull request for this issue.
Status: Accepting PRs
Type: Rule Feature
Adding a feature to an existing rule.
Milestone
Bug Report
tslint-microsoft-contrib
version: 6.0.0TypeScript code being linted
with
tslint.json
configuration:Actual behavior
The exported module or identifier name must match the file name. Found: my-component.ts and MyComponent tslint(export-name)
Expected behavior
✅ Linter should pass
Additional request
It would also be nice to be able to accept export names where the file name matches the first part.
e.g:
Related to #450
The text was updated successfully, but these errors were encountered: