lightsoutAlpha

casing

a declaration whose name is not in the casing its kind takes

Deterministic checkadvisory by defaultbasecode

The argument

ItemConventionExample
VariablescamelCaseuserName, isActive
Functions/MethodscamelCasegetUserName(), calculateTotal()
ClassesPascalCaseUserService, ApiClient
InterfacesPascalCaseUserProfile, ApiResponse
TypesPascalCaseUserId, RequestOptions
Value constantscamelCasemaxRetries, emailRegex
Named constantsPascalCaseAction, LogLevel (see named-constants.md)
File namesSee file-naming.md—

The proof

fail
export interface invoice {
	label: string;
}
pass
export interface Invoice {
	label: string;
}

Turn it down

Both lines go in your lightsout.config.json.

"standards-checks": { "casing": "advisory" }
"standards-checks": { "casing": "off" }