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

Commit

Permalink
feat: Remove arrow-parens rule override (#20)
Browse files Browse the repository at this point in the history
Previous issue has been fixed within `@typescript-eslint` and no longer requires this override.
  • Loading branch information
apust authored and iamturns committed Oct 23, 2019
1 parent 70e86f9 commit 50fd435
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions lib/shared.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,6 @@ module.exports = {
"import/extensions": [".js", ".ts", ".mjs"],
},
rules: {
"arrow-parens": [
"error",
"as-needed",
{
// `requireForBlockBody` should be `true` (as Airbnb sets this to `true`), however it causes problems with HOC syntax in TS
// https://github.com/iamturns/eslint-config-airbnb-typescript/issues/8
requireForBlockBody: false,
},
],

// Replace Airbnb 'brace-style' rule with '@typescript-eslint' version
// https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/brace-style.md
"brace-style": "off",
Expand Down

0 comments on commit 50fd435

Please sign in to comment.