Skip to content

Commit

Permalink
fix: modify eslint config to interop with prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
seansica committed Jan 9, 2025
1 parent b6e350f commit ea58ced
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ rules:
array-callback-return: 'off'
array-element-newline: 'off'
arrow-body-style: error
arrow-parens:
- error
- as-needed
arrow-parens: 'off' # Let Prettier handle arrow function parentheses
arrow-spacing:
- error
- after: true
Expand Down Expand Up @@ -68,9 +66,7 @@ rules:
id-blacklist: error
id-length: 'off'
id-match: error
implicit-arrow-linebreak:
- error
- beside
implicit-arrow-linebreak: 'off' # Allow arrow function expressions to span multiple lines
indent: 'off'
indent-legacy: 'off'
init-declarations: 'off'
Expand Down Expand Up @@ -221,9 +217,7 @@ rules:
one-var: 'off'
one-var-declaration-per-line: 'off'
operator-assignment: 'off'
operator-linebreak:
- error
- after
operator-linebreak: 'off' # Let Prettier handle operator line breaks
padded-blocks: 'off'
padding-line-between-statements: error
prefer-arrow-callback: 'off'
Expand Down

0 comments on commit ea58ced

Please sign in to comment.