Skip to content

Commit c346fbf

Browse files
authored
Merge pull request #270 from joyofrails/chore/rubocop-debugger
Lint rubocop debugger
2 parents 0e9f164 + e84519c commit c346fbf

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.rubocop.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
require:
22
- standard
3-
# TODO: Add cops later
4-
# - rubocop-rails
5-
# - rubocop-rspec
63

74
inherit_gem:
85
standard: config/base.yml
@@ -15,3 +12,9 @@ AllCops:
1512
- '.git/**/*'
1613
- 'build/**/*'
1714
- 'rubies/**/*'
15+
SuggestExtensions: false
16+
17+
Lint/Debugger:
18+
Enabled: true
19+
DebuggerRequires:
20+
- debug

app/controllers/searches_controller.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# frozen_string_literal: true
2+
13
class SearchesController < ApplicationController
24
rescue_from Searches::ParseFailed do |error|
35
respond_to do |format|

0 commit comments

Comments
 (0)