--- source: crates/biome_js_analyze/tests/spec_tests.rs expression: invalidObjectGetter.js --- # Input ```jsx export default { get SpecialProperty() {}, get special_property() {}, get Unknown_Style() {}, } ``` # Diagnostics ``` invalidObjectGetter.js:2:9 lint/style/useNamingConvention ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! This object getter name should be in camelCase. 1 │ export default { > 2 │ get SpecialProperty() {}, │ ^^^^^^^^^^^^^^^ 3 │ 4 │ get special_property() {}, i The name could be renamed to `specialProperty`. ``` ``` invalidObjectGetter.js:4:9 lint/style/useNamingConvention ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! This object getter name should be in camelCase. 2 │ get SpecialProperty() {}, 3 │ > 4 │ get special_property() {}, │ ^^^^^^^^^^^^^^^^ 5 │ 6 │ get Unknown_Style() {}, i The name could be renamed to `specialProperty`. ``` ``` invalidObjectGetter.js:6:9 lint/style/useNamingConvention ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! This object getter name should be in camelCase. 4 │ get special_property() {}, 5 │ > 6 │ get Unknown_Style() {}, │ ^^^^^^^^^^^^^ 7 │ } i The name could be renamed to `unknownStyle`. ```