Closed remi closed 5 years ago
This pull request adds support for two things related to terms matching in the AvoidSpecificTermsInModuleNames check:
AvoidSpecificTermsInModuleNames
A “term to avoid” can now be a regular expression, so instead of having this:
terms: ["Helper", "Helpers"]
You can now simple use:
terms: [~r/^Helpers?$/]
This pull request adds support for two things related to terms matching in the
AvoidSpecificTermsInModuleNames
check:A “term to avoid” can now be a regular expression, so instead of having this:
You can now simple use: