--- source: crates/biome_js_analyze/tests/spec_tests.rs expression: invalidObjectProperty.js --- # Input ```jsx export default { Initialized: 0, SpecialProperty: 0, special_property: 0, Unknown_Style: 0, Unknown_Init_Style: 0, } ``` # Diagnostics ``` invalidObjectProperty.js:2:5 lint/style/useNamingConvention ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! This object property name should be in camelCase. 1 │ export default { > 2 │ Initialized: 0, │ ^^^^^^^^^^^ 3 │ 4 │ SpecialProperty: 0, i The name could be renamed to `initialized`. ``` ``` invalidObjectProperty.js:4:5 lint/style/useNamingConvention ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! This object property name should be in camelCase. 2 │ Initialized: 0, 3 │ > 4 │ SpecialProperty: 0, │ ^^^^^^^^^^^^^^^ 5 │ 6 │ special_property: 0, i The name could be renamed to `specialProperty`. ``` ``` invalidObjectProperty.js:6:5 lint/style/useNamingConvention ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! This object property name should be in camelCase. 4 │ SpecialProperty: 0, 5 │ > 6 │ special_property: 0, │ ^^^^^^^^^^^^^^^^ 7 │ 8 │ Unknown_Style: 0, i The name could be renamed to `specialProperty`. ``` ``` invalidObjectProperty.js:8:5 lint/style/useNamingConvention ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! This object property name should be in camelCase. 6 │ special_property: 0, 7 │ > 8 │ Unknown_Style: 0, │ ^^^^^^^^^^^^^ 9 │ 10 │ Unknown_Init_Style: 0, i The name could be renamed to `unknownStyle`. ``` ``` invalidObjectProperty.js:10:5 lint/style/useNamingConvention ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! This object property name should be in camelCase. 8 │ Unknown_Style: 0, 9 │ > 10 │ Unknown_Init_Style: 0, │ ^^^^^^^^^^^^^^^^^^ 11 │ } i The name could be renamed to `unknownInitStyle`. ```