@gooddata/oxlint-config 11.57.0-alpha.3 → 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 CHANGED
@@ -14,7 +14,7 @@ This table shows which packages are required for each configuration.
14
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 |
15
15
  | eslint-plugin-storybook | | | | | | | 10.5.6 | | | | | | | | |
16
16
  | eslint-plugin-testing-library | | | | | | | | | 7.16.2 | | 7.16.2 | | | | 7.16.2 |
17
- | oxlint | ^1.51.0 | ^1.51.0 | ^1.51.0 | ^1.51.0 | ^1.51.0 | ^1.51.0 | ^1.51.0 | ^1.51.0 | ^1.51.0 | ^1.51.0 | ^1.51.0 | ^1.51.0 | ^1.51.0 | ^1.51.0 | ^1.51.0 |
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 |
18
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 |
19
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 |
20
20
  | react | | | | | | | 19.1.1 | | | | | | | | |
@@ -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
  {
@@ -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": [
@@ -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",
@@ -995,6 +995,7 @@
995
995
  "vitest/no-focused-tests": "warn",
996
996
  "vitest/no-identical-title": "warn",
997
997
  "vitest/valid-expect": "warn",
998
+ "vitest/valid-expect-in-promise": "error",
998
999
  "no-only-tests/no-only-tests": [
999
1000
  "error",
1000
1001
  {
@@ -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",
@@ -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",
3
+ "version": "11.57.0-alpha.4",
4
4
  "license": "MIT",
5
5
  "author": "GoodData",
6
6
  "repository": {
@@ -53,7 +53,7 @@
53
53
  "globals": "17.2.0",
54
54
  "jiti": "2.6.1",
55
55
  "oxfmt": "0.66.0",
56
- "oxlint": "1.67.0",
56
+ "oxlint": "1.82.0",
57
57
  "oxlint-plugin-eslint": "1.82.0",
58
58
  "oxlint-tsgolint": "0.22.1",
59
59
  "react": "19.1.1",
@@ -61,14 +61,14 @@
61
61
  "storybook": "^10.5.6",
62
62
  "typescript": "7.0.2",
63
63
  "vite-node": "5.3.0",
64
- "@gooddata/eslint-config": "11.57.0-alpha.3",
65
- "@gooddata/lint-config": "11.57.0-alpha.3"
64
+ "@gooddata/eslint-config": "11.57.0-alpha.4",
65
+ "@gooddata/lint-config": "11.57.0-alpha.4"
66
66
  },
67
67
  "peerDependencies": {
68
68
  "eslint-plugin-headers": "1.3.3",
69
69
  "eslint-plugin-no-barrel-files": "1.2.2",
70
70
  "eslint-plugin-sonarjs": "3.0.6",
71
- "oxlint": "^1.57.0",
71
+ "oxlint": "^1.82.0",
72
72
  "oxlint-plugin-eslint": "1.82.0",
73
73
  "oxlint-tsgolint": "0.22.1"
74
74
  },