Introduce a new Gitlab/FeatureAvailableUsage cop
This new cop will ensure consistency in usage of the
`#feature_available?` method.
Signed-off-by:
Rémy Coutable <remy@rymai.me>
显示
- .haml-lint.yml 1 个添加, 0 个删除.haml-lint.yml
- .rubocop_manual_todo.yml 236 个添加, 0 个删除.rubocop_manual_todo.yml
- app/models/project_feature.rb 1 个添加, 0 个删除app/models/project_feature.rb
- ee/app/models/ee/project_feature.rb 1 个添加, 0 个删除ee/app/models/ee/project_feature.rb
- rubocop/cop/gitlab/feature_available_usage.rb 99 个添加, 0 个删除rubocop/cop/gitlab/feature_available_usage.rb
- spec/rubocop/cop/gitlab/feature_available_usage_spec.rb 96 个添加, 0 个删除spec/rubocop/cop/gitlab/feature_available_usage_spec.rb
加载中
想要评论请 注册 或 登录