Skip to content

Commit

Permalink
fix(ts/prefer-literal-enum-member): should allow bitwise expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
sasial-dev committed Nov 17, 2024
1 parent d1979f3 commit 61a98c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/configs/typescript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ export async function typescript(
"ts/no-wrapper-object-types": "error",
"ts/prefer-for-of": "error",
"ts/prefer-function-type": "error",
"ts/prefer-literal-enum-member": ["error", { allowBitwiseExpressions: true }],
"ts/triple-slash-reference": "off",
"ts/unified-signatures": "off",
yoda: ["error", "never"],
Expand Down

0 comments on commit 61a98c1

Please sign in to comment.