We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Metrics/AbcSize
修正
個人的にたった条件式1~2行追加で怒られて(特にFeatureToggle仕込む時) リファクタリングしないといけないことになってしまうケースが何回かあった。
# rubocop: disable Metrics/AbcSize
IDEを使っていなくてrubocopを手動で回している場合、実装終えてからAbcSizeを指摘されると 書いたコードを全体的に見直さないといけなくなり修正に負担がかかってしまう。 その修正を諦めてMetrics/AbcSizeをdisableしてしまうのも多々ある。 なるべくdisableするのを減らしたいし。
ちょうどrubocop本体もMetrics/AbcSizeを17にするPRがmasterブランチにマージされた。 rubocop/rubocop#8037
rubocop
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
s/FeatureToggle/FeatureToggles/
Successfully merging a pull request may close this issue.
対象規約
Metrics/AbcSize
種類
修正
理由
制限が厳しい
個人的にたった条件式1~2行追加で怒られて(特にFeatureToggle仕込む時)
リファクタリングしないといけないことになってしまうケースが何回かあった。
# rubocop: disable Metrics/AbcSize
が多いIDEを使っていなくてrubocopを手動で回している場合、実装終えてからAbcSizeを指摘されると
書いたコードを全体的に見直さないといけなくなり修正に負担がかかってしまう。
その修正を諦めて
Metrics/AbcSize
をdisableしてしまうのも多々ある。なるべくdisableするのを減らしたいし。
備考
ちょうど
rubocop
本体もMetrics/AbcSizeを17にするPRがmasterブランチにマージされた。rubocop/rubocop#8037
The text was updated successfully, but these errors were encountered: