Skip to content
Merged
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
30 changes: 24 additions & 6 deletions tests/lib/rules/no-deprecated-data-object-declaration.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,10 @@ return {
{
message:
"Object declaration on 'data' property is deprecated. Using function declaration instead.",
line: 4
line: 4,
column: 11,
endLine: 6,
endColumn: 12
}
]
},
Expand All @@ -182,7 +185,10 @@ return {
{
message:
"Object declaration on 'data' property is deprecated. Using function declaration instead.",
line: 3
line: 3,
column: 11,
endLine: 5,
endColumn: 12
}
]
},
Expand All @@ -209,7 +215,10 @@ return {
{
message:
"Object declaration on 'data' property is deprecated. Using function declaration instead.",
line: 3
line: 3,
column: 11,
endLine: 5,
endColumn: 12
}
]
},
Expand All @@ -236,7 +245,10 @@ return (/*b*/{
{
message:
"Object declaration on 'data' property is deprecated. Using function declaration instead.",
line: 3
line: 3,
column: 11,
endLine: 5,
endColumn: 13
}
]
},
Expand All @@ -263,7 +275,10 @@ return {
{
message:
"Object declaration on 'data' property is deprecated. Using function declaration instead.",
line: 3
line: 3,
column: 11,
endLine: 5,
endColumn: 12
}
]
},
Expand All @@ -290,7 +305,10 @@ return {
{
message:
"Object declaration on 'data' property is deprecated. Using function declaration instead.",
line: 3
line: 3,
column: 11,
endLine: 5,
endColumn: 12
}
]
}
Expand Down