@@ -8,7 +8,7 @@ export default {
88 {
99 code : 'Array.from(iterable).map((t) => t.id)' ,
1010 errors : [ {
11- message : 'Use mapFn callback of Array.from instead of map() ' ,
11+ messageId : 'useMapCb ' ,
1212 column : 1 ,
1313 line : 1
1414 } ] ,
@@ -17,7 +17,7 @@ export default {
1717 {
1818 code : 'Array.from(iterable, (t) => t.id, a).map((t) => t[0], b)' ,
1919 errors : [ {
20- message : 'Use mapFn callback of Array.from instead of map() ' ,
20+ messageId : 'useMapCb ' ,
2121 column : 1 ,
2222 line : 1
2323 } ] ,
@@ -26,7 +26,7 @@ export default {
2626 {
2727 code : 'Array.from(iterable, function(t) { return t.id; }, a).map((t) => t[0])' ,
2828 errors : [ {
29- message : 'Use mapFn callback of Array.from instead of map() ' ,
29+ messageId : 'useMapCb ' ,
3030 column : 1 ,
3131 line : 1
3232 } ] ,
@@ -35,7 +35,7 @@ export default {
3535 {
3636 code : 'Array.from(iterable, function(t) { return t.id; }, a).map(function(t) { return t[0]; }, b)' ,
3737 errors : [ {
38- message : 'Use mapFn callback of Array.from instead of map() ' ,
38+ messageId : 'useMapCb ' ,
3939 column : 1 ,
4040 line : 1
4141 } ] ,
@@ -44,7 +44,7 @@ export default {
4444 {
4545 code : 'Array.from(iterable, function(u) { return u.id; }, a).map(function(t, i) { return t[0]; }, b)' ,
4646 errors : [ {
47- message : 'Use mapFn callback of Array.from instead of map() ' ,
47+ messageId : 'useMapCb ' ,
4848 column : 1 ,
4949 line : 1
5050 } ] ,
@@ -53,7 +53,7 @@ export default {
5353 {
5454 code : 'Array.from(iterable, function(u, i) { return u.id; }, a).map(function(t) { return t[0]; }, b)' ,
5555 errors : [ {
56- message : 'Use mapFn callback of Array.from instead of map() ' ,
56+ messageId : 'useMapCb ' ,
5757 column : 1 ,
5858 line : 1
5959 } ] ,
0 commit comments