@qlik/eslint-config 2.0.2 → 2.0.4
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 +3 -3
- package/src/configs/vitest.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qlik/eslint-config",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"description": "Qlik's ESLint configs",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "git@github.com:qlik-oss/dev-tools-js.git",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@eslint-react/eslint-plugin": "^4.2.3",
|
|
23
23
|
"@eslint/js": "^10.0.1",
|
|
24
|
-
"@typescript-eslint/utils": "^8.
|
|
24
|
+
"@typescript-eslint/utils": "^8.59.0",
|
|
25
25
|
"@vitest/eslint-plugin": "^1.6.16",
|
|
26
26
|
"confusing-browser-globals": "^1.0.11",
|
|
27
27
|
"eslint-config-prettier": "^10.1.8",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"eslint-plugin-import-x": "^4.16.2",
|
|
31
31
|
"eslint-plugin-testing-library": "^7.16.2",
|
|
32
32
|
"globals": "^17.5.0",
|
|
33
|
-
"typescript-eslint": "^8.
|
|
33
|
+
"typescript-eslint": "^8.59.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/confusing-browser-globals": "^1.0.3",
|
package/src/configs/vitest.js
CHANGED
|
@@ -15,7 +15,7 @@ const vitestJS = mergeConfigs(
|
|
|
15
15
|
// add qlik's recommended vitest config
|
|
16
16
|
{
|
|
17
17
|
name: "vitest-js",
|
|
18
|
-
files: ["**/
|
|
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
21
|
},
|
|
@@ -34,7 +34,7 @@ const vitestTS = mergeConfigs(
|
|
|
34
34
|
// add qlik's recommended vitest config
|
|
35
35
|
{
|
|
36
36
|
name: "vitest-ts",
|
|
37
|
-
files: ["**/
|
|
37
|
+
files: ["**/__test{,s}__/**/*.{ts,tsx}", "**/{test{,s},mock{,s}}/**/*.ts", "**/*.{test,spec}.{ts,tsx}"],
|
|
38
38
|
rules: {
|
|
39
39
|
// turn off/modify rules that suitable for tests in TypeScript
|
|
40
40
|
|