Skip to content

Commit a24a711

Browse files
committed
Update indentation rules
1 parent 995d640 commit a24a711

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

etc/eslint/rules/style.js

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -414,13 +414,19 @@ rules[ 'indent' ] = [ 'error', 'tab', {
414414
'outerIIFEBody': 1,
415415
'MemberExpression': 1,
416416
'FunctionDeclaration': {
417-
'body': 1
417+
'body': 1,
418+
'parameters': 'off'
418419
},
419420
'FunctionExpression': {
420-
'body': 1
421+
'body': 1,
422+
'parameters': 'off'
423+
},
424+
'CallExpression': {
425+
'arguments': 'off'
421426
},
422427
'ArrayExpression': 1,
423-
'ObjectExpression': 1
428+
'ObjectExpression': 1,
429+
'flatTernaryExpressions': true
424430
}];
425431

426432
/**

0 commit comments

Comments
 (0)