Skip to content

Layout/EmptyLineAfterMagicComment-20230306233321 #839

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 4 additions & 16 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This configuration was generated by
# `rubocop --auto-gen-config --exclude-limit 180`
# on 2023-03-03 23:33:46 UTC using RuboCop version 1.47.0.
# on 2023-03-06 23:34:08 UTC using RuboCop version 1.48.0.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
Expand Down Expand Up @@ -142,14 +142,6 @@ Layout/EmptyLineAfterGuardClause:
- 'spec/lib/swagger/swagger_dsl_spec.rb'
- 'spec/spec_helper.rb'

# Offense count: 3
# This cop supports safe autocorrection (--autocorrect).
Layout/EmptyLineAfterMagicComment:
Exclude:
- 'apipie-rails.gemspec'
- 'lib/apipie/validator.rb'
- 'lib/tasks/apipie.rake'

# Offense count: 17
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EmptyLineBetweenMethodDefs, EmptyLineBetweenClassDefs, EmptyLineBetweenModuleDefs, AllowAdjacentOneLineDefs, NumberOfEmptyLines.
Expand Down Expand Up @@ -746,9 +738,11 @@ Lint/IdentityComparison:
Exclude:
- 'spec/lib/swagger/swagger_dsl_spec.rb'

# Offense count: 1
# Offense count: 5
Lint/MissingSuper:
Exclude:
- 'lib/apipie/errors.rb'
- 'lib/apipie/response_description_adapter.rb'
- 'lib/apipie/validator.rb'

# Offense count: 11
Expand Down Expand Up @@ -1538,12 +1532,6 @@ Style/CaseEquality:
Exclude:
- 'lib/apipie/validator.rb'

# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
Style/CaseLikeIf:
Exclude:
- 'lib/apipie/generator/swagger/operation_id.rb'

# Offense count: 28
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyle.
Expand Down
1 change: 1 addition & 0 deletions apipie-rails.gemspec
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# -*- encoding: utf-8 -*-

$:.push File.expand_path('lib', __dir__)
require "apipie/version"

Expand Down
1 change: 1 addition & 0 deletions lib/apipie/validator.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-

module Apipie

module Validator
Expand Down
1 change: 1 addition & 0 deletions lib/tasks/apipie.rake
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-

require 'fileutils'

namespace :apipie do
Expand Down