Open sweep-ai[bot] opened 1 year ago
[!IMPORTANT]
Auto Review Skipped
Bot user detected.
To trigger a single review, invoke the
@coderabbitai review
command.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
This PR aims to improve the naming conventions used in our custom ESLint rules. The changes are as follows:
noConditionalLiteralsInJsx
todisallowConditionalLiteralsInJsx
inplugin/src/rules/no-conditional-literals-in-jsx.ts
for better clarity.unexpected
toconditionalLiteralInJsx
inplugin/src/rules/no-conditional-literals-in-jsx.ts
for better context.noUselessFragment
todisallowUselessFragment
inplugin/src/rules/no-useless-fragment.ts
for better clarity.plugin/src/utils/createRule.ts
andplugin/src/utils/ASTHelpers.ts
for better descriptiveness.preferTypeOverInterface
toenforceTypeOverInterface
inplugin/src/rules/prefer-type-over-interface.ts
for better clarity.These changes should make the codebase easier to understand and maintain.
Fixes #25.
To checkout this PR branch, run the following command in your terminal: