Skip to content

Commit

Permalink
fix(object-curly-spacing): use typescript version of rule for typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
RebeccaStevens committed Jul 21, 2021
1 parent 25e66d8 commit 3d0d7eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/configs/typescript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const baseConfig: Linter.Config = {
"no-unused-expressions": "off",
"no-unused-vars": "off",
"no-use-before-define": "off",
"object-curly-spacing": "off",
},

overrides: [
Expand Down
1 change: 1 addition & 0 deletions src/plugins/typescript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ export const settings: Linter.Config = {
typedefs: true,
},
],
"@typescript-eslint/object-curly-spacing": ["error", "always"],
"@typescript-eslint/restrict-template-expressions": [
"error",
{
Expand Down

0 comments on commit 3d0d7eb

Please sign in to comment.