mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 20:32:10 +00:00
Working on some lint rules and noticed that PropName didn't seem to be working as intended. According to the spec, we should definitely allow get/set/methods to have prop names: https://tc39.es/ecma262/#sec-static-semantics-propname <img width="694" alt="image" src="https://github.com/user-attachments/assets/60fdfeec-2320-4cd9-a786-901728e459b2"> However, we still need to retain this logic for checking `__proto__` because it has special rules. |
||
|---|---|---|
| .. | ||
| constant_evaluation | ||
| side_effects | ||
| bound_names.rs | ||
| is_simple_parameter_list.rs | ||
| lib.rs | ||
| private_bound_identifiers.rs | ||
| prop_name.rs | ||
| string_char_at.rs | ||
| string_char_code_at.rs | ||
| string_index_of.rs | ||
| string_last_index_of.rs | ||
| string_substring.rs | ||
| string_to_big_int.rs | ||
| string_to_number.rs | ||
| to_big_int.rs | ||
| to_boolean.rs | ||
| to_int_32.rs | ||
| to_number.rs | ||
| to_string.rs | ||