mirror of
https://github.com/airbnb/javascript.git
synced 2026-04-25 03:00:19 -04:00
[eslint config] [base] [breaking] Enables nonblock-statement-body-position rule and adds link to guide
This commit is contained in:
@@ -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'],
|
||||
|
||||
Reference in New Issue
Block a user