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 authored Dec 4, 2024
1 parent 7335b3d commit fd43d58
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 fd43d58

Please sign in to comment.