mirror of
https://github.com/scratchfoundation/eslint-config-scratch.git
synced 2025-08-28 22:40:13 -04:00
fix(base): Enforce object-curly-spacing
Objects shouldn't have spaces after the opening curly or before the closing one. BREAKING CHANGE: http://eslint.org/docs/rules/object-curly-spacing ([2])
This commit is contained in:
parent
d87cbd650d
commit
39f5431a30
1 changed files with 2 additions and 1 deletions
3
index.js
3
index.js
|
@ -103,8 +103,9 @@ module.exports = {
|
|||
}],
|
||||
'no-negated-condition': [1],
|
||||
'no-tabs': [2],
|
||||
'no-trailing-spaces': [2, { skipBlankLines: true }],
|
||||
'no-trailing-spaces': [2, {skipBlankLines: true}],
|
||||
'no-unneeded-ternary': [2],
|
||||
'object-curly-spacing': [2],
|
||||
'object-property-newline': [2, {
|
||||
allowMultiplePropertiesPerLine: true
|
||||
}],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue