Skip to content

Commit bb011c2

Browse files
jeffvandykeljharb
authored andcommitted
[eslint config] [base] [patch] Add markers to spaced-comment block for Flow types
See <https://flow.org/en/docs/types/comments/>
1 parent 8148bfc commit bb011c2

File tree

1 file changed

+1
-1
lines changed
  • packages/eslint-config-airbnb-base/rules

1 file changed

+1
-1
lines changed

packages/eslint-config-airbnb-base/rules/style.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ module.exports = {
498498
},
499499
block: {
500500
exceptions: ['-', '+'],
501-
markers: ['=', '!'], // space here to support sprockets directives
501+
markers: ['=', '!', ':', '::'], // space here to support sprockets directives and flow comment types
502502
balanced: true,
503503
}
504504
}],

0 commit comments

Comments
 (0)