@naturalcycles/dev-lib 20.13.3 → 20.14.0

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/cfg/biome.jsonc CHANGED
@@ -103,7 +103,7 @@
103
103
  "noUselessThisAlias": "off",
104
104
  "useLiteralKeys": "off",
105
105
  "noBannedTypes": "off",
106
- "noCommaOperator": "error",
106
+ "noCommaOperator": "off", // ox
107
107
  "noArguments": "error"
108
108
  },
109
109
  "nursery": {}
@@ -151,7 +151,7 @@ export default {
151
151
  max: 40,
152
152
  },
153
153
  ],
154
- 'constructor-super': 2,
154
+ 'constructor-super': 0, // ox
155
155
  // eqeqeq: [2, 'smart'], // oxlint
156
156
  'for-direction': 2,
157
157
  'getter-return': 2,
@@ -223,7 +223,7 @@ export default {
223
223
  'no-ex-assign': 2,
224
224
  'no-extra-boolean-cast': 2,
225
225
  'no-implicit-coercion': [
226
- 2,
226
+ 0, // ox
227
227
  {
228
228
  allow: ['!!'],
229
229
  },
@@ -328,6 +328,8 @@ export default {
328
328
  '@typescript-eslint/prefer-promise-reject-errors': 0, // ox
329
329
  'unicorn/prefer-import-meta-properties': 2,
330
330
  'unicorn/prefer-response-static-json': 0, // ox
331
+ 'unicorn/prefer-keyboard-event-key': 0, // ox
332
+ 'unicorn/prefer-default-parameters': 0, // ox
331
333
  'unicorn/prefer-includes': 0, // ox
332
334
  'unicorn/no-array-callback-reference': 0, // false positives
333
335
  'unicorn/no-process-exit': 0,
@@ -460,7 +462,7 @@ export default {
460
462
  ],
461
463
  'max-params': [0, { max: 5 }], // oxlint
462
464
  'no-else-return': 2,
463
- 'no-sequences': 2,
465
+ 'no-sequences': 0, // ox
464
466
  'no-useless-concat': 0, // oxlint
465
467
  '@typescript-eslint/ban-tslint-comment': 0, // ox
466
468
  '@typescript-eslint/explicit-function-return-type': [
@@ -34,6 +34,7 @@
34
34
  "no-new-wrappers": 2,
35
35
  "no-useless-call": 2,
36
36
  "no-accumulating-spread": 2,
37
+ "no-map-spread": 0, // todo: consider, check the effect
37
38
  "prefer-array-find": 2,
38
39
  "prefer-array-flat-map": 2,
39
40
  "prefer-set-has": 2,
@@ -42,6 +43,8 @@
42
43
  "no-bitwise": 2,
43
44
  "no-empty": [2, { "allowEmptyCatch": true }],
44
45
  "no-regex-spaces": 2,
46
+ "no-sequences": 2,
47
+ "no-implicit-coercion": [2, { "allow": ["!!"] }],
45
48
  "no-restricted-globals": [2, "event", "__dirname", "__filename"],
46
49
  "no-unused-expressions": 2,
47
50
  "no-var": 2,
@@ -173,6 +176,8 @@
173
176
  "unicorn/consistent-empty-array-spread": 2,
174
177
  "unicorn/consistent-existence-index-check": 2,
175
178
  "unicorn/escape-case": 2,
179
+ "unicorn/prefer-keyboard-event-key": 2,
180
+ "unicorn/prefer-default-parameters": 2,
176
181
  "unicorn/no-console-spaces": 2,
177
182
  "unicorn/no-hex-escape": 2,
178
183
  "unicorn/no-instanceof-builtins": 2,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@naturalcycles/dev-lib",
3
3
  "type": "module",
4
- "version": "20.13.3",
4
+ "version": "20.14.0",
5
5
  "dependencies": {
6
6
  "@biomejs/biome": "^2",
7
7
  "@commitlint/cli": "^20",
@@ -44,7 +44,7 @@
44
44
  },
45
45
  "devDependencies": {
46
46
  "@types/mitm": "^1",
47
- "@types/node": "^24"
47
+ "@types/node": "^25"
48
48
  },
49
49
  "exports": {
50
50
  "./cfg/": "./cfg/",