Skip to content

Commit

Permalink
feat: Enforce a blank line between case and default statements (#130
Browse files Browse the repository at this point in the history
)
  • Loading branch information
anthony-j-castro authored Apr 3, 2024
1 parent bd41251 commit 5737609
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ module.exports = {
"@stylistic/jsx-sort-props": ["error", { shorthandLast: true }],
"@stylistic/padding-line-between-statements": [
"error",
{ blankLine: "always", next: "*", prev: ["case", "default"] },
{ blankLine: "always", next: "break", prev: "*" },
{ blankLine: "always", next: "return", prev: "*" },
],
Expand Down

0 comments on commit 5737609

Please sign in to comment.