Skip to content

Files

Latest commit

 

History

History
22 lines (14 loc) · 382 Bytes

Lint-UnneededCopEnableDirective.md

File metadata and controls

22 lines (14 loc) · 382 Bytes

Pattern: Unnecessary rubocop:enable

Issue: -

Description

This rule detects instances of rubocop:enable comments that can be removed.

Examples

# bad
foo = 1
# rubocop:enable Metrics/LineLength

# good
foo = 1

Further Reading