Skip to content
This repository was archived by the owner on May 12, 2025. It is now read-only.

Commit 50fd435

Browse files
apustiamturns
authored andcommitted
feat: Remove arrow-parens rule override (#20)
Previous issue has been fixed within `@typescript-eslint` and no longer requires this override.
1 parent 70e86f9 commit 50fd435

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

lib/shared.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,6 @@ module.exports = {
1212
"import/extensions": [".js", ".ts", ".mjs"],
1313
},
1414
rules: {
15-
"arrow-parens": [
16-
"error",
17-
"as-needed",
18-
{
19-
// `requireForBlockBody` should be `true` (as Airbnb sets this to `true`), however it causes problems with HOC syntax in TS
20-
// https://github.com/iamturns/eslint-config-airbnb-typescript/issues/8
21-
requireForBlockBody: false,
22-
},
23-
],
24-
2515
// Replace Airbnb 'brace-style' rule with '@typescript-eslint' version
2616
// https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/brace-style.md
2717
"brace-style": "off",

0 commit comments

Comments
 (0)