@@ -133,7 +133,7 @@ module.exports = class DisabledArea {
133
133
}
134
134
135
135
if ( ! used ) {
136
- this . unusedEnableDirectives . push ( { comment, ruleId} )
136
+ this . unusedEnableDirectives . push ( { comment, ruleId } )
137
137
}
138
138
}
139
139
}
@@ -153,7 +153,7 @@ module.exports = class DisabledArea {
153
153
}
154
154
155
155
if ( start === null ) {
156
- this . unusedEnableDirectives . push ( { comment, ruleId : null } )
156
+ this . unusedEnableDirectives . push ( { comment, ruleId : null } )
157
157
}
158
158
}
159
159
}
@@ -208,8 +208,8 @@ module.exports = class DisabledArea {
208
208
kind === "eslint-disable-line"
209
209
) {
210
210
const line = comment . loc . start . line
211
- const start = { line, column : 0 }
212
- const end = { line : line + 1 , column : - 1 }
211
+ const start = { line, column : 0 }
212
+ const end = { line : line + 1 , column : - 1 }
213
213
214
214
this . _disable ( comment , start , ruleIds , kind )
215
215
this . _enable ( comment , end , ruleIds )
@@ -219,8 +219,8 @@ module.exports = class DisabledArea {
219
219
kind === "eslint-disable-next-line"
220
220
) {
221
221
const line = comment . loc . start . line
222
- const start = { line : line + 1 , column : 0 }
223
- const end = { line : line + 2 , column : - 1 }
222
+ const start = { line : line + 1 , column : 0 }
223
+ const end = { line : line + 2 , column : - 1 }
224
224
225
225
this . _disable ( comment , start , ruleIds , kind )
226
226
this . _enable ( comment , end , ruleIds )
0 commit comments