@apify/oxlint-config 0.2.7 → 0.2.9
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 +10 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -86,6 +86,9 @@ const sharedConfig = {
|
|
|
86
86
|
// Jest and vitest plugins have some overlapping rules.
|
|
87
87
|
// Disable the Jest ones and let the Vitest plugin handle them.
|
|
88
88
|
'jest/expect-expect': 'off',
|
|
89
|
+
'jest/no-disabled-tests': 'error',
|
|
90
|
+
'jest/no-conditional-expect': 'error',
|
|
91
|
+
'jest/no-focused-tests': 'error',
|
|
89
92
|
'jest/no-standalone-expect': 'off',
|
|
90
93
|
'jest/valid-describe-callback': 'off',
|
|
91
94
|
'jest/valid-expect': 'off',
|
|
@@ -108,6 +111,9 @@ const sharedConfig = {
|
|
|
108
111
|
// notion of chai's `.to.*` modifier chain. Cypress tests live in
|
|
109
112
|
// the same workspaces as vitest tests, so file-glob scoping isn't
|
|
110
113
|
// reliable — disable globally.
|
|
114
|
+
// - require-to-throw-message: opinion (mirrors the already-disabled
|
|
115
|
+
// `jest/require-to-throw-message`); fires hundreds of times in
|
|
116
|
+
// existing test suites with no real signal.
|
|
111
117
|
'vitest/hoisted-apis-on-top': 'off',
|
|
112
118
|
'vitest/require-mock-type-parameters': 'off',
|
|
113
119
|
'vitest/consistent-each-for': 'off',
|
|
@@ -115,6 +121,7 @@ const sharedConfig = {
|
|
|
115
121
|
'vitest/require-local-test-context-for-concurrent-snapshots': 'off',
|
|
116
122
|
'vitest/valid-describe-callback': 'off',
|
|
117
123
|
'vitest/valid-expect': 'off',
|
|
124
|
+
'vitest/require-to-throw-message': 'off',
|
|
118
125
|
'typescript/unbound-method': 'off',
|
|
119
126
|
'typescript/restrict-template-expressions': 'off',
|
|
120
127
|
'typescript/no-useless-default-assignment': 'off',
|
|
@@ -161,9 +168,9 @@ const sharedConfig = {
|
|
|
161
168
|
'typescript/await-thenable': 'off',
|
|
162
169
|
'typescript/no-floating-promises': 'off',
|
|
163
170
|
'typescript/no-misused-promises': 'off',
|
|
164
|
-
'
|
|
165
|
-
'
|
|
166
|
-
'
|
|
171
|
+
'vitest/no-disabled-tests': 'error',
|
|
172
|
+
'vitest/no-conditional-expect': 'error',
|
|
173
|
+
'vitest/no-focused-tests': 'error',
|
|
167
174
|
'import/no-default-export': 'off',
|
|
168
175
|
},
|
|
169
176
|
},
|