Skip to content

Commit

Permalink
naming-convention: Fix naming-convention rule for import to handle lo…
Browse files Browse the repository at this point in the history
…dash case
  • Loading branch information
BenjD90 committed Oct 24, 2023
1 parent c7042ab commit 42041da
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .eslintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,10 @@ rules:
- selector: typeLike # class, enum, interface, typeAlias, typeParameter
format: ['PascalCase']
- selector: import
format: ['PascalCase']
format: null
custom:
match: true
regex: ^_|(A-Z[a-z]+)+|[a-z]+$
sort-imports:
- off # disable eslint default sort import rule because it is on import name and not on import files
simple-import-sort/imports:
Expand Down

0 comments on commit 42041da

Please sign in to comment.