--- source: crates/biome_js_analyze/tests/spec_tests.rs expression: invalidClassStaticGetter.js --- # Input ```jsx export default class { static get SpecialProperty() {} static get special_property() {} static get Unknown_Style() {} static get #X() {} static get #SpecialProperty() {} static get #special_property() {} static get #Unknown_Style() {} } ``` # Diagnostics ``` invalidClassStaticGetter.js:2:16 lint/style/useNamingConvention ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! This static getter name should be in camelCase or CONSTANT_CASE. 1 │ export default class { > 2 │ static get SpecialProperty() {} │ ^^^^^^^^^^^^^^^ 3 │ 4 │ static get special_property() {} i The name could be renamed to `specialProperty`. ``` ``` invalidClassStaticGetter.js:4:16 lint/style/useNamingConvention ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! This static getter name should be in camelCase or CONSTANT_CASE. 2 │ static get SpecialProperty() {} 3 │ > 4 │ static get special_property() {} │ ^^^^^^^^^^^^^^^^ 5 │ 6 │ static get Unknown_Style() {} i The name could be renamed to `specialProperty`. ``` ``` invalidClassStaticGetter.js:6:16 lint/style/useNamingConvention ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! This static getter name should be in camelCase or CONSTANT_CASE. 4 │ static get special_property() {} 5 │ > 6 │ static get Unknown_Style() {} │ ^^^^^^^^^^^^^ 7 │ 8 │ static get #X() {} i The name could be renamed to `unknownStyle`. ``` ``` invalidClassStaticGetter.js:10:16 lint/style/useNamingConvention ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! This static getter name should be in camelCase or CONSTANT_CASE. 8 │ static get #X() {} 9 │ > 10 │ static get #SpecialProperty() {} │ ^^^^^^^^^^^^^^^^ 11 │ 12 │ static get #special_property() {} i The name could be renamed to `specialProperty`. ``` ``` invalidClassStaticGetter.js:12:16 lint/style/useNamingConvention ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! This static getter name should be in camelCase or CONSTANT_CASE. 10 │ static get #SpecialProperty() {} 11 │ > 12 │ static get #special_property() {} │ ^^^^^^^^^^^^^^^^^ 13 │ 14 │ static get #Unknown_Style() {} i The name could be renamed to `specialProperty`. ``` ``` invalidClassStaticGetter.js:14:16 lint/style/useNamingConvention ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! This static getter name should be in camelCase or CONSTANT_CASE. 12 │ static get #special_property() {} 13 │ > 14 │ static get #Unknown_Style() {} │ ^^^^^^^^^^^^^^ 15 │ } i The name could be renamed to `unknownStyle`. ```