@gooddata/oxlint-config 11.51.0-alpha.4 → 11.51.0-alpha.5
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 +18 -12
- package/dist/esm-react-storybook.json +2214 -0
- package/dist/esm-react-vitest-rtl.json +2260 -0
- package/dist/{esm-react-vitest-storybook.json → esm-vitest-rtl.json} +31 -8
- package/dist/react-vitest-rtl.json +2255 -0
- package/package.json +13 -4
|
@@ -28,6 +28,10 @@
|
|
|
28
28
|
"name": "vitest-js",
|
|
29
29
|
"specifier": "@vitest/eslint-plugin"
|
|
30
30
|
},
|
|
31
|
+
{
|
|
32
|
+
"name": "testing-library",
|
|
33
|
+
"specifier": "eslint-plugin-testing-library"
|
|
34
|
+
},
|
|
31
35
|
{
|
|
32
36
|
"name": "no-only-tests",
|
|
33
37
|
"specifier": "eslint-plugin-no-only-tests"
|
|
@@ -957,6 +961,33 @@
|
|
|
957
961
|
"vitest/no-identical-title": "warn",
|
|
958
962
|
"vitest-js/valid-expect": "warn",
|
|
959
963
|
"vitest-js/valid-expect-in-promise": "error",
|
|
964
|
+
"testing-library/await-async-queries": "error",
|
|
965
|
+
"testing-library/await-async-utils": "error",
|
|
966
|
+
"testing-library/no-await-sync-queries": "error",
|
|
967
|
+
"testing-library/no-global-regexp-flag-in-query": "error",
|
|
968
|
+
"testing-library/no-node-access": "error",
|
|
969
|
+
"testing-library/no-promise-in-fire-event": "error",
|
|
970
|
+
"testing-library/no-wait-for-multiple-assertions": "error",
|
|
971
|
+
"testing-library/no-wait-for-side-effects": "error",
|
|
972
|
+
"testing-library/no-wait-for-snapshot": "error",
|
|
973
|
+
"testing-library/prefer-find-by": "error",
|
|
974
|
+
"testing-library/prefer-presence-queries": "error",
|
|
975
|
+
"testing-library/prefer-query-by-disappearance": "error",
|
|
976
|
+
"testing-library/prefer-screen-queries": "error",
|
|
977
|
+
"testing-library/await-async-events": [
|
|
978
|
+
"error",
|
|
979
|
+
{
|
|
980
|
+
"eventModule": "userEvent"
|
|
981
|
+
}
|
|
982
|
+
],
|
|
983
|
+
"testing-library/no-await-sync-events": [
|
|
984
|
+
"error",
|
|
985
|
+
{
|
|
986
|
+
"eventModules": [
|
|
987
|
+
"fire-event"
|
|
988
|
+
]
|
|
989
|
+
}
|
|
990
|
+
],
|
|
960
991
|
"no-only-tests/no-only-tests": [
|
|
961
992
|
"error",
|
|
962
993
|
{
|
|
@@ -2203,14 +2234,6 @@
|
|
|
2203
2234
|
"rules": {
|
|
2204
2235
|
"sonarjs/no-identical-functions": "off"
|
|
2205
2236
|
}
|
|
2206
|
-
},
|
|
2207
|
-
{
|
|
2208
|
-
"files": [
|
|
2209
|
-
"*"
|
|
2210
|
-
],
|
|
2211
|
-
"env": {
|
|
2212
|
-
"browser": true
|
|
2213
|
-
}
|
|
2214
2237
|
}
|
|
2215
2238
|
],
|
|
2216
2239
|
"settings": {},
|