@qlik/eslint-config 2.0.5 → 2.0.6
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/package.json +1 -1
- package/src/configs/vitest.js +2 -1
package/package.json
CHANGED
package/src/configs/vitest.js
CHANGED
|
@@ -18,6 +18,7 @@ const vitestJS = mergeConfigs(
|
|
|
18
18
|
files: ["**/__test{,s}__/**/*.{js,jsx}", "**/{test{,s},mock{,s}}/**/*.js", "**/*.{test,spec}.{js,jsx}"],
|
|
19
19
|
rules: {
|
|
20
20
|
// turn off/modify rules that suitable for tests in JavaScript
|
|
21
|
+
"no-await-in-loop": "off",
|
|
21
22
|
},
|
|
22
23
|
},
|
|
23
24
|
);
|
|
@@ -37,7 +38,7 @@ const vitestTS = mergeConfigs(
|
|
|
37
38
|
files: ["**/__test{,s}__/**/*.{ts,tsx}", "**/{test{,s},mock{,s}}/**/*.ts", "**/*.{test,spec}.{ts,tsx}"],
|
|
38
39
|
rules: {
|
|
39
40
|
// turn off/modify rules that suitable for tests in TypeScript
|
|
40
|
-
|
|
41
|
+
"no-await-in-loop": "off",
|
|
41
42
|
// turn off all the rules that are too strict for tests, and warn on any explicit any types
|
|
42
43
|
"@typescript-eslint/no-unsafe-assignment": "off",
|
|
43
44
|
"@typescript-eslint/no-unsafe-member-access": "off",
|