Skip to content

Commit

Permalink
Disable trailing whitespace linter error for markdown that requires a…
Browse files Browse the repository at this point in the history
…dditional spaces
  • Loading branch information
bmath10 committed Jul 7, 2023
1 parent df52ed8 commit a9f5623
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
2 changes: 2 additions & 0 deletions lib/onc_certification_g10_test_kit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ def self.well_known_route_handler
)

default_redirect_message_proc = lambda do |auth_url|
# rubocop:disable Layout/TrailingWhitespace
%(
### #{self.class.parent.title}
Expand All @@ -295,6 +296,7 @@ def self.well_known_route_handler
with a state of
`#{state}`.
)
# rubocop:enable Layout/TrailingWhitespace
end

group from: :g10_public_standalone_launch,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ class SMARTInvalidPKCEGroup < Inferno::TestGroup
config: {
options: {
redirect_message_proc: lambda do |auth_url|
# rubocop:disable Layout/TrailingWhitespace
%(
### Invalid PKCE code_verifier 1/4
Expand All @@ -203,6 +204,7 @@ class SMARTInvalidPKCEGroup < Inferno::TestGroup
with a state of
#{state}`.
)
# rubocop:enable Layout/TrailingWhitespace
end
}
}
Expand All @@ -218,6 +220,7 @@ class SMARTInvalidPKCEGroup < Inferno::TestGroup
config: {
options: {
redirect_message_proc: lambda do |auth_url|
# rubocop:disable Layout/TrailingWhitespace
%(
### Invalid PKCE code_verifier 2/4
Expand All @@ -232,6 +235,7 @@ class SMARTInvalidPKCEGroup < Inferno::TestGroup
with a state of
`#{state}`.
)
# rubocop:enable Layout/TrailingWhitespace
end
}
}
Expand All @@ -251,6 +255,7 @@ def modify_oauth_params(oauth_params)
config: {
options: {
redirect_message_proc: lambda do |auth_url|
# rubocop:disable Layout/TrailingWhitespace
%(
### Invalid PKCE code_verifier 3/4
Expand All @@ -265,6 +270,7 @@ def modify_oauth_params(oauth_params)
with a state of
`#{state}`.
)
# rubocop:enable Layout/TrailingWhitespace
end
}
}
Expand All @@ -284,6 +290,7 @@ def modify_oauth_params(oauth_params)
config: {
options: {
redirect_message_proc: lambda do |auth_url|
# rubocop:disable Layout/TrailingWhitespace
%(
### Invalid PKCE code_verifier 4/4
Expand All @@ -299,6 +306,7 @@ def modify_oauth_params(oauth_params)
with a state of
`#{state}`.
)
# rubocop:enable Layout/TrailingWhitespace
end
}
}
Expand Down
6 changes: 4 additions & 2 deletions lib/onc_certification_g10_test_kit/smart_limited_app_group.rb
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class SmartLimitedAppGroup < Inferno::TestGroup
.map(&:strip)
.map { |resource_type| "* #{resource_type}\n" }
.join

# rubocop:disable Layout/TrailingWhitespace
<<~MESSAGE
### #{self.class.parent.parent.title}
Expand All @@ -142,6 +142,7 @@ class SmartLimitedAppGroup < Inferno::TestGroup
#{expected_resource_string}
MESSAGE
# rubocop:enable Layout/TrailingWhitespace
end
}
)
Expand Down Expand Up @@ -251,7 +252,7 @@ class SmartLimitedAppGroup < Inferno::TestGroup
.map(&:strip)
.map { |resource_type| "* #{resource_type}\n" }
.join

# rubocop:disable Layout/TrailingWhitespace
<<~MESSAGE
### #{self.class.parent.parent.title}
Expand All @@ -267,6 +268,7 @@ class SmartLimitedAppGroup < Inferno::TestGroup
#{expected_resource_string}
MESSAGE
# rubocop:enable Layout/TrailingWhitespace
end
}
)
Expand Down

0 comments on commit a9f5623

Please sign in to comment.