We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
unicorn/prefer-flat-map
1 parent 7781c3f commit 655220aCopy full SHA for 655220a
index.js
@@ -51,7 +51,8 @@ module.exports = {
51
'unicorn/prefer-array-find': 'error',
52
'unicorn/prefer-dataset': 'error',
53
'unicorn/prefer-event-key': 'error',
54
- 'unicorn/prefer-flat-map': 'error',
+ // TODO: Enable this by default when targeting Node.js 12.
55
+ 'unicorn/prefer-flat-map': 'off',
56
'unicorn/prefer-includes': 'error',
57
'unicorn/prefer-modern-dom-apis': 'error',
58
'unicorn/prefer-negative-index': 'error',
0 commit comments