--- source: crates/biome_js_analyze/tests/spec_tests.rs expression: invalidFunctionParameter.js --- # Input ```jsx function f(A, SpecialParameter, _snake_case, CONSTANT_CASE) {} ``` # Diagnostics ``` invalidFunctionParameter.js:1:12 lint/style/useNamingConvention FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━ ! This function parameter name should be in camelCase. > 1 │ function f(A, SpecialParameter, _snake_case, CONSTANT_CASE) {} │ ^ i The name could be renamed to `a`. i Safe fix: Rename this symbol in camelCase. - function·f(A,·SpecialParameter,·_snake_case,·CONSTANT_CASE)·{} + function·f(a,·SpecialParameter,·_snake_case,·CONSTANT_CASE)·{} ``` ``` invalidFunctionParameter.js:1:15 lint/style/useNamingConvention FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━ ! This function parameter name should be in camelCase. > 1 │ function f(A, SpecialParameter, _snake_case, CONSTANT_CASE) {} │ ^^^^^^^^^^^^^^^^ i The name could be renamed to `specialParameter`. i Safe fix: Rename this symbol in camelCase. - function·f(A,·SpecialParameter,·_snake_case,·CONSTANT_CASE)·{} + function·f(A,·specialParameter,·_snake_case,·CONSTANT_CASE)·{} ``` ``` invalidFunctionParameter.js:1:33 lint/style/useNamingConvention FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━ ! This function parameter name trimmed as `snake_case` should be in camelCase. > 1 │ function f(A, SpecialParameter, _snake_case, CONSTANT_CASE) {} │ ^^^^^^^^^^^ i The name could be renamed to `_snakeCase`. i Safe fix: Rename this symbol in camelCase. - function·f(A,·SpecialParameter,·_snake_case,·CONSTANT_CASE)·{} + function·f(A,·SpecialParameter,·_snakeCase,·CONSTANT_CASE)·{} ``` ``` invalidFunctionParameter.js:1:46 lint/style/useNamingConvention FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━ ! This function parameter name should be in camelCase. > 1 │ function f(A, SpecialParameter, _snake_case, CONSTANT_CASE) {} │ ^^^^^^^^^^^^^ i The name could be renamed to `constantCase`. i Safe fix: Rename this symbol in camelCase. - function·f(A,·SpecialParameter,·_snake_case,·CONSTANT_CASE)·{} + function·f(A,·SpecialParameter,·_snake_case,·constantCase)·{} ```