@lvce-editor/eslint-config 1.50.0 → 1.52.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/index.js +7 -0
- package/package.json +7 -7
package/index.js
CHANGED
|
@@ -138,6 +138,13 @@ const defaultConfig = tseslint.config(
|
|
|
138
138
|
rules: {
|
|
139
139
|
'@typescript-eslint/only-throw-error': 'off',
|
|
140
140
|
'@typescript-eslint/prefer-promise-reject-errors': 'off',
|
|
141
|
+
'jest/no-restricted-jest-methods': [
|
|
142
|
+
'error',
|
|
143
|
+
{
|
|
144
|
+
advanceTimersByTime: `Don't use timers`,
|
|
145
|
+
unstable_mockModule: "Don't use module mocks",
|
|
146
|
+
},
|
|
147
|
+
],
|
|
141
148
|
},
|
|
142
149
|
},
|
|
143
150
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lvce-editor/eslint-config",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.52.0",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"description": "",
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@eslint/css": "0.9.0",
|
|
23
|
-
"@eslint/js": "9.
|
|
23
|
+
"@eslint/js": "9.30.0",
|
|
24
24
|
"@eslint/json": "0.12.0",
|
|
25
|
-
"@eslint/markdown": "6.
|
|
26
|
-
"eslint-plugin-jest": "
|
|
25
|
+
"@eslint/markdown": "6.6.0",
|
|
26
|
+
"eslint-plugin-jest": "29.0.1",
|
|
27
27
|
"eslint-plugin-n": "17.20.0",
|
|
28
|
-
"eslint-plugin-package-json": "0.
|
|
29
|
-
"eslint-plugin-perfectionist": "4.
|
|
28
|
+
"eslint-plugin-package-json": "0.42.0",
|
|
29
|
+
"eslint-plugin-perfectionist": "4.15.0",
|
|
30
30
|
"eslint-plugin-project-structure": "3.13.3",
|
|
31
31
|
"eslint-plugin-unicorn": "59.0.1",
|
|
32
32
|
"eslint-plugin-yml": "1.18.0",
|
|
33
|
-
"typescript-eslint": "8.
|
|
33
|
+
"typescript-eslint": "8.35.0"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"eslint": ">= 9"
|