@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.
- package/PACKAGES_V8.md +26 -26
- package/PACKAGES_V9.md +29 -27
- package/dist/base.js +36 -412
- package/dist/base.json +30 -8
- package/dist/browser-esm.js +405 -414
- package/dist/browser-esm.json +32 -9
- package/dist/browser.js +403 -412
- package/dist/browser.json +32 -9
- package/dist/esm-react-cypress.js +413 -422
- package/dist/esm-react-cypress.json +30 -8
- package/dist/esm-react-vitest-storybook.js +413 -422
- package/dist/esm-react-vitest-storybook.json +30 -8
- package/dist/esm-react-vitest.js +411 -420
- package/dist/esm-react-vitest.json +30 -8
- package/dist/esm-react.js +409 -418
- package/dist/esm-react.json +30 -8
- package/dist/esm-vitest.js +407 -416
- package/dist/esm-vitest.json +32 -9
- package/dist/esm.js +405 -414
- package/dist/esm.json +32 -9
- package/dist/oxfmt-browser-esm.d.ts +12 -0
- package/dist/oxfmt-browser-esm.js +1859 -0
- package/dist/oxfmt-browser.d.ts +12 -0
- package/dist/oxfmt-browser.js +1844 -0
- package/dist/oxfmt-esm-react-cypress.d.ts +12 -0
- package/dist/oxfmt-esm-react-cypress.js +1942 -0
- package/dist/oxfmt-esm-react-vitest-storybook.d.ts +12 -0
- package/dist/oxfmt-esm-react-vitest-storybook.js +1964 -0
- package/dist/oxfmt-esm-react-vitest.d.ts +12 -0
- package/dist/oxfmt-esm-react-vitest.js +1930 -0
- package/dist/oxfmt-esm-react.d.ts +12 -0
- package/dist/oxfmt-esm-react.js +1905 -0
- package/dist/oxfmt-esm-vitest.d.ts +12 -0
- package/dist/oxfmt-esm-vitest.js +1879 -0
- package/dist/oxfmt-esm.d.ts +12 -0
- package/dist/oxfmt-esm.js +1854 -0
- package/dist/oxfmt-react-cypress.d.ts +12 -0
- package/dist/oxfmt-react-cypress.js +1933 -0
- package/dist/oxfmt-react-vitest.d.ts +12 -0
- package/dist/oxfmt-react-vitest.js +1921 -0
- package/dist/oxfmt-react.d.ts +12 -0
- package/dist/oxfmt-react.js +1896 -0
- package/dist/oxfmt-vitest.d.ts +12 -0
- package/dist/oxfmt-vitest.js +2231 -0
- package/dist/oxfmt.d.ts +12 -0
- package/dist/oxfmt.js +1839 -0
- package/dist/prettier.d.ts +12 -0
- package/dist/prettier.js +2197 -0
- package/dist/prettier.json +1451 -0
- package/dist/react-cypress.js +411 -420
- package/dist/react-cypress.json +30 -8
- package/dist/react-vitest.js +409 -418
- package/dist/react-vitest.json +30 -8
- package/dist/react.js +407 -416
- package/dist/react.json +30 -8
- package/dist/vitest.js +771 -414
- package/dist/vitest.json +33 -9
- package/package.json +49 -7
package/dist/browser-esm.json
CHANGED
|
@@ -2,18 +2,18 @@
|
|
|
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
|
"import-esm"
|
|
9
9
|
],
|
|
10
10
|
"extends": [
|
|
11
11
|
"eslint:recommended",
|
|
12
|
-
"plugin:import/
|
|
13
|
-
"plugin:prettier/recommended",
|
|
12
|
+
"plugin:import-x/recommended",
|
|
14
13
|
"plugin:regexp/recommended",
|
|
15
14
|
"plugin:sonarjs/recommended-legacy",
|
|
16
|
-
"plugin:import-esm/recommended"
|
|
15
|
+
"plugin:import-esm/recommended",
|
|
16
|
+
"plugin:prettier/recommended"
|
|
17
17
|
],
|
|
18
18
|
"rules": {
|
|
19
19
|
"no-console": [
|
|
@@ -599,7 +599,7 @@
|
|
|
599
599
|
}
|
|
600
600
|
],
|
|
601
601
|
"no-barrel-files/no-barrel-files": "error",
|
|
602
|
-
"import/order": [
|
|
602
|
+
"import-x/order": [
|
|
603
603
|
"error",
|
|
604
604
|
{
|
|
605
605
|
"pathGroups": [
|
|
@@ -634,7 +634,7 @@
|
|
|
634
634
|
"newlines-between": "always"
|
|
635
635
|
}
|
|
636
636
|
],
|
|
637
|
-
"import/no-unassigned-import": "error",
|
|
637
|
+
"import-x/no-unassigned-import": "error",
|
|
638
638
|
"no-only-tests/no-only-tests": [
|
|
639
639
|
"error",
|
|
640
640
|
{
|
|
@@ -1388,7 +1388,7 @@
|
|
|
1388
1388
|
"**/*.tsx"
|
|
1389
1389
|
],
|
|
1390
1390
|
"extends": [
|
|
1391
|
-
"plugin:import/typescript"
|
|
1391
|
+
"plugin:import-x/typescript"
|
|
1392
1392
|
]
|
|
1393
1393
|
},
|
|
1394
1394
|
{
|
|
@@ -1418,7 +1418,23 @@
|
|
|
1418
1418
|
}
|
|
1419
1419
|
}
|
|
1420
1420
|
],
|
|
1421
|
-
"settings": {
|
|
1421
|
+
"settings": {
|
|
1422
|
+
"import-x/resolver": {
|
|
1423
|
+
"typescript": {
|
|
1424
|
+
"alwaysTryTypes": true
|
|
1425
|
+
},
|
|
1426
|
+
"node": {
|
|
1427
|
+
"extensions": [
|
|
1428
|
+
".ts",
|
|
1429
|
+
".tsx",
|
|
1430
|
+
".js",
|
|
1431
|
+
".jsx",
|
|
1432
|
+
".mjs",
|
|
1433
|
+
".cjs"
|
|
1434
|
+
]
|
|
1435
|
+
}
|
|
1436
|
+
}
|
|
1437
|
+
},
|
|
1422
1438
|
"env": {
|
|
1423
1439
|
"node": true,
|
|
1424
1440
|
"es2022": true,
|
|
@@ -1426,7 +1442,14 @@
|
|
|
1426
1442
|
},
|
|
1427
1443
|
"ignorePatterns": [
|
|
1428
1444
|
"**/dist/**/*.*",
|
|
1429
|
-
"**/esm/**/*.*"
|
|
1445
|
+
"**/esm/**/*.*",
|
|
1446
|
+
"**/node_modules/**/*.*",
|
|
1447
|
+
"**/ci/results/**",
|
|
1448
|
+
"**/__version.ts",
|
|
1449
|
+
"**/cypress/results/**",
|
|
1450
|
+
"**/cypress/screenshots/**",
|
|
1451
|
+
"**/cypress/videos/**",
|
|
1452
|
+
"**/temp/**"
|
|
1430
1453
|
],
|
|
1431
1454
|
"parserOptions": {
|
|
1432
1455
|
"ecmaVersion": 2022,
|