File tree 3 files changed +10
-13
lines changed
3 files changed +10
-13
lines changed Original file line number Diff line number Diff line change 30
30
"no-plusplus": 1,
31
31
"no-param-reassign": 1,
32
32
"no-mixed-operators": 1,
33
- "no-continue": 1,
34
33
"global-require": 1,
35
34
"no-restricted-syntax": 1,
36
35
"valid-jsdoc": 1,
Original file line number Diff line number Diff line change @@ -278,17 +278,15 @@ module.exports = {
278
278
*/
279
279
function dedupeErrors ( ) {
280
280
for ( const i in errors ) {
281
- if ( ! has ( errors , i ) ) {
282
- continue ;
283
- }
284
- const index = errors [ i ] . closest . ref . index ;
285
- if ( ! errors [ index ] ) {
286
- continue ;
287
- }
288
- if ( errors [ i ] . score > errors [ index ] . score ) {
289
- delete errors [ index ] ;
290
- } else {
291
- delete errors [ i ] ;
281
+ if ( has ( errors , i ) ) {
282
+ const index = errors [ i ] . closest . ref . index ;
283
+ if ( errors [ index ] ) {
284
+ if ( errors [ i ] . score > errors [ index ] . score ) {
285
+ delete errors [ index ] ;
286
+ } else {
287
+ delete errors [ i ] ;
288
+ }
289
+ }
292
290
}
293
291
}
294
292
}
Original file line number Diff line number Diff line change @@ -624,7 +624,7 @@ function componentRule(rule, context) {
624
624
// Traverse the node properties to the component declaration
625
625
for ( i = 0 , j = componentPath . length ; i < j ; i ++ ) {
626
626
if ( ! componentNode . properties ) {
627
- continue ;
627
+ continue ; // eslint-disable-line no-continue
628
628
}
629
629
for ( k = 0 , l = componentNode . properties . length ; k < l ; k ++ ) {
630
630
if ( componentNode . properties [ k ] . key && componentNode . properties [ k ] . key . name === componentPath [ i ] ) {
You can’t perform that action at this time.
0 commit comments