Skip to content

Commit d5bead5

Browse files
committed
Raise severity of Rails/DangerousColumnNames cop to warning
The `Rails/DangerousColumnNames` cop belong to linting, not style preference, so make set the severity to warning.
1 parent 143e54b commit d5bead5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config/default.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,7 @@ Rails/DangerousColumnNames:
312312
Description: >-
313313
Avoid dangerous column names.
314314
Enabled: pending
315+
Severity: warning
315316
VersionAdded: '<<next>>'
316317
Include:
317318
- 'db/**/*.rb'

0 commit comments

Comments
 (0)