File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,22 @@ exports[`linting javascript.js fixture matches snapshot 1`] = `
4848 " nodeType" : " Identifier" ,
4949 " ruleId" : " no-unused-vars" ,
5050 " severity" : 2 ,
51+ " suggestions" : [
52+ {
53+ " data" : {
54+ " varName" : " unusedEs6Import" ,
55+ },
56+ " desc" : " Remove unused variable 'unusedEs6Import'." ,
57+ " fix" : {
58+ " range" : [
59+ 0 ,
60+ 57 ,
61+ ],
62+ " text" : " " ,
63+ },
64+ " messageId" : " removeVar" ,
65+ },
66+ ],
5167 } ,
5268 {
5369 " column" : 1 ,
@@ -110,6 +126,22 @@ import { unusedEs6Import } from './stub/unusedEs6Import';
110126 " nodeType" : " Identifier" ,
111127 " ruleId" : " no-unused-vars" ,
112128 " severity" : 2 ,
129+ " suggestions" : [
130+ {
131+ " data" : {
132+ " varName" : " y" ,
133+ },
134+ " desc" : " Remove unused variable 'y'." ,
135+ " fix" : {
136+ " range" : [
137+ 365 ,
138+ 366 ,
139+ ],
140+ " text" : " " ,
141+ },
142+ " messageId" : " removeVar" ,
143+ },
144+ ],
113145 } ,
114146 {
115147 " column" : 9 ,
You can’t perform that action at this time.
0 commit comments