From b7832c133a1b61bac318b1d186176326b84bf312 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Mon, 18 Oct 2021 15:05:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83=E4=BB=A3=E7=A0=81=E8=A7=84?= =?UTF-8?q?=E8=8C=83=E5=8F=98=E9=87=8F=E5=90=8D=E6=A0=BC=E5=BC=8F=E8=AF=B4?= =?UTF-8?q?=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- contributing.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/contributing.md b/contributing.md index f9adc37b..5ad0593f 100644 --- a/contributing.md +++ b/contributing.md @@ -5,11 +5,13 @@ ## 文件尾 文件尾要有空行 ## 变量名 - 库 全大写 - 库方法和全局变量 小驼峰 - 局部函数 下划线开头小驼峰 - 简单的局部变量 多个单词首字母或大写单字母 + 库 全大写 + 库函数 小驼峰 + 局部函数 下划线开头小驼峰 + 全局变量 全大写 + 全局函数 小驼峰 需要阅读的局部变量 小驼峰 + 简单的局部变量 多个单词首字母或大写单字母 ## 常用语句块格式 ```lua f() -- 语句末不需要加分号