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

Commit

Permalink
feat: Support object-curly-spacing (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
iamturns authored Feb 6, 2021
1 parent b1125b5 commit 21a3f3b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/shared.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,11 @@ module.exports = {
'space-infix-ops': 'off',
'@typescript-eslint/space-infix-ops': baseStyleRules['space-infix-ops'],

// Replace Airbnb 'object-curly-spacing' rule with '@typescript-eslint' version
// https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/object-curly-spacing.md
'object-curly-spacing': 'off',
'@typescript-eslint/object-curly-spacing': baseStyleRules['object-curly-spacing'],

// Append 'ts' and 'tsx' to Airbnb 'import/extensions' rule
// https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/extensions.md
'import/extensions': [
Expand Down

0 comments on commit 21a3f3b

Please sign in to comment.