@gooddata/oxlint-config 11.57.0-alpha.2 → 11.57.0-alpha.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/PACKAGES.md +2 -3
- package/dist/esm-react-playwright.json +10 -1
- package/dist/esm-react-storybook.json +10 -1
- package/dist/esm-react-vitest-rtl.json +10 -0
- package/dist/esm-react-vitest.json +10 -0
- package/dist/esm-react.json +10 -1
- package/dist/esm-vitest-rtl.json +1 -0
- package/dist/esm-vitest.json +1 -0
- package/dist/react-playwright.json +10 -1
- package/dist/react-vitest-rtl.json +10 -0
- package/dist/react-vitest.json +10 -0
- package/dist/react.json +11 -2
- package/package.json +7 -8
package/PACKAGES.md
CHANGED
|
@@ -5,7 +5,6 @@ This table shows which packages are required for each configuration.
|
|
|
5
5
|
| Package | base | browser-esm | esm | esm-playwright | esm-react | esm-react-playwright | esm-react-storybook | esm-react-vitest | esm-react-vitest-rtl | esm-vitest | esm-vitest-rtl | react | react-playwright | react-vitest | react-vitest-rtl |
|
|
6
6
|
| ----------------------------- | ------- | ----------- | ------- | -------------- | --------- | -------------------- | ------------------- | ---------------- | -------------------- | ---------- | -------------- | ------- | ---------------- | ------------ | ---------------- |
|
|
7
7
|
| @testing-library/dom | | | | | | | 10.4.1 | | | | | | | | |
|
|
8
|
-
| @vitest/eslint-plugin | | | | | | | | 1.6.19 | 1.6.19 | 1.6.19 | 1.6.19 | | | 1.6.19 | 1.6.19 |
|
|
9
8
|
| eslint-plugin-chai-friendly | | | | 1.1.0 | | 1.1.0 | | | | | | | 1.1.0 | | |
|
|
10
9
|
| eslint-plugin-headers | 1.3.3 | 1.3.3 | 1.3.3 | 1.3.3 | 1.3.3 | 1.3.3 | 1.3.3 | 1.3.3 | 1.3.3 | 1.3.3 | 1.3.3 | 1.3.3 | 1.3.3 | 1.3.3 | 1.3.3 |
|
|
11
10
|
| eslint-plugin-import-esm | | 1.2.1 | 1.2.1 | 1.2.1 | 1.2.1 | 1.2.1 | 1.2.1 | 1.2.1 | 1.2.1 | 1.2.1 | 1.2.1 | | | | |
|
|
@@ -15,9 +14,9 @@ This table shows which packages are required for each configuration.
|
|
|
15
14
|
| eslint-plugin-sonarjs | 3.0.6 | 3.0.6 | 3.0.6 | 3.0.6 | 3.0.6 | 3.0.6 | 3.0.6 | 3.0.6 | 3.0.6 | 3.0.6 | 3.0.6 | 3.0.6 | 3.0.6 | 3.0.6 | 3.0.6 |
|
|
16
15
|
| eslint-plugin-storybook | | | | | | | 10.5.6 | | | | | | | | |
|
|
17
16
|
| eslint-plugin-testing-library | | | | | | | | | 7.16.2 | | 7.16.2 | | | | 7.16.2 |
|
|
18
|
-
| oxlint | ^1.
|
|
17
|
+
| oxlint | ^1.82.0 | ^1.82.0 | ^1.82.0 | ^1.82.0 | ^1.82.0 | ^1.82.0 | ^1.82.0 | ^1.82.0 | ^1.82.0 | ^1.82.0 | ^1.82.0 | ^1.82.0 | ^1.82.0 | ^1.82.0 | ^1.82.0 |
|
|
19
18
|
| oxlint-plugin-eslint | 1.82.0 | 1.82.0 | 1.82.0 | 1.82.0 | 1.82.0 | 1.82.0 | 1.82.0 | 1.82.0 | 1.82.0 | 1.82.0 | 1.82.0 | 1.82.0 | 1.82.0 | 1.82.0 | 1.82.0 |
|
|
20
|
-
| oxlint-tsgolint | 0.
|
|
19
|
+
| oxlint-tsgolint | 0.22.1 | 0.22.1 | 0.22.1 | 0.22.1 | 0.22.1 | 0.22.1 | 0.22.1 | 0.22.1 | 0.22.1 | 0.22.1 | 0.22.1 | 0.22.1 | 0.22.1 | 0.22.1 | 0.22.1 |
|
|
21
20
|
| react | | | | | | | 19.1.1 | | | | | | | | |
|
|
22
21
|
| react-dom | | | | | | | 19.1.1 | | | | | | | | |
|
|
23
22
|
| storybook | | | | | | | ^10.5.6 | | | | | | | | |
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
"oxc",
|
|
5
5
|
"eslint",
|
|
6
6
|
"typescript",
|
|
7
|
-
"import"
|
|
7
|
+
"import",
|
|
8
|
+
"react"
|
|
8
9
|
],
|
|
9
10
|
"jsPlugins": [
|
|
10
11
|
{
|
|
@@ -985,6 +986,14 @@
|
|
|
985
986
|
"sonarjs/table-header": "off",
|
|
986
987
|
"sonarjs/no-implicit-global": "off",
|
|
987
988
|
"sonarjs/no-control-regex": "off",
|
|
989
|
+
"react/no-danger": "error",
|
|
990
|
+
"react/jsx-boolean-value": [
|
|
991
|
+
"error",
|
|
992
|
+
"never"
|
|
993
|
+
],
|
|
994
|
+
"react/react-in-jsx-scope": "off",
|
|
995
|
+
"react-hooks/rules-of-hooks": "error",
|
|
996
|
+
"react-hooks/exhaustive-deps": "error",
|
|
988
997
|
"import-esm/explicit-extension": "error",
|
|
989
998
|
"playwright/consistent-spacing-between-blocks": "warn",
|
|
990
999
|
"playwright/expect-expect": "warn",
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
"oxc",
|
|
5
5
|
"eslint",
|
|
6
6
|
"typescript",
|
|
7
|
-
"import"
|
|
7
|
+
"import",
|
|
8
|
+
"react"
|
|
8
9
|
],
|
|
9
10
|
"jsPlugins": [
|
|
10
11
|
{
|
|
@@ -977,6 +978,14 @@
|
|
|
977
978
|
"sonarjs/table-header": "off",
|
|
978
979
|
"sonarjs/no-implicit-global": "off",
|
|
979
980
|
"sonarjs/no-control-regex": "off",
|
|
981
|
+
"react/no-danger": "error",
|
|
982
|
+
"react/jsx-boolean-value": [
|
|
983
|
+
"error",
|
|
984
|
+
"never"
|
|
985
|
+
],
|
|
986
|
+
"react/react-in-jsx-scope": "off",
|
|
987
|
+
"react-hooks/rules-of-hooks": "error",
|
|
988
|
+
"react-hooks/exhaustive-deps": "error",
|
|
980
989
|
"import-esm/explicit-extension": "error"
|
|
981
990
|
},
|
|
982
991
|
"overrides": [
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
"eslint",
|
|
6
6
|
"typescript",
|
|
7
7
|
"import",
|
|
8
|
+
"react",
|
|
8
9
|
"vitest"
|
|
9
10
|
],
|
|
10
11
|
"jsPlugins": [
|
|
@@ -982,6 +983,14 @@
|
|
|
982
983
|
"sonarjs/table-header": "off",
|
|
983
984
|
"sonarjs/no-implicit-global": "off",
|
|
984
985
|
"sonarjs/no-control-regex": "off",
|
|
986
|
+
"react/no-danger": "error",
|
|
987
|
+
"react/jsx-boolean-value": [
|
|
988
|
+
"error",
|
|
989
|
+
"never"
|
|
990
|
+
],
|
|
991
|
+
"react/react-in-jsx-scope": "off",
|
|
992
|
+
"react-hooks/rules-of-hooks": "error",
|
|
993
|
+
"react-hooks/exhaustive-deps": "error",
|
|
985
994
|
"import-esm/explicit-extension": "error",
|
|
986
995
|
"vitest/no-conditional-expect": "error",
|
|
987
996
|
"vitest/no-import-node-test": "error",
|
|
@@ -999,6 +1008,7 @@
|
|
|
999
1008
|
"vitest/no-focused-tests": "warn",
|
|
1000
1009
|
"vitest/no-identical-title": "warn",
|
|
1001
1010
|
"vitest/valid-expect": "warn",
|
|
1011
|
+
"vitest/valid-expect-in-promise": "error",
|
|
1002
1012
|
"testing-library/await-async-queries": "error",
|
|
1003
1013
|
"testing-library/await-async-utils": "error",
|
|
1004
1014
|
"testing-library/no-await-sync-queries": "error",
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
"eslint",
|
|
6
6
|
"typescript",
|
|
7
7
|
"import",
|
|
8
|
+
"react",
|
|
8
9
|
"vitest"
|
|
9
10
|
],
|
|
10
11
|
"jsPlugins": [
|
|
@@ -978,6 +979,14 @@
|
|
|
978
979
|
"sonarjs/table-header": "off",
|
|
979
980
|
"sonarjs/no-implicit-global": "off",
|
|
980
981
|
"sonarjs/no-control-regex": "off",
|
|
982
|
+
"react/no-danger": "error",
|
|
983
|
+
"react/jsx-boolean-value": [
|
|
984
|
+
"error",
|
|
985
|
+
"never"
|
|
986
|
+
],
|
|
987
|
+
"react/react-in-jsx-scope": "off",
|
|
988
|
+
"react-hooks/rules-of-hooks": "error",
|
|
989
|
+
"react-hooks/exhaustive-deps": "error",
|
|
981
990
|
"import-esm/explicit-extension": "error",
|
|
982
991
|
"vitest/no-conditional-expect": "error",
|
|
983
992
|
"vitest/no-import-node-test": "error",
|
|
@@ -995,6 +1004,7 @@
|
|
|
995
1004
|
"vitest/no-focused-tests": "warn",
|
|
996
1005
|
"vitest/no-identical-title": "warn",
|
|
997
1006
|
"vitest/valid-expect": "warn",
|
|
1007
|
+
"vitest/valid-expect-in-promise": "error",
|
|
998
1008
|
"no-only-tests/no-only-tests": [
|
|
999
1009
|
"error",
|
|
1000
1010
|
{
|
package/dist/esm-react.json
CHANGED
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
"oxc",
|
|
5
5
|
"eslint",
|
|
6
6
|
"typescript",
|
|
7
|
-
"import"
|
|
7
|
+
"import",
|
|
8
|
+
"react"
|
|
8
9
|
],
|
|
9
10
|
"jsPlugins": [
|
|
10
11
|
{
|
|
@@ -973,6 +974,14 @@
|
|
|
973
974
|
"sonarjs/table-header": "off",
|
|
974
975
|
"sonarjs/no-implicit-global": "off",
|
|
975
976
|
"sonarjs/no-control-regex": "off",
|
|
977
|
+
"react/no-danger": "error",
|
|
978
|
+
"react/jsx-boolean-value": [
|
|
979
|
+
"error",
|
|
980
|
+
"never"
|
|
981
|
+
],
|
|
982
|
+
"react/react-in-jsx-scope": "off",
|
|
983
|
+
"react-hooks/rules-of-hooks": "error",
|
|
984
|
+
"react-hooks/exhaustive-deps": "error",
|
|
976
985
|
"import-esm/explicit-extension": "error"
|
|
977
986
|
},
|
|
978
987
|
"overrides": [
|
package/dist/esm-vitest-rtl.json
CHANGED
|
@@ -999,6 +999,7 @@
|
|
|
999
999
|
"vitest/no-focused-tests": "warn",
|
|
1000
1000
|
"vitest/no-identical-title": "warn",
|
|
1001
1001
|
"vitest/valid-expect": "warn",
|
|
1002
|
+
"vitest/valid-expect-in-promise": "error",
|
|
1002
1003
|
"testing-library/await-async-queries": "error",
|
|
1003
1004
|
"testing-library/await-async-utils": "error",
|
|
1004
1005
|
"testing-library/no-await-sync-queries": "error",
|
package/dist/esm-vitest.json
CHANGED
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
"oxc",
|
|
5
5
|
"eslint",
|
|
6
6
|
"typescript",
|
|
7
|
-
"import"
|
|
7
|
+
"import",
|
|
8
|
+
"react"
|
|
8
9
|
],
|
|
9
10
|
"jsPlugins": [
|
|
10
11
|
{
|
|
@@ -981,6 +982,14 @@
|
|
|
981
982
|
"sonarjs/table-header": "off",
|
|
982
983
|
"sonarjs/no-implicit-global": "off",
|
|
983
984
|
"sonarjs/no-control-regex": "off",
|
|
985
|
+
"react/no-danger": "error",
|
|
986
|
+
"react/jsx-boolean-value": [
|
|
987
|
+
"error",
|
|
988
|
+
"never"
|
|
989
|
+
],
|
|
990
|
+
"react/react-in-jsx-scope": "off",
|
|
991
|
+
"react-hooks/rules-of-hooks": "error",
|
|
992
|
+
"react-hooks/exhaustive-deps": "error",
|
|
984
993
|
"playwright/consistent-spacing-between-blocks": "warn",
|
|
985
994
|
"playwright/expect-expect": "warn",
|
|
986
995
|
"playwright/max-nested-describe": "warn",
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
"eslint",
|
|
6
6
|
"typescript",
|
|
7
7
|
"import",
|
|
8
|
+
"react",
|
|
8
9
|
"vitest"
|
|
9
10
|
],
|
|
10
11
|
"jsPlugins": [
|
|
@@ -978,6 +979,14 @@
|
|
|
978
979
|
"sonarjs/table-header": "off",
|
|
979
980
|
"sonarjs/no-implicit-global": "off",
|
|
980
981
|
"sonarjs/no-control-regex": "off",
|
|
982
|
+
"react/no-danger": "error",
|
|
983
|
+
"react/jsx-boolean-value": [
|
|
984
|
+
"error",
|
|
985
|
+
"never"
|
|
986
|
+
],
|
|
987
|
+
"react/react-in-jsx-scope": "off",
|
|
988
|
+
"react-hooks/rules-of-hooks": "error",
|
|
989
|
+
"react-hooks/exhaustive-deps": "error",
|
|
981
990
|
"vitest/no-conditional-expect": "error",
|
|
982
991
|
"vitest/no-import-node-test": "error",
|
|
983
992
|
"vitest/no-interpolation-in-snapshots": "error",
|
|
@@ -994,6 +1003,7 @@
|
|
|
994
1003
|
"vitest/no-focused-tests": "warn",
|
|
995
1004
|
"vitest/no-identical-title": "warn",
|
|
996
1005
|
"vitest/valid-expect": "warn",
|
|
1006
|
+
"vitest/valid-expect-in-promise": "error",
|
|
997
1007
|
"testing-library/await-async-queries": "error",
|
|
998
1008
|
"testing-library/await-async-utils": "error",
|
|
999
1009
|
"testing-library/no-await-sync-queries": "error",
|
package/dist/react-vitest.json
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
"eslint",
|
|
6
6
|
"typescript",
|
|
7
7
|
"import",
|
|
8
|
+
"react",
|
|
8
9
|
"vitest"
|
|
9
10
|
],
|
|
10
11
|
"jsPlugins": [
|
|
@@ -974,6 +975,14 @@
|
|
|
974
975
|
"sonarjs/table-header": "off",
|
|
975
976
|
"sonarjs/no-implicit-global": "off",
|
|
976
977
|
"sonarjs/no-control-regex": "off",
|
|
978
|
+
"react/no-danger": "error",
|
|
979
|
+
"react/jsx-boolean-value": [
|
|
980
|
+
"error",
|
|
981
|
+
"never"
|
|
982
|
+
],
|
|
983
|
+
"react/react-in-jsx-scope": "off",
|
|
984
|
+
"react-hooks/rules-of-hooks": "error",
|
|
985
|
+
"react-hooks/exhaustive-deps": "error",
|
|
977
986
|
"vitest/no-conditional-expect": "error",
|
|
978
987
|
"vitest/no-import-node-test": "error",
|
|
979
988
|
"vitest/no-interpolation-in-snapshots": "error",
|
|
@@ -990,6 +999,7 @@
|
|
|
990
999
|
"vitest/no-focused-tests": "warn",
|
|
991
1000
|
"vitest/no-identical-title": "warn",
|
|
992
1001
|
"vitest/valid-expect": "warn",
|
|
1002
|
+
"vitest/valid-expect-in-promise": "error",
|
|
993
1003
|
"no-only-tests/no-only-tests": [
|
|
994
1004
|
"error",
|
|
995
1005
|
{
|
package/dist/react.json
CHANGED
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
"oxc",
|
|
5
5
|
"eslint",
|
|
6
6
|
"typescript",
|
|
7
|
-
"import"
|
|
7
|
+
"import",
|
|
8
|
+
"react"
|
|
8
9
|
],
|
|
9
10
|
"jsPlugins": [
|
|
10
11
|
{
|
|
@@ -968,7 +969,15 @@
|
|
|
968
969
|
"sonarjs/empty-string-repetition": "off",
|
|
969
970
|
"sonarjs/table-header": "off",
|
|
970
971
|
"sonarjs/no-implicit-global": "off",
|
|
971
|
-
"sonarjs/no-control-regex": "off"
|
|
972
|
+
"sonarjs/no-control-regex": "off",
|
|
973
|
+
"react/no-danger": "error",
|
|
974
|
+
"react/jsx-boolean-value": [
|
|
975
|
+
"error",
|
|
976
|
+
"never"
|
|
977
|
+
],
|
|
978
|
+
"react/react-in-jsx-scope": "off",
|
|
979
|
+
"react-hooks/rules-of-hooks": "error",
|
|
980
|
+
"react-hooks/exhaustive-deps": "error"
|
|
972
981
|
},
|
|
973
982
|
"overrides": [
|
|
974
983
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/oxlint-config",
|
|
3
|
-
"version": "11.57.0-alpha.
|
|
3
|
+
"version": "11.57.0-alpha.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "GoodData",
|
|
6
6
|
"repository": {
|
|
@@ -40,7 +40,6 @@
|
|
|
40
40
|
"@types/node": "24.12.0",
|
|
41
41
|
"@typescript-eslint/eslint-plugin": "8.58.0",
|
|
42
42
|
"@typescript-eslint/parser": "8.58.0",
|
|
43
|
-
"@vitest/eslint-plugin": "1.6.19",
|
|
44
43
|
"eslint": "^9.39.2",
|
|
45
44
|
"eslint-plugin-chai-friendly": "1.1.0",
|
|
46
45
|
"eslint-plugin-headers": "1.3.3",
|
|
@@ -54,24 +53,24 @@
|
|
|
54
53
|
"globals": "17.2.0",
|
|
55
54
|
"jiti": "2.6.1",
|
|
56
55
|
"oxfmt": "0.66.0",
|
|
57
|
-
"oxlint": "1.
|
|
56
|
+
"oxlint": "1.82.0",
|
|
58
57
|
"oxlint-plugin-eslint": "1.82.0",
|
|
59
|
-
"oxlint-tsgolint": "0.
|
|
58
|
+
"oxlint-tsgolint": "0.22.1",
|
|
60
59
|
"react": "19.1.1",
|
|
61
60
|
"react-dom": "19.1.1",
|
|
62
61
|
"storybook": "^10.5.6",
|
|
63
62
|
"typescript": "7.0.2",
|
|
64
63
|
"vite-node": "5.3.0",
|
|
65
|
-
"@gooddata/
|
|
66
|
-
"@gooddata/
|
|
64
|
+
"@gooddata/eslint-config": "11.57.0-alpha.4",
|
|
65
|
+
"@gooddata/lint-config": "11.57.0-alpha.4"
|
|
67
66
|
},
|
|
68
67
|
"peerDependencies": {
|
|
69
68
|
"eslint-plugin-headers": "1.3.3",
|
|
70
69
|
"eslint-plugin-no-barrel-files": "1.2.2",
|
|
71
70
|
"eslint-plugin-sonarjs": "3.0.6",
|
|
72
|
-
"oxlint": "^1.
|
|
71
|
+
"oxlint": "^1.82.0",
|
|
73
72
|
"oxlint-plugin-eslint": "1.82.0",
|
|
74
|
-
"oxlint-tsgolint": "0.
|
|
73
|
+
"oxlint-tsgolint": "0.22.1"
|
|
75
74
|
},
|
|
76
75
|
"scripts": {
|
|
77
76
|
"_phase:build": "npm run build",
|