@atlisp/lint 0.2.0 → 0.2.1

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
@@ -54,7 +54,7 @@ const DEFAULT_CONFIG = {
54
54
  command_shell: 'warn',
55
55
  startapp: 'warn',
56
56
  vl_registry_write: 'warn',
57
- vlax_without_loading: 'warn',
57
+ vlax_without_loading: 'info',
58
58
  token_in_url: 'warn',
59
59
  open_without_close: 'warn',
60
60
  bare_function_names: 'off',
@@ -89,7 +89,7 @@ const DEFAULT_CONFIG = {
89
89
  commented_code: 'warn',
90
90
  double_not: 'info',
91
91
  setq_single_arg: 'warn',
92
- assoc_without_cdr: 'warn',
92
+ assoc_without_cdr: 'info',
93
93
  identical_branches: 'warn',
94
94
  while_constant: 'warn',
95
95
  cond_duplicate: 'warn',
@@ -112,7 +112,7 @@ const DEFAULT_CONFIG = {
112
112
  nth_usage: 'info',
113
113
  append_single: 'info',
114
114
  setq_multiple: 'warn',
115
- function_order: 'info',
115
+ function_order: 'off',
116
116
  magic_number: 'info',
117
117
  mixed_indent: 'info',
118
118
  long_function_call: 'info',
@@ -125,10 +125,10 @@ const DEFAULT_CONFIG = {
125
125
  redundant_if: 'info',
126
126
  unused_catch_result: 'info',
127
127
  string_concat_loop: 'info',
128
- if_without_else: 'info',
128
+ if_without_else: 'off',
129
129
  redundant_list: 'info',
130
130
  entget_in_loop: 'warn',
131
- promise_handler: 'info',
131
+ promise_handler: 'off',
132
132
  module_cycle: 'warn',
133
133
  arg_count_project: 'warn',
134
134
  },
package/dist/presets.js CHANGED
@@ -41,7 +41,7 @@ exports.PRESETS = {
41
41
  commented_code: 'warn',
42
42
  double_not: 'info',
43
43
  setq_single_arg: 'warn',
44
- assoc_without_cdr: 'warn',
44
+ assoc_without_cdr: 'info',
45
45
  identical_branches: 'warn',
46
46
  while_constant: 'warn',
47
47
  cond_duplicate: 'warn',
@@ -68,10 +68,10 @@ exports.PRESETS = {
68
68
  redundant_if: 'info',
69
69
  unused_catch_result: 'info',
70
70
  string_concat_loop: 'info',
71
- if_without_else: 'info',
71
+ if_without_else: 'off',
72
72
  redundant_list: 'info',
73
73
  entget_in_loop: 'warn',
74
- promise_handler: 'info',
74
+ promise_handler: 'off',
75
75
  module_cycle: 'warn',
76
76
  arg_count_project: 'warn',
77
77
  },
@@ -140,7 +140,7 @@ exports.PRESETS = {
140
140
  nth_usage: 'error',
141
141
  append_single: 'error',
142
142
  setq_multiple: 'error',
143
- function_order: 'warn',
143
+ function_order: 'off',
144
144
  magic_number: 'warn',
145
145
  mixed_indent: 'error',
146
146
  long_function_call: 'error',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlisp/lint",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "AutoLISP static analysis tool — parens, security, conventions, SBCL syntax validation",
5
5
  "keywords": [
6
6
  "CAD",