This rule helps ensure that you adhere to naming conventions that are inclusive, clear, and unambiguous. Instead of using terms like master and slave, which have offensive connotations, use neutral and descriptive terms like primary and secondary. Names you choose should be clear, descriptive, and considerate of the diverse backgrounds of those who might read or work with your code.
Non-Compliant Code Examples
defmaster(slave)end
Compliant Code Examples
defprimary(secondary)end
シームレスな統合。 Datadog Code Security をお試しください
Datadog Code Security
このルールを試し、Datadog Code Security でコードを解析する
このルールの使用方法
1
2
rulesets:- ruby-inclusive # Rules to enforce Ruby inclusive.