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.
object-curly-newline
1 parent 7d89a3d commit 3a5448bCopy full SHA for 3a5448b
index.js
@@ -420,8 +420,30 @@ module.exports = {
420
'error',
421
'never',
422
],
423
- // Disabled because of https://github.com/xojs/eslint-config-xo/issues/27
424
- // 'object-property-newline': 'error',
+ 'object-curly-newline': [
+ 'error',
425
+ {
426
+ ObjectExpression: {
427
+ multiline: true,
428
+ minProperties: 4,
429
+ consistent: true,
430
+ },
431
+ ObjectPattern: {
432
433
434
435
+ ImportDeclaration: {
436
437
438
439
440
+ ExportDeclaration: {
441
442
443
444
445
446
+ ],
447
'one-var': [
448
449
0 commit comments