Fix rubocop CI taking forever #18
linters.yml
on: pull_request
runner / pylint
7s
runner / black
14s
runner / markdownlint
17s
runner / rubocop
11s
Annotations
1 error and 3 warnings
runner / rubocop
Process completed with exit code 1.
|
runner / rubocop:
spec/accessibility_spec.rb#L4
[rubocop] reported by reviewdog 🐶
Beware of using `before :all` as it may cause state to leak between tests. If you are using `rspec-rails`, and `use_transactional_fixtures` is enabled, then records created in `before :all` are not automatically rolled back.
Raw Output:
spec/accessibility_spec.rb:4:3: C: RSpec/BeforeAfterAll: Beware of using `before :all` as it may cause state to leak between tests. If you are using `rspec-rails`, and `use_transactional_fixtures` is enabled, then records created in `before :all` are not automatically rolled back.
|
runner / rubocop:
spec/accessibility_spec.rb#L12
[rubocop] reported by reviewdog 🐶
Avoid instance variables - use let, a method call, or a local variable (if possible).
Raw Output:
spec/accessibility_spec.rb:12:7: C: RSpec/InstanceVariable: Avoid instance variables - use let, a method call, or a local variable (if possible).
|
runner / rubocop:
spec/accessibility_spec.rb#L18
[rubocop] reported by reviewdog 🐶
Avoid instance variables - use let, a method call, or a local variable (if possible).
Raw Output:
spec/accessibility_spec.rb:18:5: C: RSpec/InstanceVariable: Avoid instance variables - use let, a method call, or a local variable (if possible).
|