We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 93d9f14 + 623bf74 commit 7e6691dCopy full SHA for 7e6691d
spec/project/default_config_spec.rb
@@ -102,18 +102,4 @@ def cop_configuration(config_key)
102
)
103
end
104
105
-
106
- it 'is expected that all cops documented with `@safety` are `Safe: false` ' \
107
- 'or `SafeAutoCorrect: false`' do
108
- unsafe_cop_names.each do |cop_name|
109
- unsafe = default_config[cop_name]['Safe'] == false ||
110
- default_config[cop_name]['SafeAutoCorrect'] == false
111
- expect(unsafe).to(
112
- be(true),
113
- "`#{cop_name}` cop should be set `Safe: false` or " \
114
- '`SafeAutoCorrect: false` because `@safety` YARD tag exists.'
115
- )
116
- YARD::Registry.clear
117
- end
118
119
0 commit comments