[eslint config] [base] [breaking] Enables nonblock-statement-body-position rule and adds link to guide

This commit is contained in:
Sharmila
2017-10-24 17:36:18 -07:00
parent 8a477f9893
commit 2676cbfb2f
2 changed files with 2 additions and 2 deletions

View File

@@ -354,7 +354,7 @@ module.exports = {
// enforce the location of single-line statements
// http://eslint.org/docs/rules/nonblock-statement-body-position
'nonblock-statement-body-position': 'off',
'nonblock-statement-body-position': ['error', 'beside', { overrides: {} }],
// require padding inside curly braces
'object-curly-spacing': ['error', 'always'],