Skip to content

Commit

Permalink
Re-enable useLiteralEnumMembers Biome rule (compiler-explorer#7374)
Browse files Browse the repository at this point in the history
Disabled the lint for the only match as the code is mostly ported from
cutter's graph engine.
  • Loading branch information
junlarsen authored Feb 10, 2025
1 parent c6b46c0 commit df522e9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
"style": {
"noParameterAssign": "off",
"noNonNullAssertion": "off",
"useLiteralEnumMembers": "off",
"useImportType": "off",
"useTemplate": "off"
},
Expand Down
1 change: 1 addition & 0 deletions static/graph-layout-core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,7 @@ export class GraphLayoutCore {
VERTICAL = 0,
RIGHTCORNER = 1,
RIGHTU = 2,
// biome-ignore lint/style/useLiteralEnumMembers: ported from cutter
NULL = Number.NaN,
}
const segments: {
Expand Down

0 comments on commit df522e9

Please sign in to comment.