+:::note
+This rule has been implemented but not released yet. It will be available in the next release.
+:::
+:::caution
+This rule is part of the [nursery](/linter/#nursery) group. This means that it is experimental and the behavior can change at any time.
+:::
+:::note
+This rule belongs to the project domain. This means that its activation will activate the Biome Scanner, which might affect the performance. Read more about it in the [documentation page](/linter/domains#project)
+:::
+## Summary
+- Diagnostic Category: [`lint/nursery/useConsistentEnumValueType`](/reference/diagnostics#diagnostic-category)
+- This rule doesn't have a fix.
+- The default severity of this rule is [**information**](/reference/diagnostics#information).
+- This rule belongs to the following domains:
+ - [`project`](/linter/domains#project)
+- Sources:
+ - Same as [`@typescript-eslint/no-mixed-enums`](https://typescript-eslint.io/rules/no-mixed-enums)
+
+## How to configure
+```json title="biome.json"
+{
+ "linter": {
+ "rules": {
+ "nursery": {
+ "useConsistentEnumValueType": "error"
+ }
+ }
+ }
+}
+
+```
+## Description
+Disallow enums from having both number and string members.
+
+TypeScript enums are allowed to assign numeric or string values to their members.
+Most enums contain either all numbers or all strings, but in theory you can mix-and-match within the same enum.
+Mixing enum member types is generally considered confusing and a bad practice.
+
+## Examples
+
+### Invalid
+
+```ts
+enum Status {
+ Unknown,
+ Closed = 1,
+ Open = 'open',
+}
+```
+
+code-block.ts:3:3 lint/nursery/useConsistentEnumValueType ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ℹ Inconsistent enum value type.
1 │ enum Status {
2 │ Unknown,
> 3 │ Closed = 1,
│ ^^^^^^^^^^
4 │ Open = 'open',
5 │ }
ℹ Another inconsistent enum value type.
2 │ Unknown,
3 │ Closed = 1,
> 4 │ Open = 'open',
│ ^^^^^^^^^^^^^
5 │ }
6 │
ℹ Mixing number and string enums can be confusing. Make sure to use a consistent value type within your enum.
ℹ This rule belongs to the nursery group, which means it is not yet stable and may change in the future. Visit https://biomejs.dev/linter/#nursery for more information.
+
+### Valid
+
+```ts
+enum Status {
+ Unknown = 0,
+ Closed = 1,
+ Open = 2,
+}
+```
+
+```ts
+enum Status {
+ Unknown,
+ Closed,
+ Open,
+}
+```
+
+```ts
+enum Status {
+ Unknown = 'unknown',
+ Closed = 'closed',
+ Open = 'open',
+}
+```
+
+## Related links
+
+- [Disable a rule](/linter/#disable-a-rule)
+- [Configure the code fix](/linter#configure-the-code-fix)
+- [Rule options](/linter/#rule-options)
+- [Source Code](https://github.com/biomejs/biome/blob/main/crates/biome_js_analyze/src/lint/nursery/use_consistent_enum_value_type.rs)
+- [Test Cases](https://github.com/biomejs/biome/blob/main/crates/biome_js_analyze/tests/specs/nursery/useConsistentEnumValueType)
+
+
+