Duplicate rules for filename linting
rachid-block opened this issue · comments
Rachid Lamouri commented
Description
eslint-plugin-square
is using the recommended ruleset for eslint-plugin-unicorn
which includes unicorn/filename-case, which performs the same check as filenames/match-regex (configured here).
This was discovered when fixing the React config to use pascal case. I had to override two rules for filename linting.
Suggested Solution
eslint-plugin-unicorn
has more users and is more actively maintained, so eslint-plugin-square
can remove filenames/match-regex
in favor of unicorn/filename-case
.