Skip to content

Commit

Permalink
relax arrow body enforcement
Browse files Browse the repository at this point in the history
  • Loading branch information
gurgunday committed Nov 26, 2024
1 parent 53d14eb commit e862c1c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export default [
},
rules: {
// Core changes
"arrow-body-style": ["error", "always"],
"arrow-body-style": ["error", "as-needed"],
curly: ["error", "all"],
"default-case-last": "error",
eqeqeq: ["error", "always", { null: "ignore" }],
Expand Down Expand Up @@ -208,7 +208,6 @@ export default [
{
classPropertiesAllowed: true,
disallowPrototype: true,
returnStyle: "explicit",
},
],

Expand Down

0 comments on commit e862c1c

Please sign in to comment.