Skip to content

Commit 5e43ac4

Browse files
add eslint configuration object-curly-spacing
1 parent f915f41 commit 5e43ac4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.eslintrc.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ module.exports = {
3131
'default-case':'error',
3232
'no-eval': 'error',
3333
'no-use-before-define': 'warn',
34-
'max-len': 'off'
34+
'max-len': 'off',
35+
'object-curly-spacing': ['warn', 'always', { 'arraysInObjects': false, 'objectsInObjects': false }]
3536
}
3637
};

0 commit comments

Comments
 (0)