@atlisp/lint 0.1.29 → 0.1.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/config.js +1 -0
- package/dist/locale.js +2 -0
- package/package.json +1 -1
package/dist/config.js
CHANGED
package/dist/locale.js
CHANGED
|
@@ -141,6 +141,8 @@ Options:
|
|
|
141
141
|
vlax_without_loading: '文件中使用了 vlax-* 函数但未调用 vl-load-com',
|
|
142
142
|
token_in_url: '字符串中可能泄露令牌:URL 中包含 token=',
|
|
143
143
|
open_without_close: '文件中有 {0} 个 open() 调用,但只有 {1} 个 close() 调用(可能存在资源泄露)',
|
|
144
|
+
'builtin_arg_count.too_few': "内置函数 '{0}' 调用时传入了 {1} 个参数,至少需要 {2} 个",
|
|
145
|
+
'builtin_arg_count.too_many': "内置函数 '{0}' 调用时传入了 {1} 个参数,最多允许 {2} 个",
|
|
144
146
|
arg_count: "函数 '{0}' 调用时传入了 {1} 个参数,但定义时为 {2} 个",
|
|
145
147
|
bare_function_names: "函数 '{0}' 缺少命名空间前缀(缺少 @:: 或 C: 前缀)",
|
|
146
148
|
module_registration: '模块文件缺少 @::*modules* 注册(应在文件末尾附近)',
|