@atlisp/lint 0.1.26 → 0.1.27

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.
@@ -81,8 +81,8 @@
81
81
  "type_check": "off",
82
82
  "redundant_if": "warn",
83
83
  "undeclared_setq": "warn",
84
- "unused_catch_result": "warn",
85
- "string_concat_loop": "warn",
84
+ "unused_catch_result": "off",
85
+ "string_concat_loop": "off",
86
86
  "if_without_else": "off",
87
87
  "redundant_list": "warn",
88
88
  "entget_in_loop": "warn",
package/dist/config.js CHANGED
@@ -122,8 +122,8 @@ const DEFAULT_CONFIG = {
122
122
  type_check: 'off',
123
123
  format_indent: 'off',
124
124
  redundant_if: 'warn',
125
- unused_catch_result: 'warn',
126
- string_concat_loop: 'warn',
125
+ unused_catch_result: 'off',
126
+ string_concat_loop: 'off',
127
127
  if_without_else: 'off',
128
128
  redundant_list: 'warn',
129
129
  entget_in_loop: 'warn',
package/dist/presets.js CHANGED
@@ -65,8 +65,8 @@ exports.PRESETS = {
65
65
  shadow_builtin: 'warn',
66
66
  dynamic_doc: 'warn',
67
67
  redundant_if: 'warn',
68
- unused_catch_result: 'warn',
69
- string_concat_loop: 'warn',
68
+ unused_catch_result: 'off',
69
+ string_concat_loop: 'off',
70
70
  if_without_else: 'off',
71
71
  redundant_list: 'warn',
72
72
  entget_in_loop: 'warn',
@@ -152,7 +152,7 @@ exports.PRESETS = {
152
152
  module_registration: 'error',
153
153
  namespace_header: 'error',
154
154
  unused_catch_result: 'error',
155
- string_concat_loop: 'warn',
155
+ string_concat_loop: 'off',
156
156
  if_without_else: 'off',
157
157
  redundant_list: 'error',
158
158
  entget_in_loop: 'warn',
package/dist/rules.js CHANGED
@@ -228,8 +228,8 @@ exports.RULES = [
228
228
  description: '检测 vlax-* 使用前未调用 vl-load-com',
229
229
  category: '最佳实践',
230
230
  },
231
- { name: 'unused_catch_result', defaultSeverity: 'warn', description: '检测 vl-catch-all-apply 结果被当布尔值用', category: '正确性' },
232
- { name: 'string_concat_loop', defaultSeverity: 'warn', description: '检测循环内字符串拼接', category: '性能' },
231
+ { name: 'unused_catch_result', defaultSeverity: 'off', description: '检测 vl-catch-all-apply 结果被当布尔值用', category: '正确性' },
232
+ { name: 'string_concat_loop', defaultSeverity: 'off', description: '检测循环内字符串拼接', category: '性能' },
233
233
  { name: 'if_without_else', defaultSeverity: 'off', description: '检测 if 无 else 分支', category: '风格' },
234
234
  { name: 'redundant_list', defaultSeverity: 'warn', description: '检测 (list) 等价于 nil', category: '风格' },
235
235
  { name: 'entget_in_loop', defaultSeverity: 'warn', description: '检测循环内 entget', category: '性能' },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlisp/lint",
3
- "version": "0.1.26",
3
+ "version": "0.1.27",
4
4
  "description": "AutoLISP static analysis tool — parens, security, conventions, SBCL syntax validation",
5
5
  "keywords": [
6
6
  "CAD",