@gooddata/eslint-config 11.19.0-alpha.1 → 11.19.0-alpha.3

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.
Files changed (58) hide show
  1. package/PACKAGES_V8.md +26 -26
  2. package/PACKAGES_V9.md +29 -27
  3. package/dist/base.js +36 -412
  4. package/dist/base.json +30 -8
  5. package/dist/browser-esm.js +405 -414
  6. package/dist/browser-esm.json +32 -9
  7. package/dist/browser.js +403 -412
  8. package/dist/browser.json +32 -9
  9. package/dist/esm-react-cypress.js +413 -422
  10. package/dist/esm-react-cypress.json +30 -8
  11. package/dist/esm-react-vitest-storybook.js +413 -422
  12. package/dist/esm-react-vitest-storybook.json +30 -8
  13. package/dist/esm-react-vitest.js +411 -420
  14. package/dist/esm-react-vitest.json +30 -8
  15. package/dist/esm-react.js +409 -418
  16. package/dist/esm-react.json +30 -8
  17. package/dist/esm-vitest.js +407 -416
  18. package/dist/esm-vitest.json +32 -9
  19. package/dist/esm.js +405 -414
  20. package/dist/esm.json +32 -9
  21. package/dist/oxfmt-browser-esm.d.ts +12 -0
  22. package/dist/oxfmt-browser-esm.js +1859 -0
  23. package/dist/oxfmt-browser.d.ts +12 -0
  24. package/dist/oxfmt-browser.js +1844 -0
  25. package/dist/oxfmt-esm-react-cypress.d.ts +12 -0
  26. package/dist/oxfmt-esm-react-cypress.js +1942 -0
  27. package/dist/oxfmt-esm-react-vitest-storybook.d.ts +12 -0
  28. package/dist/oxfmt-esm-react-vitest-storybook.js +1964 -0
  29. package/dist/oxfmt-esm-react-vitest.d.ts +12 -0
  30. package/dist/oxfmt-esm-react-vitest.js +1930 -0
  31. package/dist/oxfmt-esm-react.d.ts +12 -0
  32. package/dist/oxfmt-esm-react.js +1905 -0
  33. package/dist/oxfmt-esm-vitest.d.ts +12 -0
  34. package/dist/oxfmt-esm-vitest.js +1879 -0
  35. package/dist/oxfmt-esm.d.ts +12 -0
  36. package/dist/oxfmt-esm.js +1854 -0
  37. package/dist/oxfmt-react-cypress.d.ts +12 -0
  38. package/dist/oxfmt-react-cypress.js +1933 -0
  39. package/dist/oxfmt-react-vitest.d.ts +12 -0
  40. package/dist/oxfmt-react-vitest.js +1921 -0
  41. package/dist/oxfmt-react.d.ts +12 -0
  42. package/dist/oxfmt-react.js +1896 -0
  43. package/dist/oxfmt-vitest.d.ts +12 -0
  44. package/dist/oxfmt-vitest.js +2231 -0
  45. package/dist/oxfmt.d.ts +12 -0
  46. package/dist/oxfmt.js +1839 -0
  47. package/dist/prettier.d.ts +12 -0
  48. package/dist/prettier.js +2197 -0
  49. package/dist/prettier.json +1451 -0
  50. package/dist/react-cypress.js +411 -420
  51. package/dist/react-cypress.json +30 -8
  52. package/dist/react-vitest.js +409 -418
  53. package/dist/react-vitest.json +30 -8
  54. package/dist/react.js +407 -416
  55. package/dist/react.json +30 -8
  56. package/dist/vitest.js +771 -414
  57. package/dist/vitest.json +33 -9
  58. package/package.json +49 -7
package/dist/react.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "plugins": [
3
3
  "header",
4
4
  "no-barrel-files",
5
- "import",
5
+ "import-x",
6
6
  "no-only-tests",
7
7
  "sonarjs",
8
8
  "react",
@@ -10,11 +10,11 @@
10
10
  ],
11
11
  "extends": [
12
12
  "eslint:recommended",
13
- "plugin:import/errors",
14
- "plugin:prettier/recommended",
13
+ "plugin:import-x/recommended",
15
14
  "plugin:regexp/recommended",
16
15
  "plugin:sonarjs/recommended-legacy",
17
- "plugin:react-hooks/recommended-legacy"
16
+ "plugin:react-hooks/recommended-legacy",
17
+ "plugin:prettier/recommended"
18
18
  ],
19
19
  "rules": {
20
20
  "no-console": [
@@ -600,7 +600,7 @@
600
600
  }
601
601
  ],
602
602
  "no-barrel-files/no-barrel-files": "error",
603
- "import/order": [
603
+ "import-x/order": [
604
604
  "error",
605
605
  {
606
606
  "pathGroups": [
@@ -635,7 +635,7 @@
635
635
  "newlines-between": "always"
636
636
  }
637
637
  ],
638
- "import/no-unassigned-import": "error",
638
+ "import-x/no-unassigned-import": "error",
639
639
  "no-only-tests/no-only-tests": [
640
640
  "error",
641
641
  {
@@ -1414,7 +1414,7 @@
1414
1414
  "**/*.tsx"
1415
1415
  ],
1416
1416
  "extends": [
1417
- "plugin:import/typescript"
1417
+ "plugin:import-x/typescript"
1418
1418
  ]
1419
1419
  },
1420
1420
  {
@@ -1445,6 +1445,21 @@
1445
1445
  }
1446
1446
  ],
1447
1447
  "settings": {
1448
+ "import-x/resolver": {
1449
+ "typescript": {
1450
+ "alwaysTryTypes": true
1451
+ },
1452
+ "node": {
1453
+ "extensions": [
1454
+ ".ts",
1455
+ ".tsx",
1456
+ ".js",
1457
+ ".jsx",
1458
+ ".mjs",
1459
+ ".cjs"
1460
+ ]
1461
+ }
1462
+ },
1448
1463
  "react": {
1449
1464
  "version": "detect"
1450
1465
  }
@@ -1456,7 +1471,14 @@
1456
1471
  },
1457
1472
  "ignorePatterns": [
1458
1473
  "**/dist/**/*.*",
1459
- "**/esm/**/*.*"
1474
+ "**/esm/**/*.*",
1475
+ "**/node_modules/**/*.*",
1476
+ "**/ci/results/**",
1477
+ "**/__version.ts",
1478
+ "**/cypress/results/**",
1479
+ "**/cypress/screenshots/**",
1480
+ "**/cypress/videos/**",
1481
+ "**/temp/**"
1460
1482
  ],
1461
1483
  "parserOptions": {
1462
1484
  "ecmaVersion": 2022,