@gooddata/eslint-config 11.19.0-alpha.9 → 11.20.0-alpha.0
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 +1 -2
- package/PACKAGES_V9.md +1 -1
- package/PACKAGES_V9_OXLINT.md +21 -0
- package/README.md +22 -0
- package/dist/base.js +792 -283
- package/dist/base.json +1049 -213
- package/dist/browser-esm.js +794 -285
- package/dist/browser-esm.json +1051 -215
- package/dist/browser.js +792 -283
- package/dist/browser.json +1049 -213
- package/dist/esm-react-cypress.js +715 -187
- package/dist/esm-react-cypress.json +1051 -204
- package/dist/esm-react-vitest-storybook.js +825 -297
- package/dist/esm-react-vitest-storybook.json +1076 -204
- package/dist/esm-react-vitest.js +825 -297
- package/dist/esm-react-vitest.json +1060 -204
- package/dist/esm-react.js +798 -289
- package/dist/esm-react.json +1051 -216
- package/dist/esm-vitest.js +821 -293
- package/dist/esm-vitest.json +1060 -203
- package/dist/esm.js +794 -285
- package/dist/esm.json +1051 -215
- package/dist/oxlint-base.d.ts +12 -0
- package/dist/oxlint-base.js +1368 -0
- package/dist/oxlint-browser-esm.d.ts +12 -0
- package/dist/oxlint-browser-esm.js +1379 -0
- package/dist/oxlint-browser.d.ts +12 -0
- package/dist/oxlint-browser.js +1373 -0
- package/dist/oxlint-esm-react-cypress.d.ts +12 -0
- package/dist/oxlint-esm-react-cypress.js +1425 -0
- package/dist/oxlint-esm-react-vitest-storybook.d.ts +12 -0
- package/dist/oxlint-esm-react-vitest-storybook.js +1484 -0
- package/dist/oxlint-esm-react-vitest.d.ts +12 -0
- package/dist/oxlint-esm-react-vitest.js +1450 -0
- package/dist/oxlint-esm-react.d.ts +12 -0
- package/dist/oxlint-esm-react.js +1425 -0
- package/dist/oxlint-esm-vitest.d.ts +12 -0
- package/dist/oxlint-esm-vitest.js +1399 -0
- package/dist/oxlint-esm.d.ts +12 -0
- package/dist/oxlint-esm.js +1374 -0
- package/dist/oxlint-react-cypress.d.ts +12 -0
- package/dist/oxlint-react-cypress.js +1425 -0
- package/dist/oxlint-react-vitest.d.ts +12 -0
- package/dist/oxlint-react-vitest.js +1450 -0
- package/dist/oxlint-react.d.ts +12 -0
- package/dist/oxlint-react.js +1425 -0
- package/dist/oxlint-vitest.d.ts +12 -0
- package/dist/oxlint-vitest.js +1393 -0
- package/dist/react-cypress.js +713 -185
- package/dist/react-cypress.json +1050 -203
- package/dist/react-vitest.js +823 -295
- package/dist/react-vitest.json +1059 -203
- package/dist/react.js +796 -287
- package/dist/react.json +1049 -214
- package/dist/vitest.js +819 -291
- package/dist/vitest.json +1059 -202
- package/package.json +40 -6
package/PACKAGES_V8.md
CHANGED
|
@@ -16,10 +16,9 @@ This table shows which packages are required for each configuration.
|
|
|
16
16
|
| eslint-plugin-import-x | 4.16.1 | 4.16.1 | 4.16.1 | 4.16.1 | 4.16.1 | 4.16.1 | 4.16.1 | 4.16.1 | 4.16.1 | 4.16.1 | 4.16.1 | 4.16.1 | 4.16.1 |
|
|
17
17
|
| eslint-plugin-jsdoc | 62.1.0 | 62.1.0 | 62.1.0 | 62.1.0 | 62.1.0 | 62.1.0 | 62.1.0 | 62.1.0 | 62.1.0 | 62.1.0 | 62.1.0 | 62.1.0 | 62.1.0 |
|
|
18
18
|
| eslint-plugin-no-barrel-files | 1.2.2 | 1.2.2 | 1.2.2 | 1.2.2 | 1.2.2 | 1.2.2 | 1.2.2 | 1.2.2 | 1.2.2 | 1.2.2 | 1.2.2 | 1.2.2 | 1.2.2 |
|
|
19
|
-
| eslint-plugin-no-only-tests |
|
|
19
|
+
| eslint-plugin-no-only-tests | | | | | | 2.6.0 | 2.6.0 | 2.6.0 | 2.6.0 | | 2.6.0 | 2.6.0 | 2.6.0 |
|
|
20
20
|
| eslint-plugin-react | | | | | 7.37.5 | 7.37.5 | 7.37.5 | 7.37.5 | | 7.37.5 | 7.37.5 | 7.37.5 | |
|
|
21
21
|
| eslint-plugin-react-hooks | | | | | 5.2.0 | 5.2.0 | 5.2.0 | 5.2.0 | | 5.2.0 | 5.2.0 | 5.2.0 | |
|
|
22
|
-
| eslint-plugin-regexp | 2.7.0 | 2.7.0 | 2.7.0 | 2.7.0 | 2.7.0 | 2.7.0 | 2.7.0 | 2.7.0 | 2.7.0 | 2.7.0 | 2.7.0 | 2.7.0 | 2.7.0 |
|
|
23
22
|
| 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 |
|
|
24
23
|
| eslint-plugin-storybook | | | | | | | | 10.1.11 | | | | | |
|
|
25
24
|
| react | | | | | | | | 19.1.1 | | | | | |
|
package/PACKAGES_V9.md
CHANGED
|
@@ -17,7 +17,7 @@ This table shows which packages are required for each configuration.
|
|
|
17
17
|
| eslint-plugin-import-x | 4.16.1 | 4.16.1 | 4.16.1 | 4.16.1 | 4.16.1 | 4.16.1 | 4.16.1 | 4.16.1 | 4.16.1 | 4.16.1 | 4.16.1 | 4.16.1 | 4.16.1 |
|
|
18
18
|
| eslint-plugin-jsdoc | 62.1.0 | 62.1.0 | 62.1.0 | 62.1.0 | 62.1.0 | 62.1.0 | 62.1.0 | 62.1.0 | 62.1.0 | 62.1.0 | 62.1.0 | 62.1.0 | 62.1.0 |
|
|
19
19
|
| eslint-plugin-no-barrel-files | 1.2.2 | 1.2.2 | 1.2.2 | 1.2.2 | 1.2.2 | 1.2.2 | 1.2.2 | 1.2.2 | 1.2.2 | 1.2.2 | 1.2.2 | 1.2.2 | 1.2.2 |
|
|
20
|
-
| eslint-plugin-no-only-tests |
|
|
20
|
+
| eslint-plugin-no-only-tests | | | | | | 3.3.0 | 3.3.0 | 3.3.0 | 3.3.0 | | 3.3.0 | 3.3.0 | 3.3.0 |
|
|
21
21
|
| eslint-plugin-react | | | | | 7.37.5 | 7.37.5 | 7.37.5 | 7.37.5 | | 7.37.5 | 7.37.5 | 7.37.5 | |
|
|
22
22
|
| eslint-plugin-react-hooks | | | | | 5.2.0 | 5.2.0 | 5.2.0 | 5.2.0 | | 5.2.0 | 5.2.0 | 5.2.0 | |
|
|
23
23
|
| 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 |
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# ESLint V9 OxLint Packages
|
|
2
|
+
|
|
3
|
+
This table shows which packages are required for each configuration.
|
|
4
|
+
|
|
5
|
+
| Package | oxlint-base | oxlint-browser | oxlint-browser-esm | oxlint-esm | oxlint-esm-react | oxlint-esm-react-cypress | oxlint-esm-react-vitest | oxlint-esm-react-vitest-storybook | oxlint-esm-vitest | oxlint-react | oxlint-react-cypress | oxlint-react-vitest | oxlint-vitest |
|
|
6
|
+
| --------------------------------- | ----------- | -------------- | ------------------ | ---------- | ---------------- | ------------------------ | ----------------------- | --------------------------------- | ----------------- | ------------ | -------------------- | ------------------- | ------------- |
|
|
7
|
+
| @eslint/js | 9.28.0 | 9.28.0 | 9.28.0 | 9.28.0 | 9.28.0 | 9.28.0 | 9.28.0 | 9.28.0 | 9.28.0 | 9.28.0 | 9.28.0 | 9.28.0 | 9.28.0 |
|
|
8
|
+
| @testing-library/dom | | | | | | | | 10.4.1 | | | | | |
|
|
9
|
+
| @typescript-eslint/eslint-plugin | 8.52.0 | 8.52.0 | 8.52.0 | 8.52.0 | 8.52.0 | 8.52.0 | 8.52.0 | 8.52.0 | 8.52.0 | 8.52.0 | 8.52.0 | 8.52.0 | 8.52.0 |
|
|
10
|
+
| @typescript-eslint/parser | 8.52.0 | 8.52.0 | 8.52.0 | 8.52.0 | 8.52.0 | 8.52.0 | 8.52.0 | 8.52.0 | 8.52.0 | 8.52.0 | 8.52.0 | 8.52.0 | 8.52.0 |
|
|
11
|
+
| @vitest/eslint-plugin | | | | | | | 1.6.6 | 1.6.6 | 1.6.6 | | | 1.6.6 | 1.6.6 |
|
|
12
|
+
| eslint-import-resolver-typescript | 4.4.4 | 4.4.4 | 4.4.4 | 4.4.4 | 4.4.4 | 4.4.4 | 4.4.4 | 4.4.4 | 4.4.4 | 4.4.4 | 4.4.4 | 4.4.4 | 4.4.4 |
|
|
13
|
+
| eslint-plugin-import-x | 4.16.1 | 4.16.1 | 4.16.1 | 4.16.1 | 4.16.1 | 4.16.1 | 4.16.1 | 4.16.1 | 4.16.1 | 4.16.1 | 4.16.1 | 4.16.1 | 4.16.1 |
|
|
14
|
+
| eslint-plugin-jsdoc | 62.1.0 | 62.1.0 | 62.1.0 | 62.1.0 | 62.1.0 | 62.1.0 | 62.1.0 | 62.1.0 | 62.1.0 | 62.1.0 | 62.1.0 | 62.1.0 | 62.1.0 |
|
|
15
|
+
| eslint-plugin-react | | | | | 7.37.5 | 7.37.5 | 7.37.5 | 7.37.5 | | 7.37.5 | 7.37.5 | 7.37.5 | |
|
|
16
|
+
| eslint-plugin-react-hooks | | | | | 5.2.0 | 5.2.0 | 5.2.0 | 5.2.0 | | 5.2.0 | 5.2.0 | 5.2.0 | |
|
|
17
|
+
| eslint-plugin-storybook | | | | | | | | 10.1.11 | | | | | |
|
|
18
|
+
| globals | 17.2.0 | 17.2.0 | 17.2.0 | 17.2.0 | 17.2.0 | 17.2.0 | 17.2.0 | 17.2.0 | 17.2.0 | 17.2.0 | 17.2.0 | 17.2.0 | 17.2.0 |
|
|
19
|
+
| react | | | | | | | | 19.1.1 | | | | | |
|
|
20
|
+
| react-dom | | | | | | | | 19.1.1 | | | | | |
|
|
21
|
+
| storybook | | | | | | | | ^10.1.11 | | | | | |
|
package/README.md
CHANGED
|
@@ -48,6 +48,28 @@ For a complete list of available variants and their required packages, see:
|
|
|
48
48
|
|
|
49
49
|
- [PACKAGES_V8.md](./PACKAGES_V8.md) - Package requirements for ESLint v8 configurations
|
|
50
50
|
- [PACKAGES_V9.md](./PACKAGES_V9.md) - Package requirements for ESLint v9 configurations
|
|
51
|
+
- [PACKAGES_V9_OXLINT.md](./PACKAGES_V9_OXLINT.md) - Package requirements for ESLint v9 + oxlint configurations
|
|
52
|
+
|
|
53
|
+
## OxLint Migration Variants
|
|
54
|
+
|
|
55
|
+
This package also provides `oxlint-*` variants designed to be used alongside `@gooddata/oxlint-config`. These variants have certain ESLint plugins disabled because those rules are handled by oxlint instead, providing faster linting performance.
|
|
56
|
+
|
|
57
|
+
**How it works:**
|
|
58
|
+
|
|
59
|
+
- **eslint-config `oxlint-*` variants** contain ESLint rules that oxlint does not support
|
|
60
|
+
- **oxlint-config** contains the equivalent rules handled by oxlint
|
|
61
|
+
- Together, they provide the same coverage as the standard ESLint variants, but with oxlint handling the bulk of the work for better performance
|
|
62
|
+
|
|
63
|
+
**Example usage:**
|
|
64
|
+
|
|
65
|
+
```typescript
|
|
66
|
+
// eslint.config.ts
|
|
67
|
+
import config from "@gooddata/eslint-config/oxlint-esm-react-vitest";
|
|
68
|
+
|
|
69
|
+
export default config;
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
See `@gooddata/oxlint-config` for the corresponding oxlint configuration and detailed setup instructions.
|
|
51
73
|
|
|
52
74
|
## ESLint v8 vs v9 Support
|
|
53
75
|
|