Camelcase Variables And Functions
Local variables, parameters, function names, methods, and non-static class fields are written in `camelCase` — first word lowercase, every subsequent word capitalised, no underscores or hyphens.…
$ prime install @web-style/rule-camelcase-variables-and-functions Projection
Always in _index.xml · the agent never has to ask for this.
CamelCaseVariablesAndFunctions [rule] v0.1.0
Local variables, parameters, function names, methods, and non-static class fields are written in camelCase — first word lowercase, every subsequent word capitalised, no underscores or hyphens. Both Airbnb and Google's style guides require this.
Loaded when retrieval picks the atom as adjacent / supporting.
CamelCaseVariablesAndFunctions [rule] v0.1.0
Local variables, parameters, function names, methods, and non-static class fields are written in camelCase — first word lowercase, every subsequent word capitalised, no underscores or hyphens. Both Airbnb and Google's style guides require this.
Checks
- Names match the regex
[a-z][a-zA-Z0-9]*for ordinary identifiers. - No leading or trailing underscores on public names; no
snake_casefor ordinary identifiers. - Acronyms in names are treated as words:
parseHtmlUrl, notparseHTMLURL. - ESLint
camelcaserule is enabled.
Label
Use camelCase for variables, functions, methods, and instance properties
Loaded when retrieval picks the atom as a focal / direct hit.
CamelCaseVariablesAndFunctions [rule] v0.1.0
Local variables, parameters, function names, methods, and non-static class fields are written in camelCase — first word lowercase, every subsequent word capitalised, no underscores or hyphens. Both Airbnb and Google's style guides require this.
Checks
- Names match the regex
[a-z][a-zA-Z0-9]*for ordinary identifiers. - No leading or trailing underscores on public names; no
snake_casefor ordinary identifiers. - Acronyms in names are treated as words:
parseHtmlUrl, notparseHTMLURL. - ESLint
camelcaserule is enabled.
Label
Use camelCase for variables, functions, methods, and instance properties
Label
Use camelCase for variables, functions, methods, and instance properties
Source
prime-system/examples/web-style/primes/compiled/@web-style/rule-camelcase-variables-and-functions/atom.yaml