Skip to content

Commit

Permalink
Enforce no parens around arrow fn params
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiriVulpes committed Nov 28, 2024
1 parent d412092 commit 04a9706
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ module.exports = /** @type {import("eslint").Linter.BaseConfig & import("@typesc
"no-cond-assign": ["off"], // i have literally never had a bug due to this before, so loosening this restriction
"no-irregular-whitespace": ["warn", { skipRegExps: true }],
"eol-last": ["warn", "always"],
"arrow-parens": ["warn", "as-needed"],

// typescript-eslint
"@typescript-eslint/no-unused-vars": ["off"], // literally just what typescript already has, no thanks
Expand Down

0 comments on commit 04a9706

Please sign in to comment.