This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
Add case sensitivity to 'import-name' rule #830
Labels
Status: In Discussion
Please continue discussing the proposed change before sending a pull request.
Type: Rule Feature
Adding a feature to an existing rule.
Milestone
Rule improvement suggestion
This rule improvement is specific for my development style, but it would not affect general style.
Why
Let's say, there is a rule for file naming using
dots.case
and a rule to useexport default
only forconstructor
s. So importing variable should be named inPascalCase
. Currentimport-name
rule would not allow this.Suggestion
I suggest adding an option to set the preferred string case with
camelCase
by default.Use case
The text was updated successfully, but these errors were encountered: