CppCXY / EmmyLuaCodeStyle

fast, powerful, and feature-rich Lua formatting and checking tool.
MIT License
140 stars 27 forks source link

Name Style Descriptions #114

Closed GiuseppeIII closed 1 year ago

GiuseppeIII commented 1 year ago

Would it be possible to get some details on what each name_style refers to

local_name_style
function_param_name_style
function_name_style
local_function_name_style
table_field_name_style
global_variable_name_style
module_name_style
require_module_name_style
class_name_style

I had assumed class_name_style refered to classes as annotated with @class but it doesn't seem to do anything.

CppCXY commented 1 year ago

class_name_style mean like local a = class("a")

GiuseppeIII commented 1 year ago

Is class some third party thing?

CppCXY commented 1 year ago

It's not from some third-party library, which is the usual name for functions that emulate OOP in Lua

GiuseppeIII commented 1 year ago

👍 Interesting, thanks for info 😄