@naturalcycles/dev-lib 13.2.1 → 13.3.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/eslint-rules.js
CHANGED
|
@@ -297,6 +297,11 @@ module.exports = {
|
|
|
297
297
|
'jest/no-export': 0, // conflicts with typescript isolatedModules
|
|
298
298
|
'jest/no-conditional-expect': 0,
|
|
299
299
|
'jest/no-disabled-tests': 0,
|
|
300
|
+
'jest/prefer-equality-matcher': 2,
|
|
301
|
+
'jest/prefer-spy-on': 2,
|
|
302
|
+
'jest/prefer-to-be': 2,
|
|
303
|
+
'jest/prefer-to-contain': 2,
|
|
304
|
+
'jest/consistent-test-it': [2, { fn: 'test', withinDescribe: 'test' }],
|
|
300
305
|
'@typescript-eslint/no-namespace': [
|
|
301
306
|
2,
|
|
302
307
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturalcycles/dev-lib",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.3.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"prepare": "husky install",
|
|
6
6
|
"tsn-debug": "tsn testScript.ts",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@naturalcycles/js-lib": "^14.0.0",
|
|
37
37
|
"@naturalcycles/nodejs-lib": "^12.0.0",
|
|
38
38
|
"@types/fs-extra": "^9.0.0",
|
|
39
|
-
"@types/jest": "^
|
|
39
|
+
"@types/jest": "^29.0.0",
|
|
40
40
|
"@types/node": "^18.0.0",
|
|
41
41
|
"@types/yargs": "^16.0.0",
|
|
42
42
|
"@typescript-eslint/eslint-plugin": "^5.0.0",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"eslint": "^8.0.0",
|
|
46
46
|
"eslint-config-prettier": "^8.3.0",
|
|
47
47
|
"eslint-plugin-import": "^2.22.1",
|
|
48
|
-
"eslint-plugin-jest": "^
|
|
48
|
+
"eslint-plugin-jest": "^27.0.1",
|
|
49
49
|
"eslint-plugin-jsdoc": "^39.1.0",
|
|
50
50
|
"eslint-plugin-unicorn": "^43.0.0",
|
|
51
51
|
"eslint-plugin-unused-imports": "^2.0.0",
|