pull/8555/head
Simon H 3 years ago committed by GitHub
parent af865cd40a
commit 08c1027351
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -220,7 +220,7 @@ export default {
}, },
invalid_rest_eachblock_binding: (rest_element_name: string) => ({ invalid_rest_eachblock_binding: (rest_element_name: string) => ({
code: 'invalid-rest-eachblock-binding', code: 'invalid-rest-eachblock-binding',
message: `The rest operator (...) will create a new object and binding '${rest_element_name}' with original object will not work` message: `The rest operator (...) will create a new object and binding '${rest_element_name}' with the original object will not work`
}), }),
avoid_mouse_events_on_document: { avoid_mouse_events_on_document: {
code: 'avoid-mouse-events-on-document', code: 'avoid-mouse-events-on-document',

@ -1,7 +1,7 @@
[ [
{ {
"code": "invalid-rest-eachblock-binding", "code": "invalid-rest-eachblock-binding",
"message": "The rest operator (...) will create a new object and binding 'rest' with original object will not work", "message": "The rest operator (...) will create a new object and binding 'rest' with the original object will not work",
"start": { "line": 8, "column": 27 }, "start": { "line": 8, "column": 27 },
"end": { "line": 8, "column": 31 } "end": { "line": 8, "column": 31 }
} }

@ -1,7 +1,7 @@
[ [
{ {
"code": "invalid-rest-eachblock-binding", "code": "invalid-rest-eachblock-binding",
"message": "The rest operator (...) will create a new object and binding 'rest' with original object will not work", "message": "The rest operator (...) will create a new object and binding 'rest' with the original object will not work",
"start": { "line": 5, "column": 35 }, "start": { "line": 5, "column": 35 },
"end": { "line": 5, "column": 39 } "end": { "line": 5, "column": 39 }
} }

@ -5,7 +5,7 @@
"column": 37, "column": 37,
"line": 5 "line": 5
}, },
"message": "The rest operator (...) will create a new object and binding 'third' with original object will not work", "message": "The rest operator (...) will create a new object and binding 'third' with the original object will not work",
"start": { "start": {
"column": 32, "column": 32,
"line": 5 "line": 5
@ -17,7 +17,7 @@
"column": 50, "column": 50,
"line": 5 "line": 5
}, },
"message": "The rest operator (...) will create a new object and binding 'length' with original object will not work", "message": "The rest operator (...) will create a new object and binding 'length' with the original object will not work",
"start": { "start": {
"column": 44, "column": 44,
"line": 5 "line": 5

@ -1,7 +1,7 @@
[ [
{ {
"code": "invalid-rest-eachblock-binding", "code": "invalid-rest-eachblock-binding",
"message": "The rest operator (...) will create a new object and binding 'rest' with original object will not work", "message": "The rest operator (...) will create a new object and binding 'rest' with the original object will not work",
"start": { "line": 5, "column": 28 }, "start": { "line": 5, "column": 28 },
"end": { "line": 5, "column": 32 } "end": { "line": 5, "column": 32 }
} }

Loading…
Cancel
Save