diff options
author | Sebastiaan Deckers <sebdeckers83@gmail.com> | 2017-07-11 03:54:06 +0300 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2017-09-20 22:32:17 +0300 |
commit | 9049f09e0f53cb40d4cd03f2a4f95056a19ebae4 (patch) | |
tree | a66e57264e68564c2c6ab810bb1751b6959c7e13 /.eslintrc.yaml | |
parent | 4efc6fec6b57116d422f039cf08694ef96b7963e (diff) |
tools: enforce consistent spacing inside braces
PR-URL: https://github.com/nodejs/node/pull/14162
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to '.eslintrc.yaml')
-rw-r--r-- | .eslintrc.yaml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/.eslintrc.yaml b/.eslintrc.yaml index 6643b4649d0..b68d2657465 100644 --- a/.eslintrc.yaml +++ b/.eslintrc.yaml @@ -141,6 +141,7 @@ rules: }] no-tabs: error no-trailing-spaces: error + object-curly-spacing: [error, always] one-var-declaration-per-line: error operator-linebreak: [error, after] quotes: [error, single, avoid-escape] @@ -148,9 +149,9 @@ rules: semi-spacing: error space-before-blocks: [error, always] space-before-function-paren: [error, { - "anonymous": "never", - "named": "never", - "asyncArrow": "always" + anonymous: never, + named: never, + asyncArrow: always }] space-in-parens: [error, never] space-infix-ops: error |