Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelpuyol committed Jul 20, 2021
1 parent cdb73dc commit 10701ac
Showing 1 changed file with 22 additions and 20 deletions.
42 changes: 22 additions & 20 deletions spec/erb_lint/reporters/json_reporter_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,28 +58,30 @@
},
files: [{
path: 'app/views/subscriptions/_loader.html.erb',
offenses: [{
linter: 'SpaceInHtmlTag',
message: 'Extra space detected where there should be no space.',
location: {
start_line: 1,
start_column: 7,
last_line: 1,
last_column: 9,
length: 2,
offenses: [
{
linter: 'SpaceInHtmlTag',
message: 'Extra space detected where there should be no space.',
location: {
start_line: 1,
start_column: 7,
last_line: 1,
last_column: 9,
length: 2,
},
},
},
{
linter: 'ClosingErbTagIndent',
message: 'Remove newline before `%>` to match start of tag.',
location: {
start_line: 52,
start_column: 10,
last_line: 54,
last_column: 10,
length: 10,
{
linter: 'ClosingErbTagIndent',
message: 'Remove newline before `%>` to match start of tag.',
location: {
start_line: 52,
start_column: 10,
last_line: 54,
last_column: 10,
length: 10,
},
},
}],
],
}],
summary: {
offenses: 2,
Expand Down

0 comments on commit 10701ac

Please sign in to comment.