@naturalcycles/dev-lib 13.51.3 → 13.52.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/cfg/eslint-rules.js +1 -0
- package/package.json +2 -2
package/cfg/eslint-rules.js
CHANGED
|
@@ -368,6 +368,7 @@ module.exports = {
|
|
|
368
368
|
'unicorn/prefer-at': 0, // iOS 15.4+
|
|
369
369
|
'unicorn/import-style': 0, // todo: fix
|
|
370
370
|
'unicorn/prefer-spread': 0, // fails on joiSchema.concat() which is not an array!
|
|
371
|
+
'unicorn/prefer-structured-clone': 0, // no real advantage, plus in most of the cases we want JSON to remove undefined, etc.
|
|
371
372
|
'unicorn/better-regex': 0, // we still believe that [0-9] is clearer than [\d]
|
|
372
373
|
'unicorn/no-object-as-default-parameter': 0, // doesn't allow e.g method (opt = { skipValidation: true })
|
|
373
374
|
'unicorn/catch-error-name': [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturalcycles/dev-lib",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.52.1",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"prepare": "husky",
|
|
6
6
|
"tsn-debug": "tsn testScript.ts",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"eslint-plugin-import": "^2.22.1",
|
|
45
45
|
"eslint-plugin-jest": "^28.0.0",
|
|
46
46
|
"eslint-plugin-jsdoc": "^48.0.1",
|
|
47
|
-
"eslint-plugin-unicorn": "^
|
|
47
|
+
"eslint-plugin-unicorn": "^53.0.0",
|
|
48
48
|
"eslint-plugin-unused-imports": "^3.0.0",
|
|
49
49
|
"eslint-plugin-vue": "^9.0.0",
|
|
50
50
|
"expect-type": "^0.19.0",
|