@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 CHANGED
@@ -101,6 +101,7 @@ const DEFAULT_CONFIG = {
101
101
  global_naming: 'warn',
102
102
  extra_parens: 'warn',
103
103
  arg_count: 'warn',
104
+ builtin_arg_count: 'error',
104
105
  strcat_usage: 'warn',
105
106
  cond_simplify: 'warn',
106
107
  quote_style: 'warn',
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* 注册(应在文件末尾附近)',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlisp/lint",
3
- "version": "0.1.29",
3
+ "version": "0.1.30",
4
4
  "description": "AutoLISP static analysis tool — parens, security, conventions, SBCL syntax validation",
5
5
  "keywords": [
6
6
  "CAD",