Skip to content
This repository was archived by the owner on Aug 14, 2024. It is now read-only.

Commit 21a3f3b

Browse files
authored
feat: Support object-curly-spacing (#192)
1 parent b1125b5 commit 21a3f3b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/shared.js

+5
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,11 @@ module.exports = {
203203
'space-infix-ops': 'off',
204204
'@typescript-eslint/space-infix-ops': baseStyleRules['space-infix-ops'],
205205

206+
// Replace Airbnb 'object-curly-spacing' rule with '@typescript-eslint' version
207+
// https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/object-curly-spacing.md
208+
'object-curly-spacing': 'off',
209+
'@typescript-eslint/object-curly-spacing': baseStyleRules['object-curly-spacing'],
210+
206211
// Append 'ts' and 'tsx' to Airbnb 'import/extensions' rule
207212
// https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/extensions.md
208213
'import/extensions': [

0 commit comments

Comments
 (0)